( m_choice ) {
106m_object->RemoveReference();
118(m_object =
new(pool) ncbi::objects::CColor_prop())->
AddReference();
121m_Render = (
int)(0);
124(m_object =
new(pool) ncbi::objects::CTransform())->
AddReference();
127(m_object =
new(pool) ncbi::objects::CCamera())->
AddReference();
130(m_object =
new(pool) ncbi::objects::CBiostruc_script())->
AddReference();
133(m_object =
new(pool) ncbi::objects::CUser_object())->
AddReference();
153 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
158 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
163CheckSelected(e_Color);
164 return*
static_cast<const TColor*
>(m_object);
170 return*
static_cast<TColor*
>(m_object);
176 if( m_choice != e_Color || m_object != ptr ) {
185CheckSelected(e_Transform);
186 return*
static_cast<const TTransform*
>(m_object);
192 return*
static_cast<TTransform*
>(m_object);
198 if( m_choice != e_Transform || m_object != ptr ) {
201m_choice = e_Transform;
207CheckSelected(e_Camera);
208 return*
static_cast<const TCamera*
>(m_object);
214 return*
static_cast<TCamera*
>(m_object);
220 if( m_choice != e_Camera || m_object != ptr ) {
229CheckSelected(e_Script);
230 return*
static_cast<const TScript*
>(m_object);
236 return*
static_cast<TScript*
>(m_object);
242 if( m_choice != e_Script || m_object != ptr ) {
251CheckSelected(e_User);
252 return*
static_cast<const TUser*
>(m_object);
258 return*
static_cast<TUser*
>(m_object);
264 if( m_choice != e_User || m_object != ptr ) {
284 info->CodeVersion(22400);
285 info->DataSpec(ncbi::EDataSpec::eASN);
310 switch( m_choice ) {
317m_object->RemoveReference();
329(m_object =
new(pool) ncbi::objects::CChem_graph_pntrs())->
AddReference();
332(m_object =
new(pool) ncbi::objects::CRegion_pntrs())->
AddReference();
335(m_object =
new(pool) ncbi::objects::CChem_graph_alignment())->
AddReference();
338(m_object =
new(pool) ncbi::objects::CChem_graph_interaction())->
AddReference();
341(m_object =
new(pool) ncbi::objects::CRegion_similarity())->
AddReference();
344(m_object =
new(pool) ncbi::objects::COther_feature())->
AddReference();
364 returnNCBI_NS_NCBI::CInvalidChoiceSelection::GetName(index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
369 throwNCBI_NS_NCBI::CInvalidChoiceSelection(
DIAG_COMPILE_INFO,
this, m_choice, index, sm_SelectionNames,
sizeof(sm_SelectionNames)/
sizeof(sm_SelectionNames[0]));
374CheckSelected(e_Subgraph);
375 return*
static_cast<const TSubgraph*
>(m_object);
381 return*
static_cast<TSubgraph*
>(m_object);
387 if( m_choice != e_Subgraph || m_object != ptr ) {
390m_choice = e_Subgraph;
396CheckSelected(e_Region);
397 return*
static_cast<const TRegion*
>(m_object);
403 return*
static_cast<TRegion*
>(m_object);
409 if( m_choice != e_Region || m_object != ptr ) {
418CheckSelected(e_Alignment);
419 return*
static_cast<const TAlignment*
>(m_object);
425 return*
static_cast<TAlignment*
>(m_object);
431 if( m_choice != e_Alignment || m_object != ptr ) {
434m_choice = e_Alignment;
440CheckSelected(e_Interaction);
453 if( m_choice != e_Interaction || m_object != ptr ) {
456m_choice = e_Interaction;
462CheckSelected(e_Similarity);
463 return*
static_cast<const TSimilarity*
>(m_object);
475 if( m_choice != e_Similarity || m_object != ptr ) {
478m_choice = e_Similarity;
484CheckSelected(e_Indirect);
485 return*
static_cast<const TIndirect*
>(m_object);
491 return*
static_cast<TIndirect*
>(m_object);
497 if( m_choice != e_Indirect || m_object != ptr ) {
500m_choice = e_Indirect;
517 info->CodeVersion(22400);
518 info->DataSpec(ncbi::EDataSpec::eASN);
592 info->RandomOrder();
593 info->CodeVersion(22400);
594 info->DataSpec(ncbi::EDataSpec::eASN);
User-defined methods of the data storage class.
BEGIN_NAMED_CHOICE_INFO("", CBiostruc_feature_Base::C_Property)
BEGIN_NAMED_ENUM_IN_INFO("", CBiostruc_feature_Base::, EType, true)
BEGIN_NAMED_BASE_CLASS_INFO("Biostruc-feature", CBiostruc_feature)
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
An explicitly specified type in Biostruc-feature allows for efficient extraction and indexing of feat...
CBiostruc_feature_id â.
CChem_graph_alignment â.
CChem_graph_interaction â.
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
#define MEMBER_PTR(MemberName)
#define SET_ENUM_INTERNAL_NAME(OwnerName, MemberName)
#define ADD_NAMED_MEMBER(MemberAlias, MemberName, TypeMacro, TypeMacroArgs)
#define ADD_NAMED_REF_MEMBER(MemberAlias, MemberName, ClassName)
#define SET_ENUM_MODULE(ModuleName)
#define ADD_NAMED_REF_CHOICE_VARIANT(MemberAlias, MemberName, ClassName)
#define ADD_NAMED_STD_MEMBER(MemberAlias, MemberName)
#define SET_CLASS_MODULE(ModuleName)
#define ADD_NAMED_ENUM_MEMBER(MemberAlias, MemberName, EnumName)
#define ADD_ENUM_VALUE(EnumValueName, EnumValueValue)
#define ADD_NAMED_ENUM_CHOICE_VARIANT(MemberAlias, MemberName, EnumName)
#define SET_INTERNAL_NAME(OwnerName, MemberName)
#define SET_CHOICE_MODULE(ModuleName)
void AddReference(void) const
Add reference to object.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
TLocation & SetLocation(void)
Assign a value to Location data member.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
TCamera & SetCamera(void)
Select the variant.
void ResetName(void)
Reset Name data member.
E_Choice
Choice variants.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
CBiostruc_feature_id m_Id
TIndirect & SetIndirect(void)
Select the variant.
TColor & SetColor(void)
Select the variant.
const TTransform & GetTransform(void) const
Get the variant data.
CRef< TProperty > m_Property
TTransform & SetTransform(void)
Select the variant.
void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)
const TInteraction & GetInteraction(void) const
Get the variant data.
void Reset(void)
Reset the whole object.
void ResetProperty(void)
Reset Property data member.
const TSimilarity & GetSimilarity(void) const
Get the variant data.
const TRegion & GetRegion(void) const
Get the variant data.
void ResetId(void)
Reset Id data member.
void ResetLocation(void)
Reset Location data member.
static const char *const sm_SelectionNames[]
CRef< TLocation > m_Location
TProperty & SetProperty(void)
Assign a value to Property data member.
static const char *const sm_SelectionNames[]
const TAlignment & GetAlignment(void) const
Get the variant data.
TScript & SetScript(void)
Select the variant.
virtual void Reset(void)
Reset the whole object.
TSubgraph & SetSubgraph(void)
Select the variant.
TInteraction & SetInteraction(void)
Select the variant.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
CBiostruc_feature_Base(void)
void Reset(void)
Reset the whole object.
E_Choice
Choice variants.
const TUser & GetUser(void) const
Get the variant data.
TRegion & SetRegion(void)
Select the variant.
TAlignment & SetAlignment(void)
Select the variant.
const TScript & GetScript(void) const
Get the variant data.
virtual ~CBiostruc_feature_Base(void)
ERender_prop
Note that Render-prop is compatible with the Annmm specification, i.e., its numbering schemes do not ...
const TCamera & GetCamera(void) const
Get the variant data.
TSimilarity & SetSimilarity(void)
Select the variant.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
const TColor & GetColor(void) const
Get the variant data.
void ResetSelection(void)
Reset the selection (set it to e_not_set).
const TSubgraph & GetSubgraph(void) const
Get the variant data.
static string SelectionName(E_Choice index)
Retrieve selection name (for diagnostic purposes).
const TIndirect & GetIndirect(void) const
Get the variant data.
void ThrowInvalidSelection(E_Choice index) const
Throw 'InvalidSelection' exception.
TUser & SetUser(void)
Select the variant.
void ResetType(void)
Reset Type data member.
@ e_not_set
No variant selected.
unsigned int
A callback function used to compare two keys in a database.
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