#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 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 Macro Definition Documentation ◆ NCBI_USE_ERRCODE_X #define NCBI_USE_ERRCODE_X Serial_ASNTypesDefinition at line 54 of file asntypes.cpp.
Function Documentation ◆ Alloc() [1/2] static void* Alloc ( size_t size ) inlinestaticDefinition 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().
◆ Alloc() [2/2]template<class T >
static T* Alloc ( T *& ptr ) inlinestaticDefinition at line 66 of file asntypes.cpp.
◆ GetFirstItemOffset() static size_t GetFirstItemOffset ( const CItemsInfo & items ) staticDefinition at line 106 of file asntypes.cpp.
References CItemsInfo::GetItemInfo(), CItemInfo::GetOffset(), i, min(), and offset.
Referenced by CSequenceOfTypeInfo::InitSequenceOfTypeInfo().
◆ 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.
Referenced by CObjectOStream::AsnIo::AsnIo().
Variable Documentation ◆ s_SequenceOfTypeInfo_map CSafeStatic<CTypeInfoMap> s_SequenceOfTypeInfo_map staticDefinition at line 72 of file asntypes.cpp.
Referenced by CSequenceOfTypeInfo::GetTypeInfo().
◆ s_SetOfTypeInfo_map CSafeStatic<CTypeInfoMap> s_SetOfTypeInfo_map staticDefinition at line 397 of file asntypes.cpp.
Referenced by CSetOfTypeInfo::GetTypeInfo().
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