mongo::RelativePath Struct Reference

#include <paths.h>

List of all members.

Public Member Functions

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

Static Public Member Functions

static RelativePath fromFullPath (path f)
static RelativePath fromRelativePath (string f)

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.

Definition at line 32 of file paths.h.


Member Function Documentation

string mongo::RelativePath::asFullPath (  )  const [inline]

Definition at line 71 of file paths.h.

bool mongo::RelativePath::empty (  )  const [inline]

Definition at line 35 of file paths.h.

static RelativePath mongo::RelativePath::fromFullPath ( path  f  )  [inline, static]

from a full path

Definition at line 44 of file paths.h.

static RelativePath mongo::RelativePath::fromRelativePath ( string  f  )  [inline, static]

Definition at line 37 of file paths.h.

bool mongo::RelativePath::operator!= ( const RelativePath r  )  const [inline]

Definition at line 67 of file paths.h.

bool mongo::RelativePath::operator< ( const RelativePath r  )  const [inline]

Definition at line 69 of file paths.h.

bool mongo::RelativePath::operator== ( const RelativePath r  )  const [inline]

Definition at line 68 of file paths.h.

string mongo::RelativePath::toString (  )  const [inline]

Definition at line 65 of file paths.h.


Member Data Documentation

Definition at line 33 of file paths.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:57 2013