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/ProjectItem___8hpp_source.html below:

NCBI C++ ToolKit: include/objects/gbproj/ProjectItem_.hpp Source File

41 #ifndef OBJECTS_GBPROJ_PROJECTITEM_BASE_HPP 42 #define OBJECTS_GBPROJ_PROJECTITEM_BASE_HPP 56 #ifndef BEGIN_objects_SCOPE 57 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects) 58 # define END_objects_SCOPE END_SCOPE(objects) 144  void

ResetSelection(

void

);

150 

E_Choice Which(

void

)

const

;

156  void

CheckSelected(E_Choice index)

const

;

162 

NCBI_NORETURN

void

ThrowInvalidSelection(E_Choice index)

const

;

170  static string

SelectionName(E_Choice index);

210  bool

IsId(

void

)

const

;

236  bool

IsEntry(

void

)

const

;

242  const TEntry

& GetEntry(

void

)

const

;

248  TEntry

& SetEntry(

void

);

262  bool

IsAnnot(

void

)

const

;

268  const TAnnot

& GetAnnot(

void

)

const

;

274  TAnnot

& SetAnnot(

void

);

288  bool

IsSubmit(

void

)

const

;

294  const TSubmit

& GetSubmit(

void

)

const

;

314  bool

IsSeq_align(

void

)

const

;

320  const TSeq_align

& GetSeq_align(

void

)

const

;

340  bool

IsSeq_align_set(

void

)

const

;

366  bool

IsObsolete_plugin(

void

)

const

;

392  bool

IsOther(

void

)

const

;

398  const TOther

& GetOther(

void

)

const

;

404  TOther

& SetOther(

void

);

418  bool

IsPmid(

void

)

const

;

424  const TPmid

& GetPmid(

void

)

const

;

430  TPmid

& SetPmid(

void

);

439  bool

IsTaxid(

void

)

const

;

445  const TTaxid

& GetTaxid(

void

)

const

;

451  TTaxid

& SetTaxid(

void

);

460  bool

IsHuge_file(

void

)

const

;

466  const THuge_file

& GetHuge_file(

void

)

const

;

489  static const char

*

const

sm_SelectionNames[];

492

NCBI_NS_NCBI::CUnionBuffer<TPmid>

m_Pmid

;

500  typedef

list< CRef< CAnnotdesc > >

TDescr

;

528  bool

IsSetId(

void

)

const

;

535  bool

CanGetId(

void

)

const

;

538  void

ResetId(

void

);

566  bool

IsSetLabel(

void

)

const

;

573  bool

CanGetLabel(

void

)

const

;

576  void

ResetLabel(

void

);

595  TLabel

& SetLabel(

void

);

605  bool

IsSetDescr(

void

)

const

;

612  bool

CanGetDescr(

void

)

const

;

615  void

ResetDescr(

void

);

621  const TDescr

& GetDescr(

void

)

const

;

627  TDescr

& SetDescr(

void

);

636  bool

IsSetItem(

void

)

const

;

643  bool

CanGetItem(

void

)

const

;

646  void

ResetItem(

void

);

652  const TItem

& GetItem(

void

)

const

;

664  TItem

& SetItem(

void

);

674  bool

IsSetData_plugin(

void

)

const

;

681  bool

CanGetData_plugin(

void

)

const

;

684  void

ResetData_plugin(

void

);

713  bool

IsSetDisabled(

void

)

const

;

720  bool

CanGetDisabled(

void

)

const

;

723  void

ResetDisabled(

void

);

744  virtual void

Reset(

void

);

780  if

( m_choice != index )

781

ThrowInvalidSelection(index);

790

DoSelect(index, pool);

797

Select(index, reset, 0);

803  return

m_choice == e_Id;

809  return

m_choice == e_Entry;

815  return

m_choice == e_Annot;

821  return

m_choice == e_Submit;

827  return

m_choice == e_Seq_align;

833  return

m_choice == e_Seq_align_set;

839  return

m_choice == e_Obsolete_plugin;

845  return

m_choice == e_Other;

851  return

m_choice == e_Pmid;

857

CheckSelected(e_Pmid);

871  return

m_choice == e_Taxid;

877

CheckSelected(e_Taxid);

891  return

m_choice == e_Huge_file;

972  m_Label

= std::forward<CProjectItem_Base::TLabel>(

value

);

1016  return m_Item

.NotEmpty();

CHugeFileProjectItem –.

Base class for all serializable objects.

Defines to provide correct exporting from DLLs in Windows.

#define NCBI_GBPROJ_EXPORT

static char UnassignedByte(void)

void ThrowUnassigned(TMemberIndex index) const

