ResetSelection(
void);
142E_Choice Which(
void)
const;
148 voidCheckSelected(E_Choice index)
const;
154NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
162 static stringSelectionName(E_Choice index);
193 boolIsLiteral(
void)
const;
199 const TLiteral& GetLiteral(
void)
const;
219 boolIsReference(
void)
const;
225 const TReference& GetReference(
void)
const;
248 static const char*
constsm_SelectionNames[];
254 typedeflist< CRef< CModel_descr > >
TDescr;
276 boolIsSetId(
void)
const;
283 boolCanGetId(
void)
const;
286 voidResetId(
void);
313 boolIsSetDescr(
void)
const;
320 boolCanGetDescr(
void)
const;
323 voidResetDescr(
void);
329 const TDescr& GetDescr(
void)
const;
335 TDescr& SetDescr(
void);
344 boolIsSetCoordinates(
void)
const;
351 boolCanGetCoordinates(
void)
const;
354 voidResetCoordinates(
void);
375 virtual voidReset(
void);
408 if( m_choice != index )
409ThrowInvalidSelection(index);
418DoSelect(index, pool);
425Select(index, reset, 0);
431 returnm_choice == e_Literal;
437 returnm_choice == e_Reference;
User-defined methods of the data storage class.
CChem_graph_alignment â.
Atomic coordinates may be assigned literally or by reference to another biostruc.
CModel_coordinate_set_id â.
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)
If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...
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_MMDB2_EXPORT
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
NCBI_NS_NCBI::CSerialObject * m_object
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
list< CRef< CModel_descr > > TDescr
TDescr & SetDescr(void)
Assign a value to Descr data member.
const TDescr & GetDescr(void) const
Get the Descr member data.
const TCoordinates & GetCoordinates(void) const
Get the Coordinates member data.
CModel_coordinate_set_Base & operator=(const CModel_coordinate_set_Base &)
bool IsSetDescr(void) const
Check if a value has been assigned to Descr data member.
C_Coordinates & operator=(const C_Coordinates &)
bool CanGetDescr(void) const
Check if it is safe to call GetDescr method.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
TCoordinates & SetCoordinates(void)
Assign a value to Coordinates data member.
DECLARE_INTERNAL_TYPE_INFO()
C_Coordinates(const C_Coordinates &)
void ResetCoordinates(void)
Reset Coordinates data member.
DECLARE_INTERNAL_TYPE_INFO()
E_Choice Which(void) const
Which variant is currently selected.
E_Choice
Choice variants.
CRef< TCoordinates > m_Coordinates
CModel_coordinate_set_id TId
CChem_graph_alignment TReference
const TId & GetId(void) const
Get the Id member data.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool IsReference(void) const
Check if variant Reference is selected.
C_Coordinates TCoordinates
list< CRef< CModel_descr > > m_Descr
bool CanGetCoordinates(void) const
Check if it is safe to call GetCoordinates method.
bool IsLiteral(void) const
Check if variant Literal is selected.
bool CanGetId(void) const
Check if it is safe to call GetId method.
TId & SetId(void)
Assign a value to Id data member.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
CModel_coordinate_set_Base(const CModel_coordinate_set_Base &)
void ResetId(void)
Reset Id data member.
bool IsSetCoordinates(void) const
Check if a value has been assigned to Coordinates data member.
CModel_coordinate_set_id m_Id
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