#include <namespace.h>
Public Types | |
enum | MaxNsLenValue { MaxNsLen = 128 } |
Public Member Functions | |
string | extraName (int i) const |
string | getSisterNS (const char *local) const |
bool | hasDollarSign () const |
int | hash () const |
bool | isExtra () const |
void | kill () |
Namespace (const char *ns) | |
operator string () const | |
Namespace & | operator= (const char *ns) |
bool | operator== (const Namespace &r) const |
bool | operator== (const char *r) const |
string | toString () const |
Private Attributes | |
char | buf [MaxNsLen] |
Definition at line 60 of file namespace.h.
Definition at line 84 of file namespace.h.
mongo::Namespace::Namespace | ( | const char * | ns | ) | [inline, explicit] |
Definition at line 62 of file namespace.h.
string mongo::Namespace::extraName | ( | int | i | ) | const [inline] |
Definition at line 41 of file namespace-inl.h.
string mongo::Namespace::getSisterNS | ( | const char * | local | ) | const [inline] |
( foo.bar ).getSisterNS( "blah" ) == foo.blah perhaps this should move to the NamespaceString helper?
Definition at line 65 of file namespace-inl.h.
bool mongo::Namespace::hasDollarSign | ( | ) | const [inline] |
Definition at line 65 of file namespace.h.
int mongo::Namespace::hash | ( | ) | const [inline] |
Definition at line 54 of file namespace-inl.h.
bool mongo::Namespace::isExtra | ( | ) | const [inline] |
Definition at line 49 of file namespace-inl.h.
void mongo::Namespace::kill | ( | ) | [inline] |
Definition at line 66 of file namespace.h.
mongo::Namespace::operator string | ( | ) | const [inline] |
Definition at line 71 of file namespace.h.
Namespace & mongo::Namespace::operator= | ( | const char * | ns | ) | [inline] |
Definition at line 25 of file namespace-inl.h.
bool mongo::Namespace::operator== | ( | const Namespace & | r | ) | const [inline] |
Definition at line 68 of file namespace.h.
bool mongo::Namespace::operator== | ( | const char * | r | ) | const [inline] |
Definition at line 67 of file namespace.h.
string mongo::Namespace::toString | ( | ) | const [inline] |
Definition at line 70 of file namespace.h.
char mongo::Namespace::buf[MaxNsLen] [private] |
Definition at line 86 of file namespace.h.