130 info->CodeVersion(22301);
131 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CHOICE_INFO("Variant", CVariant)
#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_ENUM_CHOICE_VARIANT(MemberAlias, MemberName, EnumName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
ESpecialVariant
Access to ESpecialVariant's attributes (values, names) as defined in spec.
const TSimple & GetSimple(void) const
Get the variant data.
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).
static const char *const sm_SelectionNames[]
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
virtual void Reset(void)
Reset the whole object.
NCBI_NS_NCBI::CSerialObject * m_object
virtual ~CVariant_Base(void)
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
TSimple & SetSimple(void)
Select the variant.
@ e_not_set
No variant selected.
unsigned int
A callback function used to compare two keys in a database.