(
void)
const;
311 bool IsVal(
void)
const;
823 virtual void Reset(
void);
861 if( m_choice != index )
862ThrowInvalidSelection(index);
871DoSelect(index, pool);
878Select(index, reset, 0);
884 returnm_choice == e_Val;
890CheckSelected(e_Val);
911 returnm_choice == e_Unknown;
929 if( m_choice != index )
930ThrowInvalidSelection(index);
939DoSelect(index, pool);
946Select(index, reset, 0);
952 returnm_choice == e_Val;
958CheckSelected(e_Val);
979 returnm_choice == e_Plus_unknown;
991 returnm_choice == e_Minus_unknown;
1009 if( m_choice != index )
1010ThrowInvalidSelection(index);
1019DoSelect(index, pool);
1026Select(index, reset, 0);
1032 returnm_choice == e_Five_prime;
1044 returnm_choice == e_Three_prime;
1150 return m_Base.NotEmpty();
1201 return m_Utr.NotEmpty();
User-defined methods of the data storage class.
Base class for all serializable objects.
unsigned int TSeqPos
Type for sequence locations and lengths.
int TSignedSeqPos
Type for signed sequence position.
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
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.
bool IsUnknown(void) const
Check if variant Unknown is selected.
TSeqtype & SetSeqtype(void)
Assign a value to Seqtype data member.
bool IsMinus_unknown(void) const
Check if variant Minus_unknown is selected.
bool IsSetStrand_minus(void) const
TRUE implies opposite transcriptional orientation to to the reference sequence Check if a value has b...
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsSetBase(void) const
Check if a value has been assigned to Base data member.
void SetMinus_unknown(void)
Select the variant.
void SetFive_prime(void)
Select the variant.
DECLARE_INTERNAL_TYPE_INFO()
E_Choice
Choice variants.
bool CanGetBase(void) const
Check if it is safe to call GetBase method.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
static const char *const sm_SelectionNames[]
bool IsSetSeqid(void) const
Check if a value has been assigned to Seqid data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool CanGetSeqtype(void) const
Check if it is safe to call GetSeqtype method.
TOffset & SetOffset(void)
Assign a value to Offset data member.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
TFuzzy & SetFuzzy(void)
Assign a value to Fuzzy data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
CNtSite_Base(const CNtSite_Base &)
const TOffset & GetOffset(void) const
Get the Offset member data.
void ResetFuzzy_offset(void)
Reset Fuzzy_offset data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
void ResetSelection(void)
Reset the selection (set it to e_not_set).
TFuzzy GetFuzzy(void) const
Get the Fuzzy member data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void Reset(void)
Reset the whole object.
TSeqid & SetSeqid(void)
Assign a value to Seqid data member.
void SetDefaultFuzzy_offset(void)
Assign default value to Fuzzy_offset data member.
void ResetBase(void)
Reset Base data member.
const TSeqid & GetSeqid(void) const
Get the Seqid member data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void ResetUtr(void)
Reset Utr data member.
CNtSite_Base & operator=(const CNtSite_Base &)
void ResetSeqid(void)
Reset Seqid data member.
void Reset(void)
Reset the whole object.
void SetUnknown(void)
Select the variant.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool IsVal(void) const
Check if variant Val is selected.
bool CanGetSeqid(void) const
Check if it is safe to call GetSeqid method.
TUtr & SetUtr(void)
Assign a value to Utr data member.
TSeqtype GetSeqtype(void) const
Get the Seqtype member data.
const TBase & GetBase(void) const
Get the Base member data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TStrand_minus GetStrand_minus(void) const
Get the Strand_minus member data.
E_Choice Which(void) const
Which variant is currently selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
Tparent::CMemberIndex< E_memberIndex, 9 > TmemberIndex
E_Choice Which(void) const
Which variant is currently selected.
TVal & SetVal(void)
Select the variant.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
C_Offset(const C_Offset &)
void ResetOffset(void)
Reset Offset data member.
DECLARE_INTERNAL_TYPE_INFO()
DECLARE_INTERNAL_TYPE_INFO()
TFuzzy_offset GetFuzzy_offset(void) const
Get the Fuzzy_offset member data.
TVal GetVal(void) const
Get the variant data.
E_Choice Which(void) const
Which variant is currently selected.
bool IsSetSeqtype(void) const
Check if a value has been assigned to Seqtype data member.
void ResetFuzzy(void)
Reset Fuzzy data member.
bool IsThree_prime(void) const
Check if variant Three_prime is selected.
bool IsSetUtr(void) const
Check if a value has been assigned to Utr data member.
bool IsPlus_unknown(void) const
Check if variant Plus_unknown is selected.
bool IsSetFuzzy(void) const
TRUE implies HGVS subexpression of the form (base + offset), Check if a value has been assigned to Fu...
C_Offset & operator=(const C_Offset &)
bool CanGetFuzzy_offset(void) const
Check if it is safe to call GetFuzzy_offset method.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
bool CanGetOffset(void) const
Check if it is safe to call GetOffset method.
bool IsFive_prime(void) const
Check if variant Five_prime is selected.
bool CanGetUtr(void) const
Check if it is safe to call GetUtr method.
void SetDefaultStrand_minus(void)
Assign default value to Strand_minus data member.
virtual void Reset(void)
Reset the whole object.
TBase & SetBase(void)
Assign a value to Base data member.
TStrand_minus & SetStrand_minus(void)
Assign a value to Strand_minus data member.
TVal & SetVal(void)
Select the variant.
bool IsSetOffset(void) const
Check if a value has been assigned to Offset data member.
virtual ~CNtSite_Base(void)
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
E_Choice
Choice variants.
C_Base & operator=(const C_Base &)
void Reset(void)
Reset the whole object.
static const char *const sm_SelectionNames[]
void SetPlus_unknown(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TVal GetVal(void) const
Get the variant data.
void SetThree_prime(void)
Select the variant.
bool IsSetFuzzy_offset(void) const
TRUE implies HGVS subexpression of the form base+(offset) Check if a value has been assigned to Fuzzy...
bool IsVal(void) const
Check if variant Val is selected.
bool CanGetStrand_minus(void) const
Check if it is safe to call GetStrand_minus method.
TFuzzy_offset & SetFuzzy_offset(void)
Assign a value to Fuzzy_offset data member.
static const char *const sm_SelectionNames[]
bool CanGetFuzzy(void) const
Check if it is safe to call GetFuzzy method.
DECLARE_INTERNAL_TYPE_INFO()
void ResetStrand_minus(void)
Reset Strand_minus data member.
void ResetSeqtype(void)
Reset Seqtype data member.
C_Utr & operator=(const C_Utr &)
E_Choice
Choice variants.
const TUtr & GetUtr(void) const
Get the Utr member data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void SetDefaultFuzzy(void)
Assign default value to Fuzzy data member.
@ e_MaxChoice
== e_Unknown+1
@ e_not_set
No variant selected.
@ e_MaxChoice
== e_Three_prime+1
@ e_MaxChoice
== e_Minus_unknown+1
@ e_not_set
No variant selected.
@ e_not_set
No variant selected.
unsigned int
A callback function used to compare two keys in a database.
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