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

NCBI C++ ToolKit: include/objects/id2/ID2_Request_.hpp Source File

41 #ifndef OBJECTS_ID2_ID2_REQUEST_BASE_HPP 42 #define OBJECTS_ID2_ID2_REQUEST_BASE_HPP 48 #ifndef BEGIN_objects_SCOPE 49 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects) 50 # define END_objects_SCOPE END_SCOPE(objects) 128  void

ResetSelection(

void

);

134 

E_Choice Which(

void

)

const

;

140  void

CheckSelected(E_Choice index)

const

;

146 

NCBI_NORETURN

void

ThrowInvalidSelection(E_Choice index)

const

;

154  static string

SelectionName(E_Choice index);

188  bool

IsInit(

void

)

const

;

191  void

SetInit(

void

);

200  bool

IsGet_packages(

void

)

const

;

226  bool

IsGet_seq_id(

void

)

const

;

252  bool

IsGet_blob_id(

void

)

const

;

278  bool

IsGet_blob_info(

void

)

const

;

304  bool

IsReget_blob(

void

)

const

;

330  bool

IsGet_chunks(

void

)

const

;

359  static const char

*

const

sm_SelectionNames[];

391  bool

IsSetSerial_number(

void

)

const

;

398  bool

CanGetSerial_number(

void

)

const

;

401  void

ResetSerial_number(

void

);

428  bool

IsSetParams(

void

)

const

;

435  bool

CanGetParams(

void

)

const

;

438  void

ResetParams(

void

);

465  bool

IsSetRequest(

void

)

const

;

472  bool

CanGetRequest(

void

)

const

;

475  void

ResetRequest(

void

);

481  const TRequest

& GetRequest(

void

)

const

;

496  virtual void

Reset(

void

);

529  if

( m_choice != index )

530

ThrowInvalidSelection(index);

539

DoSelect(index, pool);

546

Select(index, reset, 0);

552  return

m_choice == e_Init;

564  return

m_choice == e_Get_packages;

570  return

m_choice == e_Get_seq_id;

576  return

m_choice == e_Get_blob_id;

582  return

m_choice == e_Get_blob_info;

588  return

m_choice == e_Reget_blob;

594  return

m_choice == e_Get_chunks;

CID2S_Request_Get_Chunks –.

CID2_Request_Get_Blob_Id –.

CID2_Request_Get_Blob_Info –.

CID2_Request_Get_Packages –.

CID2_Request_Get_Seq_id –.

CID2_Request_ReGet_Blob –.

Base class for all serializable objects.

static char UnassignedByte(void)

void ThrowUnassigned(TMemberIndex index) const

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.

virtual void SetParams()

Called at the beginning of Run, before creating thread pool.

void SetInit(void)

Select the variant.

bool IsGet_blob_info(void) const

Check if variant Get_blob_info is selected.

C_Request(const C_Request &)

TRequest & SetRequest(void)

Assign a value to Request data member.

bool IsGet_packages(void) const

Check if variant Get_packages is selected.

TSerial_number GetSerial_number(void) const

Get the Serial_number member data.

Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex

TSerial_number & SetSerial_number(void)

Assign a value to Serial_number data member.

void ResetRequest(void)

Reset Request data member.

void ResetSerial_number(void)

Reset Serial_number data member.

bool IsReget_blob(void) const

Check if variant Reget_blob is selected.

CID2S_Request_Get_Chunks TGet_chunks

CRef< TRequest > m_Request

DECLARE_INTERNAL_TYPE_INFO()

bool CanGetSerial_number(void) const

Check if it is safe to call GetSerial_number method.

CID2_Request_Base & operator=(const CID2_Request_Base &)

bool IsSetRequest(void) const

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

bool IsSetSerial_number(void) const

request's serial number, can be used in asynchronic clients server should copy it to corresponding fi...

CID2_Request_Get_Seq_id TGet_seq_id

E_Choice Which(void) const

Which variant is currently selected.

CID2_Request_Get_Packages TGet_packages

CID2_Request_Get_Blob_Info TGet_blob_info

void CheckSelected(E_Choice index) const

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

bool CanGetParams(void) const

Check if it is safe to call GetParams method.

bool IsSetParams(void) const

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

C_Request & operator=(const C_Request &)

NCBI_NS_NCBI::CSerialObject * m_object

DECLARE_INTERNAL_TYPE_INFO()

CID2_Request_Get_Blob_Id TGet_blob_id

const TRequest & GetRequest(void) const

Get the Request member data.

bool IsInit(void) const

Check if variant Init is selected.

bool IsGet_seq_id(void) const

Check if variant Get_seq_id is selected.

void Select(E_Choice index, EResetVariant reset=eDoResetVariant)

Select the requested variant if needed.

const TParams & GetParams(void) const

Get the Params member data.

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

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

E_ChoiceStopper

Maximum+1 value of the choice variant enumerator.

bool CanGetRequest(void) const

Check if it is safe to call GetRequest method.

CID2_Request_Base(const CID2_Request_Base &)

CID2_Request_ReGet_Blob TReget_blob

bool IsGet_blob_id(void) const

Check if variant Get_blob_id is selected.

bool IsGet_chunks(void) const

Check if variant Get_chunks is selected.

E_Choice

Choice variants.

const GenericPointer< typename T::ValueType > T2 value

static CRef< CUser_object > GetParams()


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