Go to the SVN repository for this file.
34 #ifndef CAV_ASN_IO__HPP 35 #define CAV_ASN_IO__HPP 52 template<
classASNClass >
55unique_ptr<CObjectIStream> inObject;
67*inObject >> ASNobject;
68}
catch(exception& e) {
77 template<
classASNClass >
78 bool WriteASNToFile(
const char*filename, ASNClass& mime,
boolisBinary,
string& err)
81unique_ptr<CNcbiOstream> outStream;
84err =
"Cannot open file for writing";
88unique_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