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

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

41 #ifndef OBJECTS_ID2_ID2_REPLY_BASE_HPP 42 #define OBJECTS_ID2_ID2_REPLY_BASE_HPP 52 #ifndef BEGIN_objects_SCOPE 53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects) 54 # define END_objects_SCOPE END_SCOPE(objects) 143  void

ResetSelection(

void

);

149 

E_Choice Which(

void

)

const

;

155  void

CheckSelected(E_Choice index)

const

;

161 

NCBI_NORETURN

void

ThrowInvalidSelection(E_Choice index)

const

;

169  static string

SelectionName(E_Choice index);

205  bool

IsInit(

void

)

const

;

208  void

SetInit(

void

);

216  bool

IsEmpty(

void

)

const

;

219  void

SetEmpty(

void

);

228  bool

IsGet_package(

void

)

const

;

254  bool

IsGet_seq_id(

void

)

const

;

280  bool

IsGet_blob_id(

void

)

const

;

306  bool

IsGet_blob_seq_ids(

void

)

const

;

332  bool

IsGet_blob(

void

)

const

;

338  const TGet_blob

& GetGet_blob(

void

)

const

;

358  bool

IsReget_blob(

void

)

const

;

384  bool

IsGet_split_info(

void

)

const

;

410  bool

IsGet_chunk(

void

)

const

;

416  const TGet_chunk

& GetGet_chunk(

void

)

const

;

439  static const char

*

const

sm_SelectionNames[];

451

eDiscard_last_octet_string = 1,

461  typedef

list< CRef< CID2_Error > >

TError

;

488  bool

IsSetSerial_number(

void

)

const

;

495  bool

CanGetSerial_number(

void

)

const

;

498  void

ResetSerial_number(

void

);

525  bool

IsSetParams(

void

)

const

;

532  bool

CanGetParams(

void

)

const

;

535  void

ResetParams(

void

);

562  bool

IsSetError(

void

)

const

;

569  bool

CanGetError(

void

)

const

;

572  void

ResetError(

void

);

578  const TError

& GetError(

void

)

const

;

584  TError

& SetError(

void

);

594  bool

IsSetEnd_of_reply(

void

)

const

;

600  bool

CanGetEnd_of_reply(

void

)

const

;

603  void

ResetEnd_of_reply(

void

);

606  void

SetEnd_of_reply(

void

);

615  bool

IsSetReply(

void

)

const

;

622  bool

CanGetReply(

void

)

const

;

625  void

ResetReply(

void

);

631  const TReply

& GetReply(

void

)

const

;

643  TReply

& SetReply(

void

);

652  bool

IsSetDiscard(

void

)

const

;

659  bool

CanGetDiscard(

void

)

const

;

662  void

ResetDiscard(

void

);

683  virtual void

Reset(

void

);

718  if

( m_choice != index )

719

ThrowInvalidSelection(index);

728

DoSelect(index, pool);

735

Select(index, reset, 0);

741  return

m_choice == e_Init;

753  return

m_choice == e_Empty;

765  return

m_choice == e_Get_package;

771  return

m_choice == e_Get_seq_id;

777  return

m_choice == e_Get_blob_id;

783  return

m_choice == e_Get_blob_seq_ids;

789  return

m_choice == e_Get_blob;

795  return

m_choice == e_Reget_blob;

801  return

m_choice == e_Get_split_info;

807  return

m_choice == e_Get_chunk;

CID2S_Reply_Get_Chunk –.

CID2S_Reply_Get_Split_Info –.

reply data moved at the end to make it easier to construct the reply data manually from precalculated...

********************************************************************* reply types *******************...

CID2_Reply_Get_Blob_Id –.

CID2_Reply_Get_Blob_Seq_ids –.

CID2_Reply_Get_Package –.

CID2_Reply_Get_Seq_id –.

CID2_Reply_ReGet_Blob –.

Base class for all serializable objects.

static char UnassignedByte(void)

void ThrowUnassigned(TMemberIndex index) const

#define ENUM_METHOD_NAME(EnumName)

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 Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)

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

