NCBI C++ ToolKit
Macros | Typedefs | Functions
uoconv.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/general/uoconv.hpp>
#include <objects/general/Object_id.hpp>
#include <objects/general/User_field.hpp>
#include <objects/general/User_object.hpp>
#include <objects/misc/error_codes.hpp>
#include <serial/objectiter.hpp>
#include <util/bitset/bmserial.h>
+ Include dependency graph for uoconv.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_USE_ERRCODE_X   Objects_UOConv
 

Typedefs

typedef CUser_field::TData TUFData
 
typedef TUFData::TOs TUFDOs
 

Functions

static CRef< CUser_fields_PackAsUserField (CConstObjectInfo obj, const string *label=0)
 
static void s_SetOSFromBS (TUFDOs &os, CBitString &bs)
 
static void s_SetBSFromOS (CBitString &bs, const TUFDOs &os)
 
static void s_SetFieldsFromAnyContent (CUser_field &parent, const CAnyContentObject &obj)
 
static void s_SetAnyContentFromFields (CAnyContentObject &obj, const TUFData::TFields &fields)
 
static void s_SetPrimitiveData (CUser_field &field, CConstObjectInfo obj)
 
static size_t s_SetContainerData (TUFData &data, CConstObjectInfo obj)
 
CRef< CUser_objectPackAsUserObject (CConstObjectInfo obj)
 
static void s_UnpackUserField (const CUser_field &uo, CObjectInfo obj)
 
static void s_UnpackPrimitiveField (const TUFData &data, CObjectInfo obj)
 
static void s_UnpackContainerField (const TUFData &data, CObjectInfo obj)
 
void UnpackUserObject (const CUser_object &uo, CObjectInfo obj)
 
CObjectInfo UnpackUserObject (const CUser_object &uo, const CTypeInfo *ti)
 

Macro Definition Documentation

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Objects_UOConv

Definition at line 51 of file uoconv.cpp.

Typedef Documentation

◆ TUFData

Definition at line 56 of file uoconv.cpp.

◆ TUFDOs

Definition at line 57 of file uoconv.cpp.

Function Documentation

◆ PackAsUserObject()

CRef<CUser_object> PackAsUserObject ( CConstObjectInfo  obj)

◆ s_PackAsUserField()

CRef< CUser_field > s_PackAsUserField ( CConstObjectInfo  obj,
const string label = 0 
)
static

◆ s_SetAnyContentFromFields()

static void s_SetAnyContentFromFields ( CAnyContentObject obj,
const TUFData::TFields fields 
)
static

◆ s_SetBSFromOS()

static void s_SetBSFromOS ( CBitString bs,
const TUFDOs os 
)
static

◆ s_SetContainerData()

static size_t s_SetContainerData ( TUFData data,
CConstObjectInfo  obj 
)
static

◆ s_SetFieldsFromAnyContent()

static void s_SetFieldsFromAnyContent ( CUser_field parent,
const CAnyContentObject obj 
)
static

◆ s_SetOSFromBS()

static void s_SetOSFromBS ( TUFDOs os,
CBitString bs 
)
static

◆ s_SetPrimitiveData()

static void s_SetPrimitiveData ( CUser_field field,
CConstObjectInfo  obj 
)
static

◆ s_UnpackContainerField()

static void s_UnpackContainerField ( const TUFData data,
CObjectInfo  obj 
)
static

◆ s_UnpackPrimitiveField()

static void s_UnpackPrimitiveField ( const TUFData data,
CObjectInfo  obj 
)
static

◆ s_UnpackUserField()

static void s_UnpackUserField ( const CUser_field uo,
CObjectInfo  obj 
)
static

◆ UnpackUserObject() [1/2]

void UnpackUserObject ( const CUser_object uo,
CObjectInfo  obj 
)

◆ UnpackUserObject() [2/2]

CObjectInfo UnpackUserObject ( const CUser_object uo,
const CTypeInfo ti 
)

Definition at line 708 of file uoconv.cpp.

References _ASSERT, and UnpackUserObject().

Modified on Wed May 29 18:43:42 2024 by modify_doxy.py rev. 669887