ResetSelection(
void);
149E_Choice Which(
void)
const;
155 voidCheckSelected(E_Choice index)
const;
161NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
169 static stringSelectionName(E_Choice index);
205 boolIsInit(
void)
const;
208 voidSetInit(
void);
216 boolIsEmpty(
void)
const;
219 voidSetEmpty(
void);
228 boolIsGet_package(
void)
const;
254 boolIsGet_seq_id(
void)
const;
280 boolIsGet_blob_id(
void)
const;
306 boolIsGet_blob_seq_ids(
void)
const;
332 boolIsGet_blob(
void)
const;
338 const TGet_blob& GetGet_blob(
void)
const;
358 boolIsReget_blob(
void)
const;
384 boolIsGet_split_info(
void)
const;
410 boolIsGet_chunk(
void)
const;
416 const TGet_chunk& GetGet_chunk(
void)
const;
439 static const char*
constsm_SelectionNames[];
451eDiscard_last_octet_string = 1,
461 typedeflist< CRef< CID2_Error > >
TError;
488 boolIsSetSerial_number(
void)
const;
495 boolCanGetSerial_number(
void)
const;
498 voidResetSerial_number(
void);
525 boolIsSetParams(
void)
const;
532 boolCanGetParams(
void)
const;
535 voidResetParams(
void);
562 boolIsSetError(
void)
const;
569 boolCanGetError(
void)
const;
572 voidResetError(
void);
578 const TError& GetError(
void)
const;
584 TError& SetError(
void);
594 boolIsSetEnd_of_reply(
void)
const;
600 boolCanGetEnd_of_reply(
void)
const;
603 voidResetEnd_of_reply(
void);
606 voidSetEnd_of_reply(
void);
615 boolIsSetReply(
void)
const;
622 boolCanGetReply(
void)
const;
625 voidResetReply(
void);
631 const TReply& GetReply(
void)
const;
643 TReply& SetReply(
void);
652 boolIsSetDiscard(
void)
const;
659 boolCanGetDiscard(
void)
const;
662 voidResetDiscard(
void);
683 virtual voidReset(
void);
718 if( m_choice != index )
719ThrowInvalidSelection(index);
728DoSelect(index, pool);
735Select(index, reset, 0);
741 returnm_choice == e_Init;
753 returnm_choice == e_Empty;
765 returnm_choice == e_Get_package;
771 returnm_choice == e_Get_seq_id;
777 returnm_choice == e_Get_blob_id;
783 returnm_choice == e_Get_blob_seq_ids;
789 returnm_choice == e_Get_blob;
795 returnm_choice == e_Reget_blob;
801 returnm_choice == e_Get_split_info;
807 returnm_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