![]() |
Storage Engine API
|
this is very much like a boost::path. More...
#include <paths.h>
this is very much like a boost::path.
however, we define a new type to get some type checking. if you want to say 'my param MUST be a relative path", use this.
Public Member Functions | |
bool | empty () const |
std::string | toString () const |
bool | operator!= (const RelativePath &r) const |
bool | operator== (const RelativePath &r) const |
bool | operator< (const RelativePath &r) const |
std::string | asFullPath () const |
Static Public Member Functions | |
static RelativePath | fromRelativePath (const std::string &f) |
static RelativePath | fromFullPath (boost::filesystem::path dbpath, boost::filesystem::path f) |
Returns path relative to 'dbpath' from a full path 'f'. More... | |
Public Attributes | |
std::string | _p |
|
inline |
|
inline |
|
static |
Returns path relative to 'dbpath' from a full path 'f'.
from a full path
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
std::string mongo::RelativePath::_p |