A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/app__config_8cpp_source.html below:

NCBI C++ ToolKit: src/app/asnval/app_config.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

38 using namespace ncbi

;

42  if

(args[

"disable-huge"

]) {

48  string

filename = args[

"i"

].AsString();

58  return

cfg.

GetBool

(

"asnvalidate"

,

"UseHugeFiles"

,

true

);

63

mQuiet = args[

"quiet"

] && args[

"quiet"

].AsBoolean();

65

mLowCutoff =

static_cast<EDiagSev>

(args[

"Q"

].AsInteger() - 1);

66

mHighCutoff =

static_cast<EDiagSev>

(args[

"P"

].AsInteger() - 1);

67

mReportLevel =

static_cast<EDiagSev>

(args[

"R"

].AsInteger() - 1);

68

mNumInstances = reg.

GetInt

(

"asnvalidate"

,

"NumInstances"

, 10);

70

mBatch = args[

"batch"

];

71  string

objectType = args[

"a"

].AsString();

72  if

(!objectType.empty()) {

73  if

(objectType ==

"t"

|| objectType ==

"u"

) {

75

cerr <<

"Warning: -a t and -a u are deprecated; use -batch instead."

<< endl;

78

cerr <<

"Warning: -a is deprecated; ASN.1 type is now autodetected."

<< endl;

83

mOnlyError = args[

"E"

].AsString();

85

mOnlyAnnots = args[

"annot"

];

90

m_Options = objects::validator::CValidatorArgUtil::ArgsToValidatorOptions(args);

static bool s_IsHugeMode(const CArgs &args, const CNcbiRegistry &cfg)

CAppConfig(const CArgs &args, const CNcbiRegistry &reg)

@ eFollowLinks

Follow symbolic links.

EDiagSev

Severity level for the posted diagnostics.

virtual bool GetBool(const string &section, const string &name, bool default_value, TFlags flags=0, EErrAction err_action=eThrow) const

Get boolean value of specified parameter name.

virtual int GetInt(const string &section, const string &name, int default_value, TFlags flags=0, EErrAction err_action=eThrow) const

Get integer value of specified parameter name.

static bool IsBlank(const CTempString str, SIZE_TYPE pos=0)

Check if a string is blank (has no text).

Magic spell ;-) needed for some weird compilers... very empiric.

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4