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

NCBI C++ ToolKit: include/objects/general/Person_id_.hpp Source File

41 #ifndef OBJECTS_GENERAL_PERSON_ID_BASE_HPP 42 #define OBJECTS_GENERAL_PERSON_ID_BASE_HPP 52 #ifndef BEGIN_objects_SCOPE 53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects) 54 # define END_objects_SCOPE END_SCOPE(objects) 107  virtual void

Reset(

void

);

110  virtual void

ResetSelection(

void

);

116 

E_Choice Which(

void

)

const

;

122  void

CheckSelected(E_Choice index)

const

;

128 

NCBI_NORETURN

void

ThrowInvalidSelection(E_Choice index)

const

;

136  static string

SelectionName(E_Choice index);

170  bool

IsDbtag(

void

)

const

;

176  const TDbtag

& GetDbtag(

void

)

const

;

182  TDbtag

& SetDbtag(

void

);

196  bool

IsName(

void

)

const

;

202  const TName

& GetName(

void

)

const

;

208  TName

& SetName(

void

);

222  bool

IsMl(

void

)

const

;

228  const TMl

& GetMl(

void

)

const

;

249  bool

IsStr(

void

)

const

;

255  const TStr

& GetStr(

void

)

const

;

261  TStr

& SetStr(

void

);

276  bool

IsConsortium(

void

)

const

;

306  static const char

*

const

sm_SelectionNames[];

309

NCBI_NS_NCBI::CUnionBuffer<NCBI_NS_STD::string>

m_string

;

@Name_std.hpp User-defined methods of the data storage class.

Person-id is to define a std element for people.

Base class for all serializable objects.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GENERAL_EXPORT

TMl & SetMl(void)

Select the variant.

E_Choice Which(void) const

Which variant is currently selected.

const TStr & GetStr(void) const

Get the variant data.

bool IsConsortium(void) const

Check if variant Consortium is selected.

CPerson_id_Base & operator=(const CPerson_id_Base &)

bool IsMl(void) const

Check if variant Ml is selected.

E_Choice

Choice variants.

void ThrowInvalidSelection(E_Choice index) const

Throw 'InvalidSelection' exception.

bool IsName(void) const

Check if variant Name is selected.

virtual void ResetSelection(void)

Reset the selection (set it to e_not_set).

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

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

const TMl & GetMl(void) const

Get the variant data.

TConsortium & SetConsortium(void)

Select the variant.

DECLARE_INTERNAL_TYPE_INFO()

CPerson_id_Base(const CPerson_id_Base &)

const TConsortium & GetConsortium(void) const

Get the variant data.

bool IsStr(void) const

Check if variant Str is selected.

E_ChoiceStopper

Maximum+1 value of the choice variant enumerator.

void Select(E_Choice index, EResetVariant reset=eDoResetVariant)

Select the requested variant if needed.

void CheckSelected(E_Choice index) const

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

bool IsDbtag(void) const

Check if variant Dbtag is selected.

void DoSelect(E_Choice index, CObjectMemoryPool *pool=0)

NCBI_NS_NCBI::CSerialObject * m_object

NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string

TStr & SetStr(void)

Select the variant.

NCBI_NS_NCBI::CUnionBuffer< NCBI_NS_STD::string > m_string

@ e_Dbtag

any defined database tag

@ e_Ml

MEDLINE name (semi-structured) eg. "Jones RM".

@ e_Consortium

consortium name

@ e_Str

unstructured name

@ 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