103 return NCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
108 throw NCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
121 info->CodeVersion(22400);
122 info->DataSpec(ncbi::EDataSpec::eASN);
168 info->CodeVersion(22400);
169 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_ENUM_IN_INFO("", CPC_CompoundType_Base::, EType, true)
BEGIN_NAMED_BASE_CLASS_INFO("PC-CompoundType", CPC_CompoundType)
BEGIN_NAMED_CHOICE_INFO("", CPC_CompoundType_Base::C_Id)
Compound Namespace and ID (absent for "deposited" type compounds)
Qualification used to describe the type of Compound deposited, standardized, or derived.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define SET_ENUM_INTERNAL_NAME(OwnerName, MemberName)
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define SET_ENUM_MODULE(ModuleName)
#define SET_CLASS_MODULE(ModuleName)
#define ADD_NAMED_ENUM_MEMBER(MemberAlias, MemberName, EnumName)
#define ADD_ENUM_VALUE(EnumValueName, EnumValueValue)
#define ADD_NAMED_STD_CHOICE_VARIANT(MemberAlias, MemberName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
virtual void Reset(void)
Reset the whole object.
void Reset(void)
Reset the whole object.
void ResetId(void)
Reset Id data member.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void ResetType(void)
Reset Type data member.
CPC_CompoundType_Base(void)
EType
Compound Qualifier or Type For Compound Depositions.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
virtual ~CPC_CompoundType_Base(void)
static const char *const sm_SelectionNames[]
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
TId & SetId(void)
Assign a value to Id data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value