MongoDB  2.7.0
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
mongo::RelativePath Struct Reference

this is very much like a boost::path. More...

#include <paths.h>

Public Member Functions

bool empty () const
 
string toString () const
 
bool operator!= (const RelativePath &r) const
 
bool operator== (const RelativePath &r) const
 
bool operator< (const RelativePath &r) const
 
string asFullPath () const
 

Static Public Member Functions

static RelativePath fromRelativePath (const std::string &f)
 
static RelativePath fromFullPath (boost::filesystem::path f)
 from a full path
 

Public Attributes

string _p
 

Detailed Description

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.


The documentation for this struct was generated from the following file: