openMSX
Public Member Functions | Protected Attributes | List of all members
openmsx::FileContext Class Reference

#include <FileContext.hh>

Inheritance diagram for openmsx::FileContext:
Inheritance graph
[legend]
Collaboration diagram for openmsx::FileContext:
Collaboration graph
[legend]

Public Member Functions

const std::string resolve (string_ref filename) const
 
const std::string resolveCreate (string_ref filename) const
 
std::vector< std::string > getPaths () const
 
bool isUserContext () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Protected Attributes

std::vector< std::string > paths
 
std::vector< std::string > savePaths
 

Detailed Description

Definition at line 9 of file FileContext.hh.

Member Function Documentation

vector< string > openmsx::FileContext::getPaths ( ) const

Definition at line 102 of file FileContext.cc.

References paths.

Referenced by openmsx::RomDatabase::RomDatabase().

bool openmsx::FileContext::isUserContext ( ) const

Definition at line 107 of file FileContext.cc.

References contains(), and paths.

const string openmsx::FileContext::resolve ( string_ref  filename) const
const string openmsx::FileContext::resolveCreate ( string_ref  filename) const
template<typename Archive >
void openmsx::FileContext::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 174 of file FileContext.cc.

References paths, and savePaths.

Member Data Documentation

std::vector<std::string> openmsx::FileContext::paths
protected
std::vector<std::string> openmsx::FileContext::savePaths
protected

The documentation for this class was generated from the following files: