Reset(
void);
125 virtual voidResetSelection(
void);
131E_Choice Which(
void)
const;
137 voidCheckSelected(E_Choice index)
const;
143NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
151 static stringSelectionName(E_Choice index);
200 boolIsLocal(
void)
const;
206 const TLocal& GetLocal(
void)
const;
212 TLocal& SetLocal(
void);
226 boolIsGibbsq(
void)
const;
232 TGibbsqGetGibbsq(
void)
const;
253 boolIsGibbmt(
void)
const;
259 TGibbmtGetGibbmt(
void)
const;
280 boolIsGiim(
void)
const;
286 const TGiim& GetGiim(
void)
const;
292 TGiim& SetGiim(
void);
306 boolIsGenbank(
void)
const;
312 const TGenbank& GetGenbank(
void)
const;
332 boolIsEmbl(
void)
const;
338 const TEmbl& GetEmbl(
void)
const;
344 TEmbl& SetEmbl(
void);
358 boolIsPir(
void)
const;
364 const TPir& GetPir(
void)
const;
370 TPir& SetPir(
void);
384 boolIsSwissprot(
void)
const;
390 const TSwissprot& GetSwissprot(
void)
const;
410 boolIsPatent(
void)
const;
416 const TPatent& GetPatent(
void)
const;
436 boolIsOther(
void)
const;
442 const TOther& GetOther(
void)
const;
448 TOther& SetOther(
void);
462 boolIsGeneral(
void)
const;
468 const TGeneral& GetGeneral(
void)
const;
488 boolIsGi(
void)
const;
494 TGiGetGi(
void)
const;
515 boolIsDdbj(
void)
const;
521 const TDdbj& GetDdbj(
void)
const;
527 TDdbj& SetDdbj(
void);
541 boolIsPrf(
void)
const;
547 const TPrf& GetPrf(
void)
const;
553 TPrf& SetPrf(
void);
567 boolIsPdb(
void)
const;
573 const TPdb& GetPdb(
void)
const;
579 TPdb& SetPdb(
void);
593 boolIsTpg(
void)
const;
599 const TTpg& GetTpg(
void)
const;
605 TTpg& SetTpg(
void);
619 boolIsTpe(
void)
const;
625 const TTpe& GetTpe(
void)
const;
631 TTpe& SetTpe(
void);
645 boolIsTpd(
void)
const;
651 const TTpd& GetTpd(
void)
const;
657 TTpd& SetTpd(
void);
671 boolIsGpipe(
void)
const;
677 const TGpipe& GetGpipe(
void)
const;
683 TGpipe& SetGpipe(
void);
697 boolIsNamed_annot_track(
void)
const;
726 static const char*
constsm_SelectionNames[];
892 return reinterpret_cast<const TGi&
>(
m_Gi);
899 return reinterpret_cast<TGi&
>(
m_Gi);
*** Sequence identifiers ******************************** *
Base class for all serializable objects.
CStrictId< SStrictId_Gi, SStrictId_Gi::TId > TGi
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_SEQLOC_EXPORT
bool IsPatent(void) const
Check if variant Patent is selected.
bool IsGenbank(void) const
Check if variant Genbank is selected.
TGibbsq GetGibbsq(void) const
Get the variant data.
bool IsTpg(void) const
Check if variant Tpg is selected.
CSeq_id_Base & operator=(const CSeq_id_Base &)
CTextseq_id TNamed_annot_track
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
NCBI_NS_NCBI::CSerialObject * m_object
bool IsTpd(void) const
Check if variant Tpd is selected.
bool IsGibbmt(void) const
Check if variant Gibbmt is selected.
bool IsOther(void) const
Check if variant Other is selected.
DECLARE_INTERNAL_TYPE_INFO()
bool IsGeneral(void) const
Check if variant General is selected.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
bool IsPrf(void) const
Check if variant Prf is selected.
bool IsEmbl(void) const
Check if variant Embl is selected.
E_Choice Which(void) const
Which variant is currently selected.
bool IsPdb(void) const
Check if variant Pdb is selected.
bool IsSwissprot(void) const
Check if variant Swissprot is selected.
TGi GetGi(void) const
Get the variant data.
TGi & SetGi(void)
Select the variant.
TGibbmt & SetGibbmt(void)
Select the variant.
CSeq_id_Base(const CSeq_id_Base &)
E_Choice
Choice variants.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsGiim(void) const
Check if variant Giim is selected.
bool IsLocal(void) const
Check if variant Local is selected.
bool IsGpipe(void) const
Check if variant Gpipe is selected.
bool IsGi(void) const
Check if variant Gi is selected.
TGibbsq & SetGibbsq(void)
Select the variant.
TGibbmt GetGibbmt(void) const
Get the variant data.
bool IsTpe(void) const
Check if variant Tpe is selected.
bool IsNamed_annot_track(void) const
Check if variant Named_annot_track is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsPir(void) const
Check if variant Pir is selected.
bool IsGibbsq(void) const
Check if variant Gibbsq is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsDdbj(void) const
Check if variant Ddbj is selected.
@ 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4