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

NCBI C++ ToolKit: ASN Converter

Collaboration diagram for ASN Converter:

Classes class   CAsnConverter< TCpp, TC >   Macros #define  DECLARE_ASN_CONVERTER(TCpp, TC, name)   Typedefs typedef AsnWriteFunc  CAsnConverter< TCpp, TC >::FWrite   typedef AsnReadFunc  CAsnConverter< TCpp, TC >::FRead   Functions   CAsnConverter< TCpp, TC >::CAsnConverter (FWrite writer, FRead reader)   TCpp *  CAsnConverter< TCpp, TC >::FromC (const TC *c_obj, TCpp *cpp_obj=0, EAsnConn_Format format=eAsnConn_Binary)   Creates and returns a new object if cpp_obj is null. More...
  TC *  CAsnConverter< TCpp, TC >::ToC (const TCpp &cpp_obj, EAsnConn_Format format=eAsnConn_Binary)   Always returns a new object, as that's how C readers work. More...
  ESerialDataFormat  MapAcfToSdf (EAsnConn_Format format)   Variables FWrite  CAsnConverter< TCpp, TC >::m_Write   FRead  CAsnConverter< TCpp, TC >::m_Read   Detailed Description Macro Definition Documentation ◆ DECLARE_ASN_CONVERTER #define DECLARE_ASN_CONVERTER (   TCpp,   TC,   name  ) Value: CAsnConverter<TCpp, TC>

name((AsnWriteFunc) TC##AsnWrite, \

(AsnReadFunc) TC##AsnRead)

CAsnConverter Definition: asn_converter.hpp:60

Definition at line 53 of file asn_converter.hpp.

Typedef Documentation ◆ FRead

template<typename TCpp , typename TC >

typedef AsnReadFunc CAsnConverter< TCpp, TC >::FRead

Definition at line 63 of file asn_converter.hpp.

◆ FWrite

template<typename TCpp , typename TC >

typedef AsnWriteFunc CAsnConverter< TCpp, TC >::FWrite

Definition at line 62 of file asn_converter.hpp.

Function Documentation ◆ CAsnConverter()

template<typename TCpp , typename TC >

CAsnConverter< TCpp, TC >::CAsnConverter ( FWrite  writer, FRead  reader  ) inline

Definition at line 64 of file asn_converter.hpp.

◆ FromC()

template<typename TCpp , typename TC >

TCpp * CAsnConverter< TCpp, TC >::FromC ( const TC *  c_obj, TCpp *  cpp_obj = 0, EAsnConn_Format  format = eAsnConn_Binary  ) inline

Creates and returns a new object if cpp_obj is null.

Definition at line 100 of file asn_converter.hpp.

References CreateAsnConn(), eAsnConn_Output, format, CConn_IOStream::GetCONN(), MapAcfToSdf(), CObjectIStream::Open(), and CRef< C, Locker >::Release().

◆ MapAcfToSdf() ESerialDataFormat MapAcfToSdf ( EAsnConn_Format  format ) inline

Definition at line 87 of file asn_converter.hpp.

References _TROUBLE, eAsnConn_Binary, eAsnConn_Text, eSerial_AsnBinary, eSerial_AsnText, eSerial_None, and format.

Referenced by CAsnConverter< TCpp, TC >::FromC(), and CAsnConverter< TCpp, TC >::ToC().

◆ ToC()

template<typename TCpp , typename TC >

TC * CAsnConverter< TCpp, TC >::ToC ( const TCpp &  cpp_obj, EAsnConn_Format  format = eAsnConn_Binary  ) inline

Always returns a new object, as that's how C readers work.

Definition at line 124 of file asn_converter.hpp.

References CreateAsnConn(), eAsnConn_Input, format, CConn_IOStream::GetCONN(), MapAcfToSdf(), CObjectOStream::Open(), and CObjectOStreamAsnBinary::SetCStyleBigInt().

Variable Documentation ◆ m_Read

template<typename TCpp , typename TC >

FRead CAsnConverter< TCpp, TC >::m_Read private

Definition at line 75 of file asn_converter.hpp.

◆ m_Write

template<typename TCpp , typename TC >

FWrite CAsnConverter< TCpp, TC >::m_Write private

Definition at line 74 of file asn_converter.hpp.


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