A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/PC__CompoundType___8hpp_source.html below:

NCBI C++ ToolKit: include/objects/pcsubstance/PC_CompoundType_.hpp Source File

41 #ifndef OBJECTS_PCSUBSTANCE_PC_COMPOUNDTYPE_BASE_HPP 42 #define OBJECTS_PCSUBSTANCE_PC_COMPOUNDTYPE_BASE_HPP 48 #ifndef BEGIN_objects_SCOPE 49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects) 50 # define END_objects_SCOPE END_SCOPE(objects) 86

eType_standardized = 1,

88

eType_neutralized = 3,

133  void

ResetSelection(

void

);

139 

E_Choice Which(

void

)

const

;

145  void

CheckSelected(E_Choice index)

const

;

151 

NCBI_NORETURN

void

ThrowInvalidSelection(E_Choice index)

const

;

159  static string

SelectionName(E_Choice index);

191  bool

IsCid(

void

)

const

;

197  TCid

GetCid(

void

)

const

;

203  TCid

& SetCid(

void

);

218  bool

IsSid(

void

)

const

;

224  TSid

GetSid(

void

)

const

;

230  TSid

& SetSid(

void

);

245  bool

IsXid(

void

)

const

;

251  TXid

GetXid(

void

)

const

;

257  TXid

& SetXid(

void

);

275  static const char

*

const

sm_SelectionNames[];

305  bool

IsSetType(

void

)

const

;

312  bool

CanGetType(

void

)

const

;

315  void

ResetType(

void

);

321  TType

GetType(

void

)

const

;

333  TType

& SetType(

void

);

342  bool

IsSetId(

void

)

const

;

349  bool

CanGetId(

void

)

const

;

352  void

ResetId(

void

);

373  virtual void

Reset(

void

);

405  if

( m_choice != index )

406

ThrowInvalidSelection(index);

415

DoSelect(index, pool);

422

Select(index, reset, 0);

428  return

m_choice == e_Cid;

434

CheckSelected(e_Cid);

455  return

m_choice == e_Sid;

461

CheckSelected(e_Sid);

482  return

m_choice == e_Xid;

488

CheckSelected(e_Xid);

556  return m_Id

.NotEmpty();

Compound Namespace and ID (absent for "deposited" type compounds)

Qualification used to describe the type of Compound deposited, standardized, or derived.

Base class for all serializable objects.

static char UnassignedByte(void)

void ThrowUnassigned(TMemberIndex index) const

#define ENUM_METHOD_NAME(EnumName)

const CSeq_id & GetId(const CSeq_loc &loc, CScope *scope)

If all CSeq_ids embedded in CSeq_loc refer to the same CBioseq, returns the first CSeq_id found,...

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.

#define NCBI_PCSUBSTANCE_EXPORT

Tparent::CMemberIndex< E_memberIndex, 3 > TmemberIndex

TType GetType(void) const

Get the Type member data.

TXid GetXid(void) const

Get the variant data.

E_ChoiceStopper

Maximum+1 value of the choice variant enumerator.

bool CanGetType(void) const

Check if it is safe to call GetType method.

E_Choice Which(void) const

Which variant is currently selected.

bool IsCid(void) const

Check if variant Cid is selected.

TSid & SetSid(void)

Select the variant.

TXid & SetXid(void)

Select the variant.

void ResetType(void)

Reset Type data member.

TCid & SetCid(void)

Select the variant.

DECLARE_INTERNAL_TYPE_INFO()

CPC_CompoundType_Base(const CPC_CompoundType_Base &)

bool IsSetId(void) const

Check if a value has been assigned to Id data member.

TCid GetCid(void) const

Get the variant data.

TSid GetSid(void) const

Get the variant data.

DECLARE_INTERNAL_TYPE_INFO()

void Select(E_Choice index, EResetVariant reset=eDoResetVariant)

Select the requested variant if needed.

C_Id & operator=(const C_Id &)

bool IsXid(void) const

Check if variant Xid is selected.

EType

Compound Qualifier or Type For Compound Depositions.

void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)

Select the requested variant if needed, allocating CObject variants from memory pool.

const TId & GetId(void) const

Get the Id member data.

TType & SetType(void)

Assign a value to Type data member.

CPC_CompoundType_Base & operator=(const CPC_CompoundType_Base &)

void CheckSelected(E_Choice index) const

Verify selection, throw exception if it differs from the expected.

E_Choice

Choice variants.

bool IsSid(void) const

Check if variant Sid is selected.

bool CanGetId(void) const

Check if it is safe to call GetId method.

bool IsSetType(void) const

Check if a value has been assigned to Type data member.

@ e_Sid

PubChem Substance (for "mixture" type compounds)

@ e_Cid

Standardized Compound.

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