76 (
m_object =
new(pool) einfo::CDbList())->AddReference();
79 (
m_object =
new(pool) einfo::CDbInfo())->AddReference();
166 info->CodeVersion(22400);
167 info->DataSpec(ncbi::EDataSpec::eDTD);
User-defined methods of the data storage class.
#define BEGIN_einfo_SCOPE
User-defined methods of the data storage class.
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CHOICE_INFO("eInfoResult", CEInfoResult)
#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 SET_CHOICE_MODULE(ModuleName)
#define ADD_NAMED_BUF_CHOICE_VARIANT(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
virtual void Reset(void)
Reset the whole object.
const TDbList & GetDbList(void) const
Get the variant data.
NCBI_NS_NCBI::CSerialObject * m_object
virtual ~CEInfoResult_Base(void)
TDbInfo & SetDbInfo(void)
Select the variant.
void DoSelect(E_Choice index, NCBI_NS_NCBI::CObjectMemoryPool *pool=0)
void Select(E_Choice index, NCBI_NS_NCBI::EResetVariant reset=NCBI_NS_NCBI::eDoResetVariant)
Select the requested variant if needed.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
TDbList & SetDbList(void)
Select the variant.
static const char *const sm_SelectionNames[]
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
NCBI_NS_STD::string TERROR
const TDbInfo & GetDbInfo(void) const
Get the variant data.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
TERROR & SetERROR(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
static NCBI_NS_STD::string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value