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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

31  out

->WriteObject(obj);

58 int main

(

int

argc,

char

** argv)

60  const string asn

=

"Date ::= str \"late-spring\""

;

virtual void ReadChoiceVariant(CObjectIStream &strm, const CObjectInfoCV &passed_info)

This method will be called at approriate time when the object of requested type is to be read.

Read hook for a choice variant (CHOICE)

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

main entry point for tests

size_t TMemberIndex

Type used for indexing class members and choice variants.

@ eSerial_StdWhenStd

use std when filename is "stdin"/"stdout"

@ eSerial_AsnText

ASN.1 text.

const CObjectInfo & GetChoiceObject(void) const

Get containing choice.

void DefaultRead(CObjectIStream &in, const CObjectInfo &object)

Default read.

CObjectTypeInfo GetVariantType(void) const

Get variant data type.

void SetLocalReadHook(CObjectIStream &stream, CReadChoiceVariantHook *hook) const

void ReadObject(const CObjectInfo &object)

Read child object.

static CObjectOStream * Open(ESerialDataFormat format, CNcbiOstream &outStream, bool deleteOutStream)

Create serial object writer and attach it to an output stream.

CVariantIterator FindVariant(const string &memberName) const

Find choice variant by its name.

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

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

CObjectTypeInfo GetChoiceType(void) const

Get containing choice.

CObjectInfo GetVariant(void) const

Get variant data.

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

Default skip.

TMemberIndex GetVariantIndex(void) const

Get index of the variant in the choice.

virtual void StartDelayBuffer(void)

const CVariantInfo * GetVariantInfo(void) const

virtual CRef< CByteSource > EndDelayBuffer(void)

int main(int argc, char **argv)

USING_SCOPE(ncbi::objects)

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

CRef< objects::CObjectManager > om


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