MongoType
MongoDB Collection Data Dump with BSON Types
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Parameters.hpp File Reference

MongoType Parameter Parsing and Access. More...

#include <mongotype.hpp>
Include dependency graph for Parameters.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mongotype::EnumMapper< E >
 
class  mongotype::Parameters
 

Namespaces

namespace  mongotype
 

Macros

#define DEFAULT_CONFIGURATION_FILE   "~/.mongotype"
 
#define DEFAULT_HOST   "localhost"
 
#define DEFAULT_PORT   27017
 

Enumerations

enum  mongotype::StyleParam {
  mongotype::STYLE_UNDEF = -1, mongotype::STYLE_DOTTED = 0, mongotype::STYLE_TREE = 1, mongotype::STYLE_JSON = 2,
  mongotype::STYLE_JSONPACKED = 3
}
 
enum  mongotype::TypeParamMask {
  mongotype::TYPE_UNDEF = -1, mongotype::TYPE_NONE = 0, mongotype::TYPE_NAME = 1, mongotype::TYPE_DESC = 2,
  mongotype::TYPE_CODE = 4, mongotype::TYPE_ALL = 7
}
 

Detailed Description

MongoType Parameter Parsing and Access.

  • Uses boost::program_options for parsing of command line options.
  • Provides a read-only interface to parsed parameters.
Author
Mark Deazley <mdeaz.nosp@m.ley@.nosp@m.gmail.nosp@m..com>

License: Free Software Foundation’s GNU AGPL v3.0.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not, see http://www.gnu.org/licenses/ .

Creation Date: January 21, 2014 Eclipse Project: MongoType

Definition in file Parameters.hpp.

Macro Definition Documentation

#define DEFAULT_CONFIGURATION_FILE   "~/.mongotype"

Definition at line 37 of file Parameters.hpp.

Referenced by mongotype::Parameters::parse().

#define DEFAULT_HOST   "localhost"

Definition at line 38 of file Parameters.hpp.

Referenced by mongotype::Parameters::parse().

#define DEFAULT_PORT   27017

Definition at line 39 of file Parameters.hpp.

Referenced by mongotype::Parameters::parse().