105 return NCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
110 throw NCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
123 info->CodeVersion(22400);
124 info->DataSpec(ncbi::EDataSpec::eASN);
181 info->CodeVersion(22400);
182 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_CHOICE_INFO("", CSeq_submit_Base::C_Data)
BEGIN_NAMED_BASE_CLASS_INFO("Seq-submit", CSeq_submit)
User-defined methods of the data storage class.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define SET_CLASS_MODULE(ModuleName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
#define ADD_NAMED_BUF_CHOICE_VARIANT(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
void Reset(void)
Reset reference 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.
static const char *const sm_SelectionNames[]
void Reset(void)
Reset the whole object.
void ResetSub(void)
Reset Sub data member.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
TData & SetData(void)
Assign a value to Data data member.
virtual ~CSeq_submit_Base(void)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
TSub & SetSub(void)
Assign a value to Sub data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
virtual void Reset(void)
Reset the whole object.
void ResetData(void)
Reset Data data member.
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value