223 info->CodeVersion(22301);
224 info->DataSpec(ncbi::EDataSpec::eASN);
#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)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
NCBI_NS_NCBI::CUnionBuffer< TMedline > m_Medline
NCBI_NS_NCBI::CUnionBuffer< TPmcid > m_Pmcid
TOther & SetOther(void)
Select the variant.
const TOther & GetOther(void) const
Get the variant data.
NCBI_NS_NCBI::CUnionBuffer< TPmcpid > m_Pmcpid
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
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.
TPubmed & SetPubmed(void)
Select the variant.
NCBI_NS_NCBI::CUnionBuffer< TDoi > m_Doi
NCBI_NS_NCBI::CSerialObject * m_object
TPmcpid & SetPmcpid(void)
Select the variant.
TMedline & SetMedline(void)
Select the variant.
NCBI_NS_NCBI::CUnionBuffer< TPii > m_Pii
virtual void Reset(void)
Reset the whole object.
TDoi & SetDoi(void)
Select the variant.
NCBI_NS_NCBI::CUnionBuffer< TPmpid > m_Pmpid
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
virtual ~CArticleId_Base(void)
TPmcid & SetPmcid(void)
Select the variant.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
TPmpid & SetPmpid(void)
Select the variant.
TPii & SetPii(void)
Select the variant.
static const char *const sm_SelectionNames[]
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
NCBI_NS_NCBI::CUnionBuffer< TPubmed > m_Pubmed
@ e_not_set
No variant selected.
@ e_Other
generic catch all
@ e_Pubmed
see types below
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CHOICE_INFO("ArticleId", CArticleId)