NCBI C++ ToolKit
Classes | Functions
choicetype.cpp File Reference
#include <ncbi_pch.hpp>
#include "exceptions.hpp"
#include "choicetype.hpp"
#include <serial/impl/autoptrinfo.hpp>
#include <serial/impl/choice.hpp>
#include "value.hpp"
#include "choicestr.hpp"
#include "choiceptrstr.hpp"
#include "srcutil.hpp"
#include <serial/impl/member.hpp>
#include <typeinfo>
#include "aliasstr.hpp"
+ Include dependency graph for choicetype.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

struct  CAnyTypeChoice
 

Functions

static TObjectPtr CreateAnyTypeChoice (TTypeInfo, CObjectMemoryPool *)
 
static TMemberIndex GetIndexAnyTypeChoice (const CChoiceTypeInfo *, TConstObjectPtr choicePtr)
 
static void SetIndexAnyTypeChoice (const CChoiceTypeInfo *, TObjectPtr choicePtr, TMemberIndex index, CObjectMemoryPool *)
 
static void ResetIndexAnyTypeChoice (const CChoiceTypeInfo *, TObjectPtr choicePtr)
 

Function Documentation

◆ CreateAnyTypeChoice()

static TObjectPtr CreateAnyTypeChoice ( TTypeInfo  ,
CObjectMemoryPool  
)
static

Definition at line 57 of file choicetype.cpp.

Referenced by CChoiceDataType::CreateTypeInfo().

◆ GetIndexAnyTypeChoice()

static TMemberIndex GetIndexAnyTypeChoice ( const CChoiceTypeInfo ,
TConstObjectPtr  choicePtr 
)
static

Definition at line 64 of file choicetype.cpp.

References CAnyTypeChoice::index.

Referenced by CChoiceDataType::CreateTypeInfo().

◆ ResetIndexAnyTypeChoice()

static void ResetIndexAnyTypeChoice ( const CChoiceTypeInfo ,
TObjectPtr  choicePtr 
)
static

Definition at line 83 of file choicetype.cpp.

References CAnyTypeChoice::index, and kEmptyChoice.

Referenced by CChoiceDataType::CreateTypeInfo().

◆ SetIndexAnyTypeChoice()

static void SetIndexAnyTypeChoice ( const CChoiceTypeInfo ,
TObjectPtr  choicePtr,
TMemberIndex  index,
CObjectMemoryPool  
)
static

Definition at line 73 of file choicetype.cpp.

References CAnyTypeChoice::index.

Referenced by CChoiceDataType::CreateTypeInfo().

Modified on Wed Jun 19 17:00:27 2024 by modify_doxy.py rev. 669887