Go to the SVN repository for this file.
1 #ifndef CTOOLS___ASN_CONVERTER__HPP 2 #define CTOOLS___ASN_CONVERTER__HPP 53 #define DECLARE_ASN_CONVERTER(TCpp, TC, name) \ 54 CAsnConverter<TCpp, TC> name((AsnWriteFunc) TC##AsnWrite, \ 55 (AsnReadFunc) TC##AsnRead) 58 template<
typenameTCpp,
typenameTC>
68TCpp*
FromC(
constTC* c_obj, TCpp* cpp_obj = 0,
98 template<
typenameTCpp,
typenameTC>
111m_Write(
const_cast<TC*
>(c_obj), aip, 0);
114 CRef<TCpp>cpp_ref(cpp_obj ? cpp_obj :
newTCpp);
122 template<
typenameTCpp,
typenameTC>
140 return(TC*) m_Read(aip, 0);
In-memory stream (a la strstream or stringstream)
CObjectOStreamAsnBinary â.
ESerialDataFormat
Data file format.
@ eSerial_AsnText
ASN.1 text.
@ eSerial_AsnBinary
ASN.1 binary.
static CObjectOStream * Open(ESerialDataFormat format, CNcbiOstream &outStream, bool deleteOutStream)
Create serial object writer and attach it to an output stream.
static CObjectIStream * Open(ESerialDataFormat format, CNcbiIstream &inStream, bool deleteInStream)
Create serial object reader and attach it to an input stream.
void SetCStyleBigInt(bool set=true)
TObjectType * Release(void)
Release a reference to the object and return a pointer to the object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
The blob sat and sat key Both must be positive integers</td > n< td > Non empty string The interpretation of the blob id depends on a processor Cassandra n processor expects the following format
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