132 info->CodeVersion(22400);
133 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CHOICE_INFO("Location-choice", CLocation_choice)
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_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_STD_CHOICE_VARIANT(MemberAlias, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
#define ADD_NAMED_NULL_CHOICE_VARIANT(MemberAlias, TypeMacro, TypeMacroArgs)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
virtual void Reset(void)
Reset the whole object.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TInterval & GetInterval(void) const
Get the variant data.
TInterval & SetInterval(void)
Select the variant.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
CLocation_choice_Base(void)
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
static const char *const sm_SelectionNames[]
NCBI_NS_NCBI::CSerialObject * m_object
virtual ~CLocation_choice_Base(void)
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value