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

NCBI C++ ToolKit: src/sample/app/serial/bss_info.cpp Source File

140  return

bi_stack.

Get

();

210  string

seqid_str(

""

);

212  for

( ; isc; ++isc ) {

218  if

(seqid_str !=

""

) {

267  for

( ; isc; ++isc ) {

280  if

(db_str ==

"taxon"

) {

339  if

(name ==

"asn"

) {

341

}

else if

(name ==

"asnb"

) {

343

}

else if

(name ==

"xml"

) {

345

}

else if

(name ==

"json"

) {

378

<< taxid <<

"]"

<< endl;

387  virtual void Init

(

void

);

388  virtual int Run

(

void

);

398

arg_desc->SetUsageContext

400  "Bioseq-set info extractor"

);

404

arg_desc->AddDefaultKey

405

(

"i"

,

"InputFile"

,

406  "name of input file"

,

408

arg_desc->AddDefaultKey(

"ifmt"

,

"InputFormat"

,

"format of input file"

,

410

arg_desc->SetConstraint

426

args[

"i"

].AsInputFile()));

448  in

->SetPathSkipMemberHook(

"*.descr.source.org.db"

,

450  in

->SetPathSkipMemberHook(

"*.descr.org.db"

,

456  in

->SetPathSkipObjectHook(

"*.descr.title"

,

new CHookDefline

());

466 int main

(

int

argc,

const char

* argv[])

static TBioseqInfoStack & GetBioseqInfoStack()

stack< SBioseqInfo > TBioseqInfoStack

int main(int argc, const char *argv[])

static ESerialDataFormat s_GetFormat(const string &name)

static void s_Report(void)

@ eBioseqContextBioseqSet

virtual void Init(void)

Initialize the application.

virtual int Run(void)

Run the application.

CHookBioseqContext(EBioseqContext context)

virtual void SkipObject(CObjectIStream &stream, const CObjectTypeInfo &info)

virtual void SkipClassMember(CObjectIStream &stream, const CObjectTypeInfoMI &info)

virtual void SkipObject(CObjectIStream &stream, const CObjectTypeInfo &info)

virtual void SkipClassMember(CObjectIStream &stream, const CObjectTypeInfoMI &info)

CHookTax_id(ETaxPath tax_path)

Reading (iterating through) elements of containers (SET OF, SEQUENCE OF).

T & Get(void)

Create the variable if not created yet, return the reference.

Skip hook for data member of a containing object (eg, SEQUENCE)

Skip hook for a standalone object.

The NCBI C++ standard methods for dealing with std::string.

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.

@ fPreOpen

Open file right away; for eInputFile, eOutputFile, eIOFile.

@ eInputFile

Name of file (must exist and be readable)

@ eString

An arbitrary string.

#define NCBI_THROW(exception_class, err_code, message)

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

const CMemberId & GetId(void) const

const string & GetName(void) const

ESerialDataFormat

Data file format.

@ eSerial_AsnText

ASN.1 text.

@ eSerial_AsnBinary

ASN.1 binary.

const string AsFastaString(void) const

TMemberIndex FindMemberIndex(const string &name) const

Find class member index by its name.

void Read(const CObjectInfo &object)

Read object of know type.

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

Set local (for the specified stream) skip hook.

CObjectInfo GetPointedObject(void) const

Get data and type information of object to which this type refers.

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

CMemberIterator FindMember(const string &memberName) const

Find class member by its name.

CChoiceVariant GetCurrentChoiceVariant(void) const

Get data and type information of selected choice variant.

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

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

int GetPrimitiveValueInt(void) const

Get data as int.

CObjectInfo GetVariant(void) const

Get variant data.

void DefaultSkip(CObjectIStream &in, const CObjectTypeInfo &type)

Default skip.

void GetPrimitiveValueString(string &value) const

Get string data.

const CVariantInfo * GetVariantInfo(void) const

CObjectInfo SetClassMember(TMemberIndex index) const

Create member if necessary and return member object.

static int StringToInt(const CTempString str, TStringToNumFlags flags=0, int base=10)

Convert string to int.

@ fConvErr_NoThrow

Do not throw an exception on error.

constexpr bool empty(list< Ts... >) noexcept

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

Defines the CNcbiApplication and CAppException classes for creating NCBI applications.

Defines command line argument related classes.

Defines NCBI C++ exception handling.

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

NCBI C++ stream class wrappers for triggering between "new" and "old" C++ stream libraries.

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

static CS_CONTEXT * context


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