#include <ncbi_pch.hpp>
#include <corelib/ncbiapp.hpp>
#include <corelib/ncbiargs.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/error_codes.hpp>
#include <algorithm>
#include "ncbiargs_p.hpp"
Include dependency graph for ncbiargs.cpp:

Go to the source code of this file.
Classes | |
| class | CArgDesc_NameOnly |
Defines | |
| #define | NCBI_USE_ERRCODE_X Corelib_Config |
| #define | NCBIARGS__CPP |
| #define | THROW_CArg_NoValue |
Functions | |
| string | s_ArgExptMsg (const string &name, const string &what, const string &attr) |
| void | s_WriteEscapedStr (CNcbiOstream &out, const char *s) |
| void | s_WriteXmlLine (CNcbiOstream &out, const string &tag, const string &data) |
| bool | operator< (const CRef< CArgValue > &x, const CRef< CArgValue > &y) |
| bool | s_IsKey (const CArgDesc &arg) |
| bool | s_IsPositional (const CArgDesc &arg) |
| bool | s_IsOptional (const CArgDesc &arg) |
| bool | s_IsFlag (const CArgDesc &arg) |
| bool | s_IsAlias (const CArgDesc &arg) |
| bool | operator< (const AutoPtr< CArgDesc > &x, const AutoPtr< CArgDesc > &y) |
| string | s_KeyUsageSynopsis (const string &name, const string &synopsis, bool name_only) |
| static string | s_ComposeNameExtra (size_t idx) |
| bool | s_IsArgNameChar (char c) |
| static void | s_PrintCommentBody (list< string > &arr, const string &s, SIZE_TYPE width) |
| bool | s_IsAllowedSymbol (unsigned char ch, CArgAllow_Symbols::ESymbolClass symbol_class, const string &symbol_set) |
| static string | s_GetUsageSymbol (CArgAllow_Symbols::ESymbolClass symbol_class, const string &symbol_set) |
| static string | s_GetSymbolClass (CArgAllow_Symbols::ESymbolClass symbol_class) |
Variables | |
| static const char * | s_AutoHelp = "h" |
| static const char * | s_AutoHelpFull = "help" |
| static const char * | s_AutoHelpXml = "xmlhelp" |
| static const char * | s_ExtraName = "...." |
|
|
Definition at line 51 of file ncbiargs.cpp. |
|
|
Definition at line 61 of file ncbiargs.cpp. |
|
|
Value: NCBI_THROW(CArgException,eNoValue, s_ArgExptMsg(GetName(), \ "Optional argument must have a default value", "NULL")); Definition at line 174 of file ncbiargs.cpp. Referenced by CArg_NoValue::AsBoolean(), CArg_NoValue::AsDouble(), CArg_NoValue::AsInputFile(), CArg_NoValue::AsInt8(), CArg_NoValue::AsInteger(), CArg_NoValue::AsOutputFile(), CArg_NoValue::AsString(), and CArg_NoValue::CloseFile(). |
|
||||||||||||
|
Definition at line 612 of file ncbiargs.cpp. |
|
||||||||||||
|
Definition at line 151 of file ncbiargs.cpp. |
|
||||||||||||||||
|
|
Definition at line 1293 of file ncbiargs.cpp. References NStr::UInt8ToString(). Referenced by CArgs::Add(), and CArgs::operator[](). |
|
|
||||||||||||
|
|
Definition at line 536 of file ncbiargs.cpp. Referenced by CArgDescriptions::x_AddDesc(), and CArgDescriptions::x_PrintAliasesAsXml(). |
|
||||||||||||||||
|
|
Definition at line 1299 of file ncbiargs.cpp. Referenced by CArgs::x_Find(). |
|
|
Definition at line 530 of file ncbiargs.cpp. Referenced by CArgDescriptions::AddNegatedFlagAlias(), CArgDesc::PrintXml(), CArgDescriptions::SetArgsType(), and CArgDescriptions::x_AddDesc(). |
|
|
Definition at line 512 of file ncbiargs.cpp. Referenced by CArgDesc::PrintXml(), s_IsPositional(), and CArgDescriptions::x_AddDesc(). |
|
|
Definition at line 524 of file ncbiargs.cpp. Referenced by CArgDesc::PrintXml(), and CArgDescriptions::x_AddDesc(). |
|
|
Definition at line 518 of file ncbiargs.cpp. References s_IsKey(). Referenced by CArgDesc::PrintXml(). |
|
||||||||||||||||
|
Definition at line 1147 of file ncbiargs.cpp. Referenced by CArgDesc_KeyDef::GetUsageSynopsis(), CArgDesc_KeyOpt::GetUsageSynopsis(), and CArgDesc_Key::GetUsageSynopsis(). |
|
||||||||||||||||
|
Definition at line 2413 of file ncbiargs.cpp. References NStr::fWrap_Hyphenate, and NStr::Wrap(). |
|
||||||||||||
|
Definition at line 87 of file ncbiargs.cpp. References NStr::XmlEncode(). Referenced by CArgDesc::PrintXml(), and s_WriteXmlLine(). |
|
||||||||||||||||
|
Definition at line 92 of file ncbiargs.cpp. References eEncoding_Unknown, and s_WriteEscapedStr(). Referenced by CArgAllow_Doubles::PrintUsageXml(), CArgAllow_Int8s::PrintUsageXml(), CArgAllow_Strings::PrintUsageXml(), CArgAllow_String::PrintUsageXml(), CArgAllow_Symbols::PrintUsageXml(), CArgDescriptions::PrintUsageXml(), CArgDesc::PrintXml(), and CArgDescriptions::x_PrintAliasesAsXml(). |
|
|
Definition at line 70 of file ncbiargs.cpp. Referenced by CArgDescriptions::CArgDescriptions(), CArgDescriptions::PrintUsage(), CArgDescriptions::SetArgsType(), and CArgDescriptions::x_CheckAutoHelp(). |
|
|
Definition at line 71 of file ncbiargs.cpp. Referenced by CArgDescriptions::CArgDescriptions(), CArgDescriptions::PrintUsage(), and CArgDescriptions::SetArgsType(). |
|
|
Definition at line 72 of file ncbiargs.cpp. Referenced by CArgDescriptions::CArgDescriptions(), and CArgDescriptions::SetArgsType(). |
|
|
Definition at line 73 of file ncbiargs.cpp. Referenced by CArgDesc_Pos::GetUsageSynopsis(), and s_ArgExptMsg(). |
1.4.6
Modified on Mon Dec 07 16:21:45 2009 by modify_doxy.py rev. 173732