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

NCBI C++ ToolKit: include/objtools/cddalignview/cav_asnio.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

34 #ifndef CAV_ASN_IO__HPP 35 #define CAV_ASN_IO__HPP 52 template

<

class

ASNClass >

55

unique_ptr<CObjectIStream> inObject;

67

*inObject >> ASNobject;

68

}

catch

(exception& e) {

77 template

<

class

ASNClass >

78 bool WriteASNToFile

(

const char

*filename, ASNClass& mime,

bool

isBinary,

string

& err)

81

unique_ptr<CNcbiOstream> outStream;

84

err =

"Cannot open file for writing"

;

88

unique_ptr<CObjectOStream> outObject;

100

}

catch

(exception& e) {

bool ReadASNFromIstream(CNcbiIstream &inStream, ASNClass &ASNobject, bool isBinary, string &err)

bool WriteASNToFile(const char *filename, ASNClass &mime, bool isBinary, string &err)

CObjectIStreamAsnBinary –.

CObjectOStreamAsnBinary –.

Include a standard set of the NCBI C++ Toolkit most basic headers.

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

main entry point for tests

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

IO_PREFIX::ofstream CNcbiOfstream

Portable alias for ofstream.

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

The NCBI C++/STL use hints.

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


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