#include "Component/CmdlineOptionManager.H"
#include "Component/GlobalOpts.H"
#include "Component/ModelOptionDef.H"
#include "Component/ModelParamBase.H"
#include "Util/Assert.H"
#include "Util/StringConversions.H"
#include "Util/StringUtil.H"
#include "Util/log.H"
#include "Util/sformat.H"
#include "rutz/demangle.h"
#include "rutz/error_context.h"
#include "rutz/pipe.h"
#include "rutz/sfmt.h"
#include <iostream>
#include <list>
#include <map>
#include <algorithm>
#include <string>
#include <sys/ioctl.h>
#include <unistd.h>
#include <vector>
Go to the source code of this file.
Classes | |
struct | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptionInfo |
OptionInfo holds mutable information related to a ModelOptionDef. More... | |
struct | CmdlineOptionManager::Impl |
Typedefs | |
typedef std::list < OptionedModelParam * > | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::ParamList |
typedef std::map< const ModelOptionDef *, OptionInfo > | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::OptMapType |
typedef std::map< const ModelOptionCateg *, std::map < int, string > > | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::CategMap |
typedef std::pair< const ModelOptionCateg *, std::map < int, string > > | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::CategoryInfo |
Functions | |
string | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::formatHelpString (const string &h, const string::size_type spc1, const string::size_type spc2, const string::size_type ncols) |
std::string | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::makeReadableShortopt (const char c) |
void | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::assertNoCollision (const ModelOptionDef *opt1, const ModelOptionDef *opt2) |
void | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::assertNoOptionCollisions (const OptMapType &opts, const ModelOptionDef *newopt) |
void | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::showErrMsg (const OptMapType &opts, const std::string &context, const std::string &errormsg, const std::string &err2=std::string(), const bool spellcheck=false) |
bool | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::cmpcateg (const CategoryInfo &v1, const CategoryInfo &v2) |
void | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::printFullHelp (const OptMapType &opts, std::ostream &out) |
void | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::printFullHelp (const OptMapType &opts) |
OptionInfo & | dummy_namespace_to_avoid_gcc411_bug_CmdlineOptionManager_C::findOptionInfo (OptMapType &opts, const ModelOptionDef *def) |
OptionManager implementation for command-line parsing
Definition in file CmdlineOptionManager.C.