NCBI C++ ToolKit
Classes | Macros | Typedefs | Variables
clparser.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbiapp_api.hpp>
#include <connect/services/clparser.hpp>
#include <algorithm>
+ Include dependency graph for clparser.cpp:

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< stringTNameVariantList
 
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"
 

Macro Definition Documentation

◆ COMMAND_OPT_ID

#define COMMAND_OPT_ID   -3

Definition at line 42 of file clparser.cpp.

◆ DEFAULT_CMD_DESCR_INDENT

#define DEFAULT_CMD_DESCR_INDENT   24

Definition at line 49 of file clparser.cpp.

◆ DEFAULT_HELP_TEXT_WIDTH

#define DEFAULT_HELP_TEXT_WIDTH   72

Definition at line 48 of file clparser.cpp.

◆ DEFAULT_OPT_DESCR_INDENT

#define DEFAULT_OPT_DESCR_INDENT   32

Definition at line 50 of file clparser.cpp.

◆ HELP_CMD_ID

#define HELP_CMD_ID   -1

Definition at line 44 of file clparser.cpp.

◆ HELP_OPT_ID

#define HELP_OPT_ID   -2

Definition at line 41 of file clparser.cpp.

◆ UNSPECIFIED_CATEGORY_ID

#define UNSPECIFIED_CATEGORY_ID   -1

Definition at line 46 of file clparser.cpp.

◆ VERSION_OPT_ID

#define VERSION_OPT_ID   -1

Definition at line 40 of file clparser.cpp.

Typedef Documentation

◆ TCommandInfoList

Definition at line 148 of file clparser.cpp.

◆ TNameVariantList

typedef list<string> TNameVariantList

Definition at line 52 of file clparser.cpp.

◆ TOptionInfoList

Definition at line 105 of file clparser.cpp.

◆ TPositionalArgumentList

typedef list<const char*> TPositionalArgumentList

Definition at line 158 of file clparser.cpp.

Variable Documentation

◆ s_Help

const char s_Help[] = "help"
static

◆ s_Version

const char s_Version[] = "version"
static
Modified on Sun Mar 03 03:11:44 2024 by modify_doxy.py rev. 669887