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/pub__report_8cpp_source.html below:

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

70  void Init

()

override

;

90

arg_desc->SetUsageContext(

GetArguments

().GetProgramBasename(),

"Publications Report"

);

96

arg_desc->AddDefaultKey(

"max-date-check"

,

"MaxDateCheck"

,

"Maximal amount of years from the publication date"

,

CArgDescriptions::eInteger

,

"1"

);

108  in

= &args[

"i"

].AsInputFile();

120  out

= &args[

"o"

].AsOutputFile();

131  if

(args[

"max-date-check"

].

HasValue

()) {

132

ret = args[

"max-date-check"

].AsInteger();

141  return

args[

"nohydra"

].AsBoolean();

146  return GetArgs

()[

"Q"

].AsString() ==

"j"

;

151  return GetArgs

()[

"Q"

].AsString() ==

"u"

;

167

shared_ptr<CBaseReport> report;

174

report = journal_report;

179

report = unpub_report;

192

set<TTypeInfo> known_types;

193

known_types.insert(CBioseq_set::GetTypeInfo());

194

known_types.insert(CSeq_submit::GetTypeInfo());

195

known_types.insert(CSeq_entry::GetTypeInfo());

197

set<TTypeInfo> types_found = in_obj->GuessDataType(known_types);

199  if

(types_found.size() == 1) {

200  const TTypeInfo

& objtype = *(types_found.begin());

201

strObjType = objtype->

GetName

();

202  if

(strObjType ==

"Bioseq-set"

) {

204

}

else if

(strObjType ==

"Seq-submit"

) {

206

}

else if

(strObjType ==

"Seq-entry"

) {

214  if

(strObjType.empty()) {

218

report->CompleteReport();

User-defined methods of the data storage class.

CTypeInfo class contains all information about C++ types (both basic and classes): members and layout...

bool IsJournalReport() const

CNcbiOstream * GetOutputStream()

bool GetEutilsOnly() const

int GetMaxDateCheck() const

int Run() override

Run the application.

CNcbiIstream * GetInputStream()

ESerialDataFormat GetSerialDataFormat() const

bool IsUnpublishedReport() const

void Init() override

Initialize the application.

std::ofstream out("events_result.xml")

main entry point for tests

virtual const CArgs & GetArgs(void) const

Get parsed command line arguments.

int AppMain(int argc, const char *const *argv, const char *const *envp=0, EAppDiagStream diag=eDS_Default, const char *conf=NcbiEmptyCStr, const string &name=NcbiEmptyString)

Main function (entry point) for the NCBI application.

virtual void SetupArgDescriptions(CArgDescriptions *arg_desc)

Setup the command line argument descriptions.

const CNcbiArguments & GetArguments(void) const

Get the application's cached unprocessed command-line arguments.

void SetVersion(const CVersionInfo &version)

Set the version number for the program.

@ fHidden

Hide it in Usage.

@ eInputFile

Name of file (must exist and be readable)

@ eBoolean

{'true', 't', 'false', 'f'}, case-insensitive

@ eString

An arbitrary string.

@ eOutputFile

Name of file (must be writable)

@ eInteger

Convertible into an integer number (int or Int8)

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

ESerialDataFormat

Data file format.

@ eSerial_AsnText

ASN.1 text.

@ eSerial_AsnBinary

ASN.1 binary.

void SetLocalSkipHook(CObjectIStream &stream, CSkipObjectHook *hook) const

Set local (for the specified stream) skip hook.

static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)

Create serial object reader and attach it to an input stream.

void Reset(void)

Reset reference object.

IO_PREFIX::ostream CNcbiOstream

Portable alias for ostream.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

const string & GetName(void) const

Get name of this type.

The blob sat and sat key Both must be positive integers</td > n< td > Non empty string The interpretation of the blob id depends on a processor Cassandra n processor expects the following format

#define NCBI_SC_VERSION_PROXY

#define NCBI_TEAMCITY_BUILD_NUMBER_PROXY

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

std::istream & in(std::istream &in_, double &x_)

int NcbiSys_main(int argc, ncbi::TXChar *argv[])


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