static string UnassignedString(void)

string GetLabel(const CSeq_id &id)

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.

DECLARE_INTERNAL_TYPE_INFO()

bool IsObsolete_plugin(void) const

Check if variant Obsolete_plugin is selected.

CSeq_align_set TSeq_align_set

bool IsSetItem(void) const

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

bool IsSetLabel(void) const

user-defined label Check if a value has been assigned to Label data member.

CProjectItem_Base & operator=(const CProjectItem_Base &)

TDescr & SetDescr(void)

Assign a value to Descr data member.

bool CanGetItem(void) const

Check if it is safe to call GetItem method.

bool IsTaxid(void) const

Check if variant Taxid is selected.

bool IsSubmit(void) const

Check if variant Submit is selected.

NCBI_NS_NCBI::CUnionBuffer< TTaxid > m_Taxid

TId GetId(void) const

Get the Id member data.

TDisabled & SetDisabled(void)

Assign a value to Disabled data member.

E_Choice

Choice variants.

bool IsSetDisabled(void) const

"folder open" state Check if a value has been assigned to Disabled data member.

bool IsId(void) const

Check if variant Id is selected.

TLabel & SetLabel(void)

Assign a value to Label data member.

void CheckSelected(E_Choice index) const

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

void ResetItem(void)

Reset Item data member.

E_Choice Which(void) const

Which variant is currently selected.

void ResetDisabled(void)

Reset Disabled data member.

TDisabled GetDisabled(void) const

Get the Disabled member data.

bool CanGetDescr(void) const

Check if it is safe to call GetDescr method.

const TLabel & GetLabel(void) const

Get the Label member data.

TData_plugin & SetData_plugin(void)

Assign a value to Data_plugin data member.

E_ChoiceStopper

Maximum+1 value of the choice variant enumerator.

bool IsPmid(void) const

Check if variant Pmid is selected.

bool IsAnnot(void) const

Check if variant Annot is selected.

NCBI_NS_NCBI::CUnionBuffer< TPmid > m_Pmid

const TItem & GetItem(void) const

Get the Item member data.

bool CanGetId(void) const

Check if it is safe to call GetId method.

bool IsSeq_align_set(void) const

Check if variant Seq_align_set is selected.

bool IsSetDescr(void) const

user-defined descriptors Check if a value has been assigned to Descr data member.

const TDescr & GetDescr(void) const

Get the Descr member data.

Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex

bool IsEntry(void) const

Check if variant Entry is selected.

CHugeFileProjectItem THuge_file

bool IsHuge_file(void) const

Check if variant Huge_file is selected.

bool CanGetData_plugin(void) const

Check if it is safe to call GetData_plugin method.

C_Item & operator=(const C_Item &)

TId & SetId(void)

Assign a value to Id data member.

const TData_plugin & GetData_plugin(void) const

Get the Data_plugin member data.

list< CRef< CAnnotdesc > > m_Descr

bool IsSetId(void) const

serial number - must be unique in a project (GBProject) Check if a value has been assigned to Id data...

bool CanGetLabel(void) const

Check if it is safe to call GetLabel method.

CAbstractProjectItem TOther

bool IsOther(void) const

Check if variant Other is selected.

CDummyObsoleteType TObsolete_plugin

bool CanGetDisabled(void) const

Check if it is safe to call GetDisabled method.

TItem & SetItem(void)

Assign a value to Item data member.

CProjectItem_Base(const CProjectItem_Base &)

DECLARE_INTERNAL_TYPE_INFO()

void Select(E_Choice index, EResetVariant reset=eDoResetVariant)

Select the requested variant if needed.

const TTaxid & GetTaxid(void) const

Get the variant data.

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

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

void ResetId(void)

Reset Id data member.

NCBI_NS_NCBI::CSerialObject * m_object

const TPmid & GetPmid(void) const

Get the variant data.

TPmid & SetPmid(void)

Select the variant.

bool IsSeq_align(void) const

Check if variant Seq_align is selected.

TTaxid & SetTaxid(void)

Select the variant.

bool IsSetData_plugin(void) const

name of the plugin that can handle External Data for the project Check if a value has been assigned t...

list< CRef< CAnnotdesc > > TDescr

@ e_Obsolete_plugin

plugin message This is deprecated. DO NOT USE THIS FIELD. The original spec is: plugin PluginMessage....

@ e_Other

arbitrary object (use with care!)

@ e_Annot

annotation only

@ e_Id

for projects that simply import a far-pointer

@ e_Seq_align

seq-align and seq-align-set as registered items

@ e_Submit

for submission

@ e_Entry

for projects that contain something else

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