ResetSelection(
void);
126E_Choice Which(
void)
const;
132 voidCheckSelected(E_Choice index)
const;
138NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
146 static stringSelectionName(E_Choice index);
177 boolIsLiteral(
void)
const;
183 const TLiteral& GetLiteral(
void)
const;
203 boolIsLoc(
void)
const;
215 TLoc& SetLoc(
void);
228 boolIsThis(
void)
const;
231 voidSetThis(
void);
243 static const char*
constsm_SelectionNames[];
253eAction_ins_before = 3
285 boolIsSetSeq(
void)
const;
292 boolCanGetSeq(
void)
const;
295 voidResetSeq(
void);
301 const TSeq& GetSeq(
void)
const;
313 TSeq& SetSeq(
void);
326 boolIsSetMultiplier(
void)
const;
333 boolCanGetMultiplier(
void)
const;
336 voidResetMultiplier(
void);
363 boolIsSetMultiplier_fuzz(
void)
const;
370 boolCanGetMultiplier_fuzz(
void)
const;
373 voidResetMultiplier_fuzz(
void);
400 boolIsSetAction(
void)
const;
407 boolCanGetAction(
void)
const;
410 voidResetAction(
void);
413 voidSetDefaultAction(
void);
419 TActionGetAction(
void)
const;
434 virtual voidReset(
void);
468 if( m_choice != index )
469ThrowInvalidSelection(index);
478DoSelect(index, pool);
485Select(index, reset, 0);
491 returnm_choice == e_Literal;
497 returnm_choice == e_Loc;
503 returnm_choice == e_This;
515 return m_Seq.NotEmpty();
Base class for all serializable objects.
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_SEQFEAT_EXPORT
TAction GetAction(void) const
Get the Action member data.
bool CanGetMultiplier(void) const
Check if it is safe to call GetMultiplier method.
E_Choice Which(void) const
Which variant is currently selected.
const TMultiplier_fuzz & GetMultiplier_fuzz(void) const
Get the Multiplier_fuzz member data.
CDelta_item_Base(const CDelta_item_Base &)
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsSetSeq(void) const
Check if a value has been assigned to Seq data member.
bool IsSetAction(void) const
Check if a value has been assigned to Action data member.
TAction & SetAction(void)
Assign a value to Action data member.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TSeq & GetSeq(void) const
Get the Seq member data.
DECLARE_INTERNAL_TYPE_INFO()
void SetThis(void)
Select the variant.
void ResetAction(void)
Reset Action data member.
CDelta_item_Base & operator=(const CDelta_item_Base &)
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
CInt_fuzz TMultiplier_fuzz
TMultiplier GetMultiplier(void) const
Get the Multiplier member data.
bool IsSetMultiplier_fuzz(void) const
Check if a value has been assigned to Multiplier_fuzz data member.
bool CanGetAction(void) const
Check if it is safe to call GetAction method.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
bool IsLiteral(void) const
Check if variant Literal is selected.
TMultiplier & SetMultiplier(void)
Assign a value to Multiplier data member.
bool IsSetMultiplier(void) const
Multiplier allows representing a tandem, e.g.
E_Choice
Choice variants.
void ResetMultiplier(void)
Reset Multiplier data member.
void SetDefaultAction(void)
Assign default value to Action data member.
bool CanGetMultiplier_fuzz(void) const
Check if it is safe to call GetMultiplier_fuzz method.
NCBI_NS_NCBI::CSerialObject * m_object
bool IsThis(void) const
Check if variant This is selected.
DECLARE_INTERNAL_TYPE_INFO()
bool IsLoc(void) const
Check if variant Loc is selected.
CRef< TMultiplier_fuzz > m_Multiplier_fuzz
bool CanGetSeq(void) const
Check if it is safe to call GetSeq method.
C_Seq & operator=(const C_Seq &)
@ eAction_morph
replace len(seq) positions starting with location.start with seq
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