m_object->RemoveReference();
116(m_object =
new(pool) ncbi::objects::CDate())->
AddReference();
119m_Binary.Construct();
122m_Bitlist.Construct();
125m_string.Construct();
150 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
155 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
166CheckSelected(e_Date);
167 return*
static_cast<const TDate*
>(m_object);
173 return*
static_cast<TDate*
>(m_object);
179 if( m_choice != e_Date || m_object != ptr ) {
204 info->CodeVersion(22400);
205 info->DataSpec(ncbi::EDataSpec::eASN);
261 info->RandomOrder();
262 info->CodeVersion(22400);
263 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_CHOICE_INFO("", CPC_InfoData_Base::C_Value)
BEGIN_NAMED_BASE_CLASS_INFO("PC-InfoData", CPC_InfoData)
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 ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define SET_CLASS_MODULE(ModuleName)
#define ADD_NAMED_STD_CHOICE_VARIANT(MemberAlias, MemberName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
#define ADD_NAMED_BUF_CHOICE_VARIANT(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
void AddReference(void) const
Add reference to 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.
virtual ~CPC_InfoData_Base(void)
void ResetValue(void)
Reset Value data member.
static const char *const sm_SelectionNames[]
E_Choice
Choice variants.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
TSval & SetSval(void)
Select the variant.
void Reset(void)
Reset the whole object.
TUrn & SetUrn(void)
Assign a value to Urn data member.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
TDate & SetDate(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TValue & SetValue(void)
Assign a value to Value data member.
virtual void Reset(void)
Reset the whole object.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TDate & GetDate(void) const
Get the variant data.
void ResetUrn(void)
Reset Urn data member.
@ 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