Reset(
void);
114 virtual voidResetSelection(
void);
120E_Choice Which(
void)
const;
126 voidCheckSelected(E_Choice index)
const;
132NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
140 static stringSelectionName(E_Choice index);
178 boolIsInt(
void)
const;
184 TIntGetInt(
void)
const;
190 TInt& SetInt(
void);
205 boolIsReal(
void)
const;
211 TRealGetReal(
void)
const;
217 TReal& SetReal(
void);
232 boolIsString(
void)
const;
238 const TString& GetString(
void)
const;
259 boolIsBytes(
void)
const;
265 const TBytes& GetBytes(
void)
const;
271 TBytes& SetBytes(
void);
280 boolIsBit(
void)
const;
286 TBitGetBit(
void)
const;
292 TBit& SetBit(
void);
307 boolIsLoc(
void)
const;
319 TLoc& SetLoc(
void);
333 boolIsId(
void)
const;
359 boolIsInterval(
void)
const;
365 const TInterval& GetInterval(
void)
const;
385 boolIsInt8(
void)
const;
391 TInt8GetInt8(
void)
const;
397 TInt8& SetInt8(
void);
415 static const char*
constsm_SelectionNames[];
CSeqTable_single_data_Base â.
Base class for all serializable objects.
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
int64_t Int8
8-byte (64-bit) signed integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TBit & SetBit(void)
Select the variant.
bool IsId(void) const
Check if variant Id is selected.
CSeqTable_single_data_Base & operator=(const CSeqTable_single_data_Base &)
E_Choice Which(void) const
Which variant is currently selected.
bool IsInt8(void) const
Check if variant Int8 is selected.
const TString & GetString(void) const
Get the variant data.
DECLARE_INTERNAL_TYPE_INFO()
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
NCBI_NS_NCBI::CUnionBuffer< CStringUTF8 > m_string_utf8
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsBytes(void) const
Check if variant Bytes is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
CSeqTable_single_data_Base(const CSeqTable_single_data_Base &)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
TString & SetString(void)
Select the variant.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
E_Choice
Choice variants.
NCBI_NS_NCBI::CUnionBuffer< TBytes > m_Bytes
NCBI_NS_NCBI::CUnionBuffer< TBytes > m_Bytes
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsInt(void) const
Check if variant Int is selected.
TInt8 GetInt8(void) const
Get the variant data.
bool IsReal(void) const
Check if variant Real is selected.
TBit GetBit(void) const
Get the variant data.
bool IsLoc(void) const
Check if variant Loc is selected.
TReal & SetReal(void)
Select the variant.
bool IsString(void) const
Check if variant String is selected.
TBytes & SetBytes(void)
Select the variant.
TInt8 & SetInt8(void)
Select the variant.
const TBytes & GetBytes(void) const
Get the variant data.
TReal GetReal(void) const
Get the variant data.
bool IsBit(void) const
Check if variant Bit is selected.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
TInt & SetInt(void)
Select the variant.
NCBI_NS_NCBI::CSerialObject * m_object
bool IsInterval(void) const
Check if variant Interval is selected.
TInt GetInt(void) const
Get the variant data.
NCBI_NS_NCBI::CUnionBuffer< CStringUTF8 > m_string_utf8
@ e_not_set
No variant selected.
const GenericPointer< typename T::ValueType > T2 value
int GetLoc(const string &acc, const string &pat, CSeq_loc &loc, CScope &scope)
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