m_object->RemoveReference();
76(m_object =
new(pool) ncbi::objects::CCoordinates())->
AddReference();
79(m_object =
new(pool) ncbi::objects::CChem_graph_alignment())->
AddReference();
95 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
100 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
105CheckSelected(e_Literal);
106 return*
static_cast<const TLiteral*
>(m_object);
112 return*
static_cast<TLiteral*
>(m_object);
118 if( m_choice != e_Literal || m_object != ptr ) {
121m_choice = e_Literal;
127CheckSelected(e_Reference);
128 return*
static_cast<const TReference*
>(m_object);
134 return*
static_cast<TReference*
>(m_object);
140 if( m_choice != e_Reference || m_object != ptr ) {
143m_choice = e_Reference;
156 info->CodeVersion(22400);
157 info->DataSpec(ncbi::EDataSpec::eASN);
186(*m_Coordinates).Reset();
207 info->RandomOrder();
208 info->CodeVersion(22400);
209 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CLASS_INFO("Model-coordinate-set", CModel_coordinate_set)
BEGIN_NAMED_CHOICE_INFO("", CModel_coordinate_set_Base::C_Coordinates)
User-defined methods of the data storage class.
CChem_graph_alignment â.
CModel_coordinate_set_id â.
CModel_coordinate_set â.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define ADD_NAMED_MEMBER(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define SET_CLASS_MODULE(ModuleName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
bool IsAllocatedInPool(void) const THROWS_NONE
Check if object is allocated in memory pool (not system heap)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void Reset(void)
Reset the whole object.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TReference & SetReference(void)
Select the variant.
virtual ~CModel_coordinate_set_Base(void)
static const char *const sm_SelectionNames[]
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
TCoordinates & SetCoordinates(void)
Assign a value to Coordinates data member.
void ResetCoordinates(void)
Reset Coordinates data member.
const TReference & GetReference(void) const
Get the variant data.
CModel_coordinate_set_Base(void)
E_Choice
Choice variants.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TLiteral & GetLiteral(void) const
Get the variant data.
CRef< TCoordinates > m_Coordinates
TLiteral & SetLiteral(void)
Select the variant.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
C_Coordinates TCoordinates
list< CRef< CModel_descr > > m_Descr
void ResetDescr(void)
Reset Descr data member.
virtual void Reset(void)
Reset the whole object.
void ResetId(void)
Reset Id data member.
CModel_coordinate_set_id m_Id
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value
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