|
MongoType
MongoDB Collection Data Dump with BSON Types
|
#include <Parameters.hpp>
Command Line Parameter parser and read-only access member functions.
Definition at line 98 of file Parameters.hpp.

Public Member Functions | |
| Parameters () | |
| virtual | ~Parameters () |
| int | parse (int ac, char *av[]) |
| bool | isValid () |
| bool | isDebug () |
| bool | isStackDebug () |
| const string & | getConfigFile () const |
| const string & | getDbCollection () const |
| const string & | getHost () const |
| int | getPort () const |
| bool | isScalarFirst () const |
| StyleParam | getStyle () const |
| TypeParamMask | getTypeMask () const |
Private Attributes | |
| bool | valid |
| string | config_file |
| string | host |
| int | port |
| bool | scalarFirst |
| StyleParam | style |
| TypeParamMask | typeMask |
| string | dbCollection |
| boost::program_options::variables_map | vm |
Friends | |
| ostream & | operator<< (ostream &os, Parameters &p) |
| mongotype::Parameters::Parameters | ( | ) |
Definition at line 57 of file Parameters.cpp.
References mongotype::mapperInit().

|
virtual |
Definition at line 61 of file Parameters.cpp.
|
inline |
Definition at line 125 of file Parameters.hpp.
References config_file.
|
inline |
Definition at line 129 of file Parameters.hpp.
References dbCollection.
Referenced by mongotype::dumpCollection().

|
inline |
Definition at line 133 of file Parameters.hpp.
References host.
Referenced by mongotype::dumpCollection().

|
inline |
Definition at line 137 of file Parameters.hpp.
References port.
Referenced by mongotype::dumpCollection().

|
inline |
Definition at line 153 of file Parameters.hpp.
References style.
Referenced by mongotype::dumpCollection().

|
inline |
Definition at line 157 of file Parameters.hpp.
References typeMask.
Referenced by mongotype::BSONTypeFormatter::to_string().

|
inline |
Definition at line 121 of file Parameters.hpp.
References vm.
Referenced by mongotype::dumpCollection(), parse(), and mongotype::JSONDump::tstr().

|
inline |
Definition at line 149 of file Parameters.hpp.
References scalarFirst.
|
inline |
Definition at line 123 of file Parameters.hpp.
References vm.
Referenced by mongotype::JSONDump::nextLine().

|
inline |
Definition at line 119 of file Parameters.hpp.
References valid.
| int mongotype::Parameters::parse | ( | int | ac, |
| char * | av[] | ||
| ) |
Definition at line 92 of file Parameters.cpp.
References config_file, dbCollection, DEFAULT_CONFIGURATION_FILE, DEFAULT_HOST, DEFAULT_PORT, host, isDebug(), port, scalarFirst, style, mongotype::STYLE_DOTTED, mongotype::TYPE_ALL, typeMask, valid, mongotype::VERSION, and vm.
Referenced by main().


|
friend |
Definition at line 196 of file Parameters.cpp.
|
private |
Definition at line 100 of file Parameters.hpp.
Referenced by getConfigFile(), mongotype::operator<<(), and parse().
|
private |
Definition at line 106 of file Parameters.hpp.
Referenced by getDbCollection(), mongotype::operator<<(), and parse().
|
private |
Definition at line 101 of file Parameters.hpp.
Referenced by getHost(), mongotype::operator<<(), and parse().
|
private |
Definition at line 102 of file Parameters.hpp.
Referenced by getPort(), mongotype::operator<<(), and parse().
|
private |
Definition at line 103 of file Parameters.hpp.
Referenced by isScalarFirst(), mongotype::operator<<(), and parse().
|
private |
Definition at line 104 of file Parameters.hpp.
Referenced by getStyle(), mongotype::operator<<(), and parse().
|
private |
Definition at line 105 of file Parameters.hpp.
Referenced by getTypeMask(), mongotype::operator<<(), and parse().
|
private |
Definition at line 99 of file Parameters.hpp.
Referenced by isValid(), mongotype::operator<<(), and parse().
|
private |
Definition at line 110 of file Parameters.hpp.
Referenced by isDebug(), isStackDebug(), and parse().