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

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

Go to the documentation of this file.

Go to the SVN repository for this file.

52  in

->ReadObject(&annot, CSeq_annot::GetTypeInfo());

57  in

->ReadObject(passed_info);

67 int main

(

int

argc,

char

** argv)

virtual void ReadObject(CObjectIStream &strm, const CObjectInfo &passed_info)

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

Read hook for a standalone object.

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

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

main entry point for tests

#define MSerial_AsnText

I/O stream manipulators –.

@ eSerial_StdWhenStd

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

@ eSerial_AsnText

ASN.1 text.

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

Default read.

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

Set local (for the specified stream) read hook.

static CObjectIStream * Create(ESerialDataFormat format)

Create serial object reader.

const string & GetStackPath(void) const

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

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

TTypeInfo GetTypeInfo(void) const

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

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

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

Default skip.

virtual void StartDelayBuffer(void)

virtual CRef< CByteSource > EndDelayBuffer(void)

void CopyObject(TTypeInfo type)

Copy object, omitting file header both in input and output streams.

int main(int argc, char **argv)

USING_SCOPE(ncbi::objects)

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


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