Go to the SVN repository for this file.
38 using namespace ncbi;
42 if(args[
"disable-huge"]) {
48 stringfilename = args[
"i"].AsString();
58 returncfg.
GetBool(
"asnvalidate",
"UseHugeFiles",
true);
63mQuiet = args[
"quiet"] && args[
"quiet"].AsBoolean();
65mLowCutoff =
static_cast<EDiagSev>(args[
"Q"].AsInteger() - 1);
66mHighCutoff =
static_cast<EDiagSev>(args[
"P"].AsInteger() - 1);
67mReportLevel =
static_cast<EDiagSev>(args[
"R"].AsInteger() - 1);
68mNumInstances = reg.
GetInt(
"asnvalidate",
"NumInstances", 10);
70mBatch = args[
"batch"];
71 stringobjectType = args[
"a"].AsString();
72 if(!objectType.empty()) {
73 if(objectType ==
"t"|| objectType ==
"u") {
75cerr <<
"Warning: -a t and -a u are deprecated; use -batch instead."<< endl;
78cerr <<
"Warning: -a is deprecated; ASN.1 type is now autodetected."<< endl;
83mOnlyError = args[
"E"].AsString();
85mOnlyAnnots = args[
"annot"];
90m_Options = objects::validator::CValidatorArgUtil::ArgsToValidatorOptions(args);
static bool s_IsHugeMode(const CArgs &args, const CNcbiRegistry &cfg)
CAppConfig(const CArgs &args, const CNcbiRegistry ®)
@ eFollowLinks
Follow symbolic links.
EDiagSev
Severity level for the posted diagnostics.
virtual bool GetBool(const string §ion, 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 §ion, 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