|
MongoType
MongoDB Collection Data Dump with BSON Types
|
Store the name and description of a single BSON data type. More...
#include <BSONTypeMap.hpp>
Store the name and description of a single BSON data type.
Used as the elements of a lookup table.
Definition at line 43 of file BSONTypeMap.hpp.
Public Member Functions | |
| BSONTypeElement (const char *pname="", const char *pdescription="") | |
| const string & | getName () const |
| const string & | getDesc () const |
Private Attributes | |
| string | name |
| string | description |
|
inline |
Default Constructor
Definition at line 57 of file BSONTypeMap.hpp.
|
inline |
Fetch the desciption.
Definition at line 73 of file BSONTypeMap.hpp.
References description.
Referenced by mongotype::BSONTypeFormatter::to_string(), and mongotype::BSONTypeMap::to_string().

|
inline |
Fetch the name.
Definition at line 65 of file BSONTypeMap.hpp.
References name.
Referenced by mongotype::BSONTypeFormatter::to_string(), and mongotype::BSONTypeMap::to_string().

|
private |
Additional comments and information regarding the BSON type.
Definition at line 51 of file BSONTypeMap.hpp.
Referenced by getDesc().
|
private |
The BSON type name from the BSON Non-terminals definition.
Definition at line 47 of file BSONTypeMap.hpp.
Referenced by getName().