void ResetSerial_number(void)

Reset Serial_number data member.

bool IsReget_blob(void) const

Check if variant Reget_blob is selected.

CID2_Reply_Get_Blob_Seq_ids TGet_blob_seq_ids

bool IsGet_chunk(void) const

Check if variant Get_chunk is selected.

void ResetEnd_of_reply(void)

Reset End_of_reply data member.

E_Choice Which(void) const

Which variant is currently selected.

const TError & GetError(void) const

Get the Error member data.

CID2_Reply_Base(const CID2_Reply_Base &)

NCBI_NS_NCBI::CSerialObject * m_object

void SetInit(void)

Select the variant.

bool CanGetEnd_of_reply(void) const

Check if value of End_of_reply member is getatable.

DECLARE_INTERNAL_TYPE_INFO()

E_Choice

Choice variants.

bool IsGet_split_info(void) const

Check if variant Get_split_info is selected.

CID2_Reply_Get_Blob TGet_blob

bool IsSetReply(void) const

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

bool IsGet_seq_id(void) const

Check if variant Get_seq_id is selected.

TError & SetError(void)

Assign a value to Error data member.

list< CRef< CID2_Error > > TError

bool IsGet_blob_seq_ids(void) const

Check if variant Get_blob_seq_ids is selected.

E_ChoiceStopper

Maximum+1 value of the choice variant enumerator.

bool IsSetDiscard(void) const

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

bool IsEmpty(void) const

Check if variant Empty is selected.

TDiscard & SetDiscard(void)

Assign a value to Discard data member.

bool IsGet_blob(void) const

Check if variant Get_blob is selected.

void ResetReply(void)

Reset Reply data member.

bool IsSetParams(void) const

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

bool CanGetError(void) const

Check if it is safe to call GetError method.

const TParams & GetParams(void) const

Get the Params member data.

C_Reply & operator=(const C_Reply &)

EDiscard

additional error flag if the reply is broken in the middle of transfer.

DECLARE_INTERNAL_TYPE_INFO()

TDiscard GetDiscard(void) const

Get the Discard member data.

CID2_Reply_Get_Blob_Id TGet_blob_id

TReply & SetReply(void)

Assign a value to Reply data member.

void CheckSelected(E_Choice index) const

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

list< CRef< CID2_Error > > m_Error

const TReply & GetReply(void) const

Get the Reply member data.

CID2S_Reply_Get_Chunk TGet_chunk

CID2_Reply_Get_Seq_id TGet_seq_id

CID2_Reply_Base & operator=(const CID2_Reply_Base &)

bool IsInit(void) const

Check if variant Init is selected.

TSerial_number GetSerial_number(void) const

Get the Serial_number member data.

void SetEnd_of_reply(void)

Set NULL data member (assign 'NULL' value to End_of_reply data member).

CID2_Reply_ReGet_Blob TReget_blob

bool CanGetReply(void) const

Check if it is safe to call GetReply method.

void Select(E_Choice index, EResetVariant reset=eDoResetVariant)

Select the requested variant if needed.

bool IsSetSerial_number(void) const

request's serial number, copy from request Check if a value has been assigned to Serial_number data m...

CID2_Reply_Get_Package TGet_package

void ResetDiscard(void)

Reset Discard data member.

bool CanGetSerial_number(void) const

Check if it is safe to call GetSerial_number method.

Tparent::CMemberIndex< E_memberIndex, 7 > TmemberIndex

bool IsSetError(void) const

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

void SetEmpty(void)

Select the variant.

bool IsGet_blob_id(void) const

Check if variant Get_blob_id is selected.

bool CanGetParams(void) const

Check if it is safe to call GetParams method.

bool IsSetEnd_of_reply(void) const

true if this reply is the last one for the request false if more replies will follow Check if a value...

bool CanGetDiscard(void) const

Check if it is safe to call GetDiscard method.

TSerial_number & SetSerial_number(void)

Assign a value to Serial_number data member.

CID2S_Reply_Get_Split_Info TGet_split_info

bool IsGet_package(void) const

Check if variant Get_package is selected.

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