593 info->CodeVersion(22400);
594 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_BASE_CHOICE_INFO("Seq-id", CSeq_id)
#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)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TGeneral & SetGeneral(void)
Select the variant.
TNamed_annot_track & SetNamed_annot_track(void)
Select the variant.
const TEmbl & GetEmbl(void) const
Get the variant data.
const TPdb & GetPdb(void) const
Get the variant data.
TPatent & SetPatent(void)
Select the variant.
TEmbl & SetEmbl(void)
Select the variant.
const TTpe & GetTpe(void) const
Get the variant data.
TOther & SetOther(void)
Select the variant.
const TGenbank & GetGenbank(void) const
Get the variant data.
const TTpd & GetTpd(void) const
Get the variant data.
TTpe & SetTpe(void)
Select the variant.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TTpg & GetTpg(void) const
Get the variant data.
TTpg & SetTpg(void)
Select the variant.
virtual ~CSeq_id_Base(void)
virtual void Reset(void)
Reset the whole object.
TPir & SetPir(void)
Select the variant.
TTpd & SetTpd(void)
Select the variant.
TGpipe & SetGpipe(void)
Select the variant.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
TDdbj & SetDdbj(void)
Select the variant.
const TOther & GetOther(void) const
Get the variant data.
const TGiim & GetGiim(void) const
Get the variant data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TSwissprot & GetSwissprot(void) const
Get the variant data.
TLocal & SetLocal(void)
Select the variant.
TGiim & SetGiim(void)
Select the variant.
const TDdbj & GetDdbj(void) const
Get the variant data.
const TLocal & GetLocal(void) const
Get the variant data.
const TPir & GetPir(void) const
Get the variant data.
static const char *const sm_SelectionNames[]
const TGpipe & GetGpipe(void) const
Get the variant data.
TPrf & SetPrf(void)
Select the variant.
const TGeneral & GetGeneral(void) const
Get the variant data.
TGenbank & SetGenbank(void)
Select the variant.
const TPatent & GetPatent(void) const
Get the variant data.
const TPrf & GetPrf(void) const
Get the variant data.
NCBI_NS_NCBI::CSerialObject * m_object
TSwissprot & SetSwissprot(void)
Select the variant.
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.
const TNamed_annot_track & GetNamed_annot_track(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
TPdb & SetPdb(void)
Select the variant.
@ e_Gibbmt
Geninfo backbone moltype.
@ e_Giim
Geninfo import id.
@ e_Other
for historical reasons, 'other' = 'refseq'
@ e_Gpipe
Internal NCBI genome pipeline processing ID.
@ e_Tpe
Third Party Annot/Seq EMBL.
@ e_Tpd
Third Party Annot/Seq DDBJ.
@ e_Gibbsq
Geninfo backbone seqid.
@ e_General
for other databases
@ e_Gi
GenInfo Integrated Database.
@ e_Named_annot_track
Internal named annotation tracking ID.
@ e_not_set
No variant selected.
@ e_Tpg
Third Party Annot/Seq Genbank.
const GenericPointer< typename T::ValueType > T2 value