ResetSelection(
void);
153E_Choice Which(
void)
const;
159 voidCheckSelected(E_Choice index)
const;
165NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
173 static stringSelectionName(E_Choice index);
205 boolIsName(
void)
const;
211 const TName& GetName(
void)
const;
217 TName& SetName(
void);
232 boolIsTRNA(
void)
const;
238 const TTRNA& GetTRNA(
void)
const;
244 TTRNA& SetTRNA(
void);
258 boolIsGen(
void)
const;
264 const TGen& GetGen(
void)
const;
270 TGen& SetGen(
void);
287 static const char*
constsm_SelectionNames[];
290NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string>
m_string;
318 boolIsSetType(
void)
const;
325 boolCanGetType(
void)
const;
328 voidResetType(
void);
334 TTypeGetType(
void)
const;
346 TType& SetType(
void);
355 boolIsSetPseudo(
void)
const;
362 boolCanGetPseudo(
void)
const;
365 voidResetPseudo(
void);
371 TPseudoGetPseudo(
void)
const;
393 boolIsSetExt(
void)
const;
400 boolCanGetExt(
void)
const;
403 voidResetExt(
void);
409 const TExt& GetExt(
void)
const;
421 TExt& SetExt(
void);
424 virtual voidReset(
void);
457 if( m_choice != index )
458ThrowInvalidSelection(index);
467DoSelect(index, pool);
474Select(index, reset, 0);
480 returnm_choice == e_Name;
486CheckSelected(e_Name);
500 returnm_choice == e_TRNA;
506 returnm_choice == e_Gen;
606 return m_Ext.NotEmpty();
*** rnas *********************************************** * * various rnas * minimal RNA sequence
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
E_Choice
Choice variants.
CRNA_ref_Base(const CRNA_ref_Base &)
TName & SetName(void)
Select the variant.
C_Ext & operator=(const C_Ext &)
CRNA_ref_Base & operator=(const CRNA_ref_Base &)
TType GetType(void) const
Get the Type member data.
E_Choice Which(void) const
Which variant is currently selected.
bool IsTRNA(void) const
Check if variant TRNA is selected.
DECLARE_INTERNAL_TYPE_INFO()
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
EType
type of RNA feature
bool IsSetExt(void) const
generic fields for ncRNA, tmRNA, miscRNA Check if a value has been assigned to Ext data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsGen(void) const
Check if variant Gen is selected.
DECLARE_INTERNAL_TYPE_INFO()
TType & SetType(void)
Assign a value to Type data member.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool CanGetExt(void) const
Check if it is safe to call GetExt method.
void ResetType(void)
Reset Type data member.
TPseudo & SetPseudo(void)
Assign a value to Pseudo data member.
TPseudo GetPseudo(void) const
Get the Pseudo member data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool CanGetType(void) const
Check if it is safe to call GetType method.
bool IsSetType(void) const
Check if a value has been assigned to Type data member.
const TName & GetName(void) const
Get the variant data.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
NCBI_NS_NCBI::CSerialObject * m_object
bool IsSetPseudo(void) const
Check if a value has been assigned to Pseudo data member.
void ResetPseudo(void)
Reset Pseudo data member.
bool CanGetPseudo(void) const
Check if it is safe to call GetPseudo method.
const TExt & GetExt(void) const
Get the Ext member data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsName(void) const
Check if variant Name is selected.
@ e_Name
for naming "other" type
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