NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp_api.hpp>
#include <connect/services/clparser.hpp>
#include <algorithm>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
struct | SOptionOrCommandInfo |
struct | SOptionInfo |
struct | SCommonParts |
struct | SCommandInfo |
struct | SCategoryInfo |
struct | SCommandLineParserImpl |
Macros | |
#define | VERSION_OPT_ID -1 |
#define | HELP_OPT_ID -2 |
#define | COMMAND_OPT_ID -3 |
#define | HELP_CMD_ID -1 |
#define | UNSPECIFIED_CATEGORY_ID -1 |
#define | DEFAULT_HELP_TEXT_WIDTH 72 |
#define | DEFAULT_CMD_DESCR_INDENT 24 |
#define | DEFAULT_OPT_DESCR_INDENT 32 |
Typedefs | |
typedef list< string > | TNameVariantList |
typedef list< const SOptionInfo * > | TOptionInfoList |
typedef list< const SCommandInfo * > | TCommandInfoList |
typedef list< const char * > | TPositionalArgumentList |
Variables | |
static const char | s_Help [] = "help" |
static const char | s_Version [] = "version" |
#define COMMAND_OPT_ID -3 |
Definition at line 42 of file clparser.cpp.
#define DEFAULT_CMD_DESCR_INDENT 24 |
Definition at line 49 of file clparser.cpp.
#define DEFAULT_HELP_TEXT_WIDTH 72 |
Definition at line 48 of file clparser.cpp.
#define DEFAULT_OPT_DESCR_INDENT 32 |
Definition at line 50 of file clparser.cpp.
#define HELP_CMD_ID -1 |
Definition at line 44 of file clparser.cpp.
#define HELP_OPT_ID -2 |
Definition at line 41 of file clparser.cpp.
#define UNSPECIFIED_CATEGORY_ID -1 |
Definition at line 46 of file clparser.cpp.
#define VERSION_OPT_ID -1 |
Definition at line 40 of file clparser.cpp.
typedef list<const SCommandInfo*> TCommandInfoList |
Definition at line 148 of file clparser.cpp.
typedef list<string> TNameVariantList |
Definition at line 52 of file clparser.cpp.
typedef list<const SOptionInfo*> TOptionInfoList |
Definition at line 105 of file clparser.cpp.
typedef list<const char*> TPositionalArgumentList |
Definition at line 158 of file clparser.cpp.
|
static |
Definition at line 209 of file clparser.cpp.
Referenced by SCommandLineParserImpl::Help(), SCommandLineParserImpl::ParseAndValidate(), and SCommandLineParserImpl::SCommandLineParserImpl().
|
static |
Definition at line 210 of file clparser.cpp.
Referenced by g_VersionStr(), CSplign::s_GetVersion(), and SCommandLineParserImpl::SCommandLineParserImpl().