IsSetMax(
void)
const;
134 boolCanGetMax(
void)
const;
137 voidResetMax(
void);
143 TMaxGetMax(
void)
const;
155 TMax& SetMax(
void);
164 boolIsSetMin(
void)
const;
171 boolCanGetMin(
void)
const;
174 voidResetMin(
void);
180 TMinGetMin(
void)
const;
192 TMin& SetMin(
void);
238 virtual voidReset(
void);
241 virtual voidResetSelection(
void);
247E_Choice Which(
void)
const;
253 voidCheckSelected(E_Choice index)
const;
259NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
267 static stringSelectionName(E_Choice index);
301 boolIsP_m(
void)
const;
307 TP_mGetP_m(
void)
const;
313 TP_m& SetP_m(
void);
328 boolIsRange(
void)
const;
334 const TRange& GetRange(
void)
const;
340 TRange& SetRange(
void);
354 boolIsPct(
void)
const;
360 TPctGetPct(
void)
const;
366 TPct& SetPct(
void);
381 boolIsLim(
void)
const;
387 TLimGetLim(
void)
const;
393 TLim& SetLim(
void);
408 boolIsAlt(
void)
const;
414 const TAlt& GetAlt(
void)
const;
420 TAlt& SetAlt(
void);
432 static const char*
constsm_SelectionNames[];
438NCBI_NS_NCBI::CUnionBuffer<TAlt>
m_Alt;
468m_set_State[0] &= ~0x3;
484m_set_State[0] |= 0x3;
495m_set_State[0] |= 0x1;
502 return((m_set_State[0] & 0xc) != 0);
515m_set_State[0] &= ~0xc;
531m_set_State[0] |= 0xc;
542m_set_State[0] |= 0x4;
**** Int-fuzz ********************************************** * * uncertainties in integer values
Base class for all serializable objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
#define ENUM_METHOD_NAME(EnumName)
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GENERAL_EXPORT
bool IsPct(void) const
Check if variant Pct is selected.
DECLARE_INTERNAL_TYPE_INFO()
TMin & SetMin(void)
Assign a value to Min data member.
bool IsP_m(void) const
Check if variant P_m is selected.
bool IsLim(void) const
Check if variant Lim is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void ResetMin(void)
Reset Min data member.
C_Range & operator=(const C_Range &)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
CInt_fuzz_Base(const CInt_fuzz_Base &)
TAlt & SetAlt(void)
Select the variant.
TPct GetPct(void) const
Get the variant data.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetMax(void) const
Check if a value has been assigned to Max data member.
NCBI_NS_NCBI::CUnionBuffer< TAlt > m_Alt
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TLim GetLim(void) const
Get the variant data.
TP_m & SetP_m(void)
Select the variant.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
TMax & SetMax(void)
Assign a value to Max data member.
TMin GetMin(void) const
Get the Min member data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
E_Choice
Choice variants.
NCBI_NS_NCBI::CUnionBuffer< TAlt > m_Alt
E_Choice Which(void) const
Which variant is currently selected.
TLim & SetLim(void)
Select the variant.
NCBI_NS_NCBI::CSerialObject * m_object
const TAlt & GetAlt(void) const
Get the variant data.
bool IsRange(void) const
Check if variant Range is selected.
TPct & SetPct(void)
Select the variant.
TMax GetMax(void) const
Get the Max member data.
TP_m GetP_m(void) const
Get the variant data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void ResetMax(void)
Reset Max data member.
bool CanGetMax(void) const
Check if it is safe to call GetMax method.
CInt_fuzz_Base & operator=(const CInt_fuzz_Base &)
bool CanGetMin(void) const
Check if it is safe to call GetMin method.
bool IsSetMin(void) const
Check if a value has been assigned to Min data member.
bool IsAlt(void) const
Check if variant Alt is selected.
@ e_not_set
No variant selected.
@ e_Pct
% plus or minus (x10) 0-1000
@ e_Alt
set of alternatives for the integer
@ e_P_m
plus or minus fixed amount
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