m_object->RemoveReference();
78(m_object =
new(pool) ncbi::objects::CSeq_id())->
AddReference();
81(m_object =
new(pool) ncbi::objects::CID2S_Gi_Range())->
AddReference();
98 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
103 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
108CheckSelected(e_Seq_id);
109 return*
static_cast<const TSeq_id*
>(m_object);
115 return*
static_cast<TSeq_id*
>(m_object);
121 if( m_choice != e_Seq_id || m_object != ptr ) {
130CheckSelected(e_Gi_range);
131 return*
static_cast<const TGi_range*
>(m_object);
137 return*
static_cast<TGi_range*
>(m_object);
143 if( m_choice != e_Gi_range || m_object != ptr ) {
146m_choice = e_Gi_range;
160 info->CodeVersion(22400);
161 info->DataSpec(ncbi::EDataSpec::eASN);
188 info->RandomOrder();
189 info->CodeVersion(22400);
190 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_CHOICE_INFO("", CID2S_Bioseq_Ids_Base::C_E)
BEGIN_NAMED_BASE_IMPLICIT_CLASS_INFO("ID2S-Bioseq-Ids", CID2S_Bioseq_Ids)
User-defined methods of the data storage class.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define ADD_NAMED_MEMBER(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define SET_CLASS_MODULE(ModuleName)
#define ADD_NAMED_STD_CHOICE_VARIANT(MemberAlias, MemberName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TGi_range & GetGi_range(void) const
Get the variant data.
list< CRef< C_E > > m_data
TSeq_id & SetSeq_id(void)
Select the variant.
virtual ~CID2S_Bioseq_Ids_Base(void)
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void Reset(void)
Reset the whole object.
static const char *const sm_SelectionNames[]
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
CID2S_Bioseq_Ids_Base(void)
TGi_range & SetGi_range(void)
Select the variant.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TSeq_id & GetSeq_id(void) const
Get the variant data.
void Reset(void)
Reset data member.
E_Choice
Choice variants.
@ e_not_set
No variant selected.
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