ResetSelection(
void);
127E_Choice Which(
void)
const;
133 voidCheckSelected(E_Choice index)
const;
139NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
147 static stringSelectionName(E_Choice index);
179 boolIsNcbieaa(
void)
const;
206 boolIsNcbi8aa(
void)
const;
233 boolIsNcbistdaa(
void)
const;
263 static const char*
constsm_SelectionNames[];
294 boolIsSetLoc(
void)
const;
301 boolCanGetLoc(
void)
const;
304 voidResetLoc(
void);
322 TLoc& SetLoc(
void);
331 boolIsSetAa(
void)
const;
338 boolCanGetAa(
void)
const;
341 voidResetAa(
void);
347 const TAa& GetAa(
void)
const;
362 virtual voidReset(
void);
394 if( m_choice != index )
395ThrowInvalidSelection(index);
404DoSelect(index, pool);
411Select(index, reset, 0);
417 returnm_choice == e_Ncbieaa;
423CheckSelected(e_Ncbieaa);
444 returnm_choice == e_Ncbi8aa;
450CheckSelected(e_Ncbi8aa);
471 returnm_choice == e_Ncbistdaa;
477CheckSelected(e_Ncbistdaa);
492m_Ncbistdaa =
value;
498 return m_Loc.NotEmpty();
528 return m_Aa.NotEmpty();
specific codon exceptions NCBIstdaa code
Base class for all serializable objects.
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
CCode_break_Base(const CCode_break_Base &)
void ResetAa(void)
Reset Aa data member.
TLoc & SetLoc(void)
Assign a value to Loc data member.
TNcbi8aa GetNcbi8aa(void) const
Get the variant data.
E_Choice Which(void) const
Which variant is currently selected.
C_Aa & operator=(const C_Aa &)
const TLoc & GetLoc(void) const
Get the Loc member data.
bool CanGetLoc(void) const
Check if it is safe to call GetLoc method.
bool IsNcbistdaa(void) const
Check if variant Ncbistdaa is selected.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ResetLoc(void)
Reset Loc data member.
TAa & SetAa(void)
Assign a value to Aa data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
TNcbi8aa & SetNcbi8aa(void)
Select the variant.
TNcbistdaa & SetNcbistdaa(void)
Select the variant.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsNcbieaa(void) const
Check if variant Ncbieaa is selected.
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
bool IsSetAa(void) const
Check if a value has been assigned to Aa data member.
const TAa & GetAa(void) const
Get the Aa member data.
DECLARE_INTERNAL_TYPE_INFO()
TNcbieaa GetNcbieaa(void) const
Get the variant data.
TNcbieaa & SetNcbieaa(void)
Select the variant.
CCode_break_Base & operator=(const CCode_break_Base &)
bool CanGetAa(void) const
Check if it is safe to call GetAa method.
bool IsNcbi8aa(void) const
Check if variant Ncbi8aa is selected.
TNcbistdaa GetNcbistdaa(void) const
Get the variant data.
bool IsSetLoc(void) const
location of exception Check if a value has been assigned to Loc data member.
E_Choice
Choice variants.
@ e_Ncbi8aa
NCBI8aa code.
@ e_Ncbieaa
ASCII value of NCBIeaa code.
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