ResetSelection(
void);
132E_Choice Which(
void)
const;
138 voidCheckSelected(E_Choice index)
const;
144NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
152 static stringSelectionName(E_Choice index);
184 boolIsEntrys(
void)
const;
190 const TEntrys& GetEntrys(
void)
const;
205 boolIsAnnots(
void)
const;
211 const TAnnots& GetAnnots(
void)
const;
226 boolIsDelete(
void)
const;
232 const TDelete& GetDelete(
void)
const;
250 static const char*
constsm_SelectionNames[];
281 boolIsSetSub(
void)
const;
288 boolCanGetSub(
void)
const;
291 voidResetSub(
void);
297 const TSub& GetSub(
void)
const;
309 TSub& SetSub(
void);
318 boolIsSetData(
void)
const;
325 boolCanGetData(
void)
const;
328 voidResetData(
void);
334 const TData& GetData(
void)
const;
346 TData& SetData(
void);
349 virtual voidReset(
void);
381 if( m_choice != index )
382ThrowInvalidSelection(index);
391DoSelect(index, pool);
398Select(index, reset, 0);
404 returnm_choice == e_Entrys;
410CheckSelected(e_Entrys);
424 returnm_choice == e_Annots;
430CheckSelected(e_Annots);
444 returnm_choice == e_Delete;
450CheckSelected(e_Delete);
464 return m_Sub.NotEmpty();
Base class for all serializable objects.
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty â pointing to an object and has a non-null value.
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_SUBMIT_EXPORT
NCBI_NS_NCBI::CUnionBuffer< TDelete > m_Delete
DECLARE_INTERNAL_TYPE_INFO()
NCBI_NS_NCBI::CUnionBuffer< TAnnots > m_Annots
TEntrys & SetEntrys(void)
Select the variant.
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
bool IsAnnots(void) const
Check if variant Annots is selected.
list< CRef< CSeq_entry > > TEntrys
void ResetSub(void)
Reset Sub data member.
E_Choice
Choice variants.
TDelete & SetDelete(void)
Select the variant.
TData & SetData(void)
Assign a value to Data data member.
Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex
list< CRef< CSeq_annot > > TAnnots
E_Choice Which(void) const
Which variant is currently selected.
const TDelete & GetDelete(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
const TEntrys & GetEntrys(void) const
Get the variant data.
CSeq_submit_Base(const CSeq_submit_Base &)
NCBI_NS_NCBI::CUnionBuffer< TEntrys > m_Entrys
void * m_dummy_pointer_for_alignment
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
TSub & SetSub(void)
Assign a value to Sub data member.
const TAnnots & GetAnnots(void) const
Get the variant data.
TAnnots & SetAnnots(void)
Select the variant.
C_Data & operator=(const C_Data &)
const TData & GetData(void) const
Get the Data member data.
const TSub & GetSub(void) const
Get the Sub member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetData(void)
Reset Data data member.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
list< CRef< CSeq_id > > TDelete
bool IsSetSub(void) const
Check if a value has been assigned to Sub data member.
bool IsEntrys(void) const
Check if variant Entrys is selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool CanGetSub(void) const
Check if it is safe to call GetSub method.
bool IsDelete(void) const
Check if variant Delete is selected.
bool CanGetData(void) const
Check if it is safe to call GetData method.
CSeq_submit_Base & operator=(const CSeq_submit_Base &)
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