m_object->RemoveReference();
76(m_object =
new(pool) ncbi::objects::CViewDataLink())->
AddReference();
79(m_object =
new(pool) ncbi::objects::CProjectItem())->
AddReference();
95 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
100 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
105CheckSelected(e_Link);
106 return*
static_cast<const TLink*
>(m_object);
112 return*
static_cast<TLink*
>(m_object);
118 if( m_choice != e_Link || m_object != ptr ) {
127CheckSelected(e_Item);
128 return*
static_cast<const TItem*
>(m_object);
134 return*
static_cast<TItem*
>(m_object);
140 if( m_choice != e_Item || m_object != ptr ) {
156 info->CodeVersion(22400);
157 info->DataSpec(ncbi::EDataSpec::eASN);
226 info->RandomOrder();
227 info->CodeVersion(22400);
228 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
BEGIN_NAMED_CHOICE_INFO("", CViewDescriptor_Base::C_Data)
BEGIN_NAMED_BASE_CLASS_INFO("ViewDescriptor", CViewDescriptor)
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_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_STD_MEMBER(MemberAlias, MemberName)
#define SET_CLASS_MODULE(ModuleName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
void Reset(void)
Reset reference object.
bool IsAllocatedInPool(void) const THROWS_NONE
Check if object is allocated in memory pool (not system heap)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TView_memento & SetView_memento(void)
Assign a value to View_memento data member.
const TLink & GetLink(void) const
Get the variant data.
CRef< TView_memento > m_View_memento
void ResetView_memento(void)
Reset View_memento data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
void ResetData(void)
Reset Data data member.
E_Choice
Choice variants.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
TData & SetData(void)
Assign a value to Data data member.
void Reset(void)
Reset the whole object.
static const char *const sm_SelectionNames[]
TItem & SetItem(void)
Select the variant.
CViewMemento TView_memento
virtual ~CViewDescriptor_Base(void)
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TLink & SetLink(void)
Select the variant.
void ResetView_plugin(void)
Reset View_plugin data member.
virtual void Reset(void)
Reset the whole object.
const TItem & GetItem(void) const
Get the variant data.
void ResetView_id(void)
Reset View_id data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
CViewDescriptor_Base(void)
@ 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