332 info->CodeVersion(22400);
333 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("Annotdesc", CAnnotdesc)
@Pubdesc.hpp 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 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.
const TCreate_date & GetCreate_date(void) const
Get the variant data.
virtual ~CAnnotdesc_Base(void)
TTitle & SetTitle(void)
Select the variant.
NCBI_NS_NCBI::CSerialObject * m_object
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TName & SetName(void)
Select the variant.
TPub & SetPub(void)
Select the variant.
TUser & SetUser(void)
Select the variant.
const TUser & GetUser(void) const
Get the variant data.
TComment & SetComment(void)
Select the variant.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
TRegion & SetRegion(void)
Select the variant.
TAlign & SetAlign(void)
Select the variant.
const TRegion & GetRegion(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TPub & GetPub(void) const
Get the variant data.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TUpdate_date & GetUpdate_date(void) const
Get the variant data.
const TSrc & GetSrc(void) const
Get the variant data.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
TUpdate_date & SetUpdate_date(void)
Select the variant.
TCreate_date & SetCreate_date(void)
Select the variant.
const TAlign & GetAlign(void) const
Get the variant data.
TSrc & SetSrc(void)
Select the variant.
virtual void Reset(void)
Reset the whole object.
static const char *const sm_SelectionNames[]
@ e_Comment
a more extensive comment
@ e_Pub
a reference to the publication
@ e_Align
definition of the SeqAligns
@ e_Region
all contents cover this region
@ e_Update_date
date of last update
@ e_Create_date
date entry first created/released
@ e_Name
a short name for this collection
@ e_Title
a title for this collection
@ e_User
user defined object
@ e_Src
source sequence from which annot came
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value