ResetSelection(
void);
133E_Choice Which(
void)
const;
139 voidCheckSelected(E_Choice index)
const;
145NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
153 static stringSelectionName(E_Choice index);
184 boolIsLink(
void)
const;
190 const TLink& GetLink(
void)
const;
196 TLink& SetLink(
void);
210 boolIsItem(
void)
const;
216 const TItem& GetItem(
void)
const;
222 TItem& SetItem(
void);
239 static const char*
constsm_SelectionNames[];
269 boolIsSetData(
void)
const;
276 boolCanGetData(
void)
const;
279 voidResetData(
void);
285 const TData& GetData(
void)
const;
297 TData& SetData(
void);
307 boolIsSetView_plugin(
void)
const;
314 boolCanGetView_plugin(
void)
const;
317 voidResetView_plugin(
void);
346 boolIsSetView_id(
void)
const;
353 boolCanGetView_id(
void)
const;
356 voidResetView_id(
void);
384 boolIsSetView_memento(
void)
const;
391 boolCanGetView_memento(
void)
const;
394 voidResetView_memento(
void);
415 virtual voidReset(
void);
449 if( m_choice != index )
450ThrowInvalidSelection(index);
459DoSelect(index, pool);
466Select(index, reset, 0);
472 returnm_choice == e_Link;
478 returnm_choice == e_Item;
Base class for all serializable objects.
CViewDescriptor_Base â.
Defines to provide correct exporting from DLLs in Windows.
#define NCBI_GBPROJ_EXPORT
static char UnassignedByte(void)
void ThrowUnassigned(TMemberIndex index) const
static string UnassignedString(void)
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.
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
bool IsSetView_plugin(void) const
bool IsItem(void) const
Check if variant Item is selected.
const TData & GetData(void) const
Get the Data member data.
CRef< TView_memento > m_View_memento
TView_id GetView_id(void) const
Get the View_id member data.
void ResetData(void)
Reset Data data member.
const TView_plugin & GetView_plugin(void) const
Get the View_plugin member data.
E_Choice
Choice variants.
TData & SetData(void)
Assign a value to Data data member.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
bool CanGetData(void) const
Check if it is safe to call GetData method.
CViewMemento TView_memento
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
C_Data & operator=(const C_Data &)
CViewDescriptor_Base(const CViewDescriptor_Base &)
TView_id & SetView_id(void)
Assign a value to View_id data member.
bool CanGetView_plugin(void) const
Check if it is safe to call GetView_plugin method.
CViewDescriptor_Base & operator=(const CViewDescriptor_Base &)
bool IsSetView_memento(void) const
const TView_memento & GetView_memento(void) const
Get the View_memento member data.
bool CanGetView_memento(void) const
Check if it is safe to call GetView_memento method.
DECLARE_INTERNAL_TYPE_INFO()
bool IsSetView_id(void) const
TView_plugin & SetView_plugin(void)
Assign a value to View_plugin data member.
bool IsLink(void) const
Check if variant Link is selected.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
void ResetView_id(void)
Reset View_id data member.
DECLARE_INTERNAL_TYPE_INFO()
E_Choice Which(void) const
Which variant is currently selected.
bool CanGetView_id(void) const
Check if it is safe to call GetView_id method.
bool IsSetData(void) const
Check if a value has been assigned to Data data member.
NCBI_NS_NCBI::CSerialObject * m_object
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