NCBI C++ ToolKit
Classes | Macros | Functions | Variables
asntypes.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbistd.hpp>
#include <corelib/ncbiutil.hpp>
#include <corelib/ncbi_safe_static.hpp>
#include <serial/impl/asntypes.hpp>
#include <serial/impl/autoptrinfo.hpp>
#include <serial/impl/classinfo.hpp>
#include <serial/objistr.hpp>
#include <serial/objostr.hpp>
#include <serial/objistrasnb.hpp>
#include <serial/objostrasnb.hpp>
#include <serial/objcopy.hpp>
#include <serial/impl/classinfob.hpp>
#include <serial/impl/typemap.hpp>
#include <serial/error_codes.hpp>
#include <asn.h>
+ Include dependency graph for asntypes.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CSequenceOfTypeInfoFunctionsCI
 
class  CSequenceOfTypeInfoFunctionsI
 
class  CSequenceOfTypeInfoFunctions
 

Macros

#define NCBI_USE_ERRCODE_X   Serial_ASNTypes
 

Functions

static void * Alloc (size_t size)
 
template<class T >
static TAlloc (T *&ptr)
 
static size_t GetFirstItemOffset (const CItemsInfo &items)
 
Int2 LIBCALLBACK WriteAsn (Pointer object, CharPtr data, Uint2 length)
 
Int2 LIBCALLBACK ReadAsn (Pointer object, CharPtr data, Uint2 length)
 

Variables

static CSafeStatic< CTypeInfoMaps_SequenceOfTypeInfo_map
 
static CSafeStatic< CTypeInfoMaps_SetOfTypeInfo_map
 

Macro Definition Documentation

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Serial_ASNTypes

Definition at line 54 of file asntypes.cpp.

Function Documentation

◆ Alloc() [1/2]

static void* Alloc ( size_t  size)
inlinestatic

◆ Alloc() [2/2]

template<class T >
static T* Alloc ( T *&  ptr)
inlinestatic

Definition at line 66 of file asntypes.cpp.

References Alloc(), and T.

◆ GetFirstItemOffset()

static size_t GetFirstItemOffset ( const CItemsInfo items)
static

◆ ReadAsn()

Int2 LIBCALLBACK ReadAsn ( Pointer  object,
CharPtr  data,
Uint2  length 
)

Definition at line 647 of file asntypes.cpp.

References data, and CObjectIStream::AsnIo::Read().

Referenced by CObjectIStream::AsnIo::AsnIo().

◆ WriteAsn()

Int2 LIBCALLBACK WriteAsn ( Pointer  object,
CharPtr  data,
Uint2  length 
)

Definition at line 638 of file asntypes.cpp.

References data, and Write().

Referenced by CObjectOStream::AsnIo::AsnIo().

Variable Documentation

◆ s_SequenceOfTypeInfo_map

CSafeStatic<CTypeInfoMap> s_SequenceOfTypeInfo_map
static

Definition at line 72 of file asntypes.cpp.

Referenced by CSequenceOfTypeInfo::GetTypeInfo().

◆ s_SetOfTypeInfo_map

CSafeStatic<CTypeInfoMap> s_SetOfTypeInfo_map
static

Definition at line 397 of file asntypes.cpp.

Referenced by CSetOfTypeInfo::GetTypeInfo().

Modified on Fri Sep 20 14:57:44 2024 by modify_doxy.py rev. 669887