434 info->CodeVersion(22400);
435 info->DataSpec(ncbi::EDataSpec::eASN);
BEGIN_NAMED_BASE_CHOICE_INFO("Pub", CPub)
#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_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.
TProc & SetProc(void)
Select the variant.
TPmid & SetPmid(void)
Select the variant.
NCBI_NS_NCBI::CSerialObject * m_object
const TMedline & GetMedline(void) const
Get the variant data.
const TMan & GetMan(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
NCBI_NS_NCBI::CUnionBuffer< TPmid > m_Pmid
TBook & SetBook(void)
Select the variant.
static const char *const sm_SelectionNames[]
const TArticle & GetArticle(void) const
Get the variant data.
const TJournal & GetJournal(void) const
Get the variant data.
const TSub & GetSub(void) const
Get the variant data.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
const TPatent & GetPatent(void) const
Get the variant data.
const TProc & GetProc(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
TEquiv & SetEquiv(void)
Select the variant.
const TEquiv & GetEquiv(void) const
Get the variant data.
const TPat_id & GetPat_id(void) const
Get the variant data.
TMan & SetMan(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TSub & SetSub(void)
Select the variant.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
virtual void Reset(void)
Reset the whole object.
TGen & SetGen(void)
Select the variant.
TMedline & SetMedline(void)
Select the variant.
const TGen & GetGen(void) const
Get the variant data.
TJournal & SetJournal(void)
Select the variant.
TPatent & SetPatent(void)
Select the variant.
TArticle & SetArticle(void)
Select the variant.
TPat_id & SetPat_id(void)
Select the variant.
const TBook & GetBook(void) const
Get the variant data.
@ e_Pat_id
identify a patent
@ e_Gen
general or generic unparsed
@ e_not_set
No variant selected.
@ e_Proc
proceedings of a meeting
@ e_Equiv
to cite a variety of ways
@ e_Man
manuscript, thesis, or letter
const GenericPointer< typename T::ValueType > T2 value