Reset(
void);
114 virtual voidResetSelection(
void);
120E_Choice Which(
void)
const;
126 voidCheckSelected(E_Choice index)
const;
132NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
140 static stringSelectionName(E_Choice index);
175 boolIsBlock(
void)
const;
181 const TBlock& GetBlock(
void)
const;
187 TBlock& SetBlock(
void);
201 boolIsBoolean(
void)
const;
207 const TBoolean& GetBoolean(
void)
const;
227 boolIsEnum(
void)
const;
233 const TEnum& GetEnum(
void)
const;
239 TEnum& SetEnum(
void);
253 boolIsText(
void)
const;
259 const TText& GetText(
void)
const;
265 TText& SetText(
void);
279 boolIsUse_template(
void)
const;
306 boolIsUser(
void)
const;
312 const TUser& GetUser(
void)
const;
318 TUser& SetUser(
void);
331 boolIsNull(
void)
const;
334 voidSetNull(
void);
346 static const char*
constsm_SelectionNames[];
User-defined methods of the data storage class.
Forms for various ASN.1 components.
Base class for all serializable objects.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_OBJPRT_EXPORT
bool IsNull(void) const
Check if variant Null is selected.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
bool IsEnum(void) const
Check if variant Enum is selected.
CPrintFormBoolean TBoolean
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsBoolean(void) const
Check if variant Boolean is selected.
CPrintForm_Base(const CPrintForm_Base &)
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
const TUse_template & GetUse_template(void) const
Get the variant data.
DECLARE_INTERNAL_TYPE_INFO()
TUse_template & SetUse_template(void)
Select the variant.
bool IsBlock(void) const
Check if variant Block is selected.
NCBI_NS_NCBI::CUnionBuffer< TUse_template > m_Use_template
NCBI_NS_NCBI::CSerialObject * m_object
CTemplateName TUse_template
bool IsText(void) const
Check if variant Text is selected.
NCBI_NS_NCBI::CUnionBuffer< TUse_template > m_Use_template
virtual void ResetSelection(void)
Reset the selection (set it to e_not_set).
void SetNull(void)
Select the variant.
E_Choice Which(void) const
Which variant is currently selected.
bool IsUse_template(void) const
Check if variant Use_template is selected.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
bool IsUser(void) const
Check if variant User is selected.
CPrintForm_Base & operator=(const CPrintForm_Base &)
E_Choice
Choice variants.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
@ 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