Reset(
void);
105 virtual voidResetSelection(
void);
111E_Choice Which(
void)
const;
117 voidCheckSelected(E_Choice index)
const;
123NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
131 static stringSelectionName(E_Choice index);
150 typedeflist< CRef< CResidue_interval_pntr > >
TInterval;
162 boolIsExplicit(
void)
const;
168 const TExplicit& GetExplicit(
void)
const;
188 boolIsInterval(
void)
const;
194 const TInterval& GetInterval(
void)
const;
212 static const char*
constsm_SelectionNames[];
CResidue_explicit_pntrs â.
CResidue_interval_pntr â.
Base class for all serializable objects.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_MMDB3_EXPORT
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
list< CRef< CResidue_interval_pntr > > TInterval
bool IsInterval(void) const
Check if variant Interval is selected.
const TInterval & GetInterval(void) const
Get the variant data.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
TInterval & SetInterval(void)
Select the variant.
E_Choice Which(void) const
Which variant is currently selected.
CResidue_pntrs_Base & operator=(const CResidue_pntrs_Base &)
NCBI_NS_NCBI::CUnionBuffer< TInterval > m_Interval
DECLARE_INTERNAL_TYPE_INFO()
NCBI_NS_NCBI::CUnionBuffer< TInterval > m_Interval
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
CResidue_pntrs_Base(const CResidue_pntrs_Base &)
E_Choice
Choice variants.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
CResidue_explicit_pntrs TExplicit
NCBI_NS_NCBI::CSerialObject * m_object
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsExplicit(void) const
Check if variant Explicit is selected.
@ e_not_set
No variant selected.
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