66 m_object->RemoveReference();
81 (m_object =
new(pool) ncbi::objects::CPC_Source())->
AddReference();
84 (m_object =
new(pool) ncbi::objects::CPC_AssayDescription())->
AddReference();
87 (m_object =
new(pool) ncbi::objects::CPC_ID())->
AddReference();
105 return NCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
110 throw NCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
115 CheckSelected(e_Aid_source);
128 if ( m_choice != e_Aid_source || m_object != ptr ) {
131 m_choice = e_Aid_source;
137 CheckSelected(e_Descr);
138 return *
static_cast<const TDescr*
>(m_object);
144 return *
static_cast<TDescr*
>(m_object);
150 if ( m_choice != e_Descr || m_object != ptr ) {
159 CheckSelected(e_Aidver);
160 return *
static_cast<const TAidver*
>(m_object);
166 return *
static_cast<TAidver*
>(m_object);
172 if ( m_choice != e_Aidver || m_object != ptr ) {
190 info->CodeVersion(22400);
191 info->DataSpec(ncbi::EDataSpec::eASN);
248 info->CodeVersion(22400);
249 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
User-defined methods of the data storage class.
Assay Description or pre-existing Identifier.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define ADD_NAMED_MEMBER(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
#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)
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.
@ e_not_set
No variant selected.
static const char *const sm_SelectionNames[]
void ResetAssay(void)
Reset Assay data member.
void ResetRevoke(void)
Reset Revoke data member.
TDescr & SetDescr(void)
Select the variant.
TAidver & SetAidver(void)
Select the variant.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
vector< CRef< CPC_AssayResults > > m_Data
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TDescr & GetDescr(void) const
Get the variant data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
virtual void Reset(void)
Reset the whole object.
const TAidver & GetAidver(void) const
Get the variant data.
const TAid_source & GetAid_source(void) const
Get the variant data.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
virtual ~CPC_AssaySubmit_Base(void)
TAid_source & SetAid_source(void)
Select the variant.
void Reset(void)
Reset the whole object.
void ResetData(void)
Reset Data data member.
TAssay & SetAssay(void)
Assign a value to Assay data member.
CPC_AssaySubmit_Base(void)
const GenericPointer< typename T::ValueType > T2 value
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("", CPC_AssaySubmit_Base::C_Assay)
BEGIN_NAMED_BASE_CLASS_INFO("PC-AssaySubmit", CPC_AssaySubmit)