NCBI C++ ToolKit
|
#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>
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 T * | Alloc (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< CTypeInfoMap > | s_SequenceOfTypeInfo_map |
static CSafeStatic< CTypeInfoMap > | s_SetOfTypeInfo_map |
#define NCBI_USE_ERRCODE_X Serial_ASNTypes |
Definition at line 54 of file asntypes.cpp.
|
inlinestatic |
Definition at line 59 of file asntypes.cpp.
References calloc(), NotNull(), and ncbi::grid::netcache::search::fields::size.
Referenced by Alloc(), CSequenceOfTypeInfo::CreateNode(), and bm::bvector< Alloc >::optimize_gap_size().
Definition at line 66 of file asntypes.cpp.
|
static |
Definition at line 106 of file asntypes.cpp.
References CItemsInfo::GetItemInfo(), CItemInfo::GetOffset(), i, min(), and offset.
Referenced by CSequenceOfTypeInfo::InitSequenceOfTypeInfo().
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().
Int2 LIBCALLBACK WriteAsn | ( | Pointer | object, |
CharPtr | data, | ||
Uint2 | length | ||
) |
Definition at line 638 of file asntypes.cpp.
Referenced by CObjectOStream::AsnIo::AsnIo().
|
static |
Definition at line 72 of file asntypes.cpp.
Referenced by CSequenceOfTypeInfo::GetTypeInfo().
|
static |
Definition at line 397 of file asntypes.cpp.
Referenced by CSetOfTypeInfo::GetTypeInfo().