Reset(
void);
116 virtual voidResetSelection(
void);
122E_Choice Which(
void)
const;
128 voidCheckSelected(E_Choice index)
const;
134NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
142 static stringSelectionName(E_Choice index);
176 boolIsName(
void)
const;
182 const TName& GetName(
void)
const;
188 TName& SetName(
void);
203 boolIsPdb_comment(
void)
const;
230 boolIsOther_comment(
void)
const;
257 boolIsHistory(
void)
const;
263 const THistory& GetHistory(
void)
const;
283 boolIsAttribution(
void)
const;
312 static const char*
constsm_SelectionNames[];
315NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string>
m_string;
The description of a biostruc refers to both the reported chemical and spatial structure of a biomole...
Base class for all serializable objects.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_MMDB1_EXPORT
const TPdb_comment & GetPdb_comment(void) const
Get the variant data.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
const TName & GetName(void) const
Get the variant data.
NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string
CBiostruc_history THistory
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
bool IsOther_comment(void) const
Check if variant Other_comment is selected.
TName & SetName(void)
Select the variant.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
E_Choice Which(void) const
Which variant is currently selected.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsName(void) const
Check if variant Name is selected.
DECLARE_INTERNAL_TYPE_INFO()
E_Choice
Choice variants.
bool IsAttribution(void) const
Check if variant Attribution is selected.
bool IsHistory(void) const
Check if variant History is selected.
CBiostruc_descr_Base(const CBiostruc_descr_Base &)
bool IsPdb_comment(void) const
Check if variant Pdb_comment is selected.
CBiostruc_descr_Base & operator=(const CBiostruc_descr_Base &)
NCBI_NS_NCBI::CSerialObject * m_object
TPdb_comment & SetPdb_comment(void)
Select the variant.
TOther_comment & SetOther_comment(void)
Select the variant.
const TOther_comment & GetOther_comment(void) const
Get the variant data.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
@ 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