ResetSelection(
void);
139E_Choice Which(
void)
const;
145 voidCheckSelected(E_Choice index)
const;
151NCBI_NORETURN
voidThrowInvalidSelection(E_Choice index)
const;
159 static stringSelectionName(E_Choice index);
190 boolIsEmpty(
void)
const;
193 voidSetEmpty(
void);
202 boolIsGet_blob_id(
void)
const;
228 boolIsGet_blob(
void)
const;
234 const TGet_blob& GetGet_blob(
void)
const;
254 boolIsGet_blob_by_seq_id(
void)
const;
283 static const char*
constsm_SelectionNames[];
315 boolIsSetSerial_number(
void)
const;
322 boolCanGetSerial_number(
void)
const;
325 voidResetSerial_number(
void);
352 boolIsSetError(
void)
const;
359 boolCanGetError(
void)
const;
362 voidResetError(
void);
368 const TError& GetError(
void)
const;
380 TError& SetError(
void);
390 boolIsSetEnd_of_reply(
void)
const;
396 boolCanGetEnd_of_reply(
void)
const;
399 voidResetEnd_of_reply(
void);
402 voidSetEnd_of_reply(
void);
411 boolIsSetReply(
void)
const;
418 boolCanGetReply(
void)
const;
421 voidResetReply(
void);
427 const TReply& GetReply(
void)
const;
439 TReply& SetReply(
void);
442 virtual voidReset(
void);
475 if( m_choice != index )
476ThrowInvalidSelection(index);
485DoSelect(index, pool);
492Select(index, reset, 0);
498 returnm_choice == e_Empty;
510 returnm_choice == e_Get_blob_id;
516 returnm_choice == e_Get_blob;
522 returnm_choice == e_Get_blob_by_seq_id;
********************************************************************* reply types *******************...
CCDD_Reply_Get_Blob_By_Seq_Id â.
CCDD_Reply_Get_Blob_Id â.
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.
#define NCBI_CDD_ACCESS_EXPORT
void ResetReply(void)
Reset Reply data member.
bool IsSetSerial_number(void) const
request's serial number, copy from request Check if a value has been assigned to Serial_number data m...
void CheckSelected(E_Choice index) const
Verify selection, throw exception if it differs from the expected.
CCDD_Reply_Base(const CCDD_Reply_Base &)
bool CanGetError(void) const
Check if it is safe to call GetError method.
E_ChoiceStopper
Maximum+1 value of the choice variant enumerator.
void Select(E_Choice index, EResetVariant reset, CObjectMemoryPool *pool)
Select the requested variant if needed, allocating CObject variants from memory pool.
TSerial_number & SetSerial_number(void)
Assign a value to Serial_number data member.
void ResetEnd_of_reply(void)
Reset End_of_reply data member.
bool IsGet_blob_by_seq_id(void) const
Check if variant Get_blob_by_seq_id is selected.
bool IsGet_blob(void) const
Check if variant Get_blob is selected.
bool IsSetReply(void) const
Check if a value has been assigned to Reply data member.
CCDD_Reply_Base & operator=(const CCDD_Reply_Base &)
NCBI_NS_NCBI::CSerialObject * m_object
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 CanGetSerial_number(void) const
Check if it is safe to call GetSerial_number method.
const TError & GetError(void) const
Get the Error member data.
bool IsEmpty(void) const
Check if variant Empty is selected.
bool IsSetError(void) const
Check if a value has been assigned to Error data member.
DECLARE_INTERNAL_TYPE_INFO()
void SetEnd_of_reply(void)
Set NULL data member (assign 'NULL' value to End_of_reply data member).
bool CanGetReply(void) const
Check if it is safe to call GetReply method.
CCDD_Reply_Get_Blob_By_Seq_Id TGet_blob_by_seq_id
TReply & SetReply(void)
Assign a value to Reply data member.
bool CanGetEnd_of_reply(void) const
Check if value of End_of_reply member is getatable.
void SetEmpty(void)
Select the variant.
void Select(E_Choice index, EResetVariant reset=eDoResetVariant)
Select the requested variant if needed.
CCDD_Reply_Get_Blob_Id TGet_blob_id
E_Choice
Choice variants.
bool IsGet_blob_id(void) const
Check if variant Get_blob_id is selected.
const TReply & GetReply(void) const
Get the Reply member data.
C_Reply & operator=(const C_Reply &)
E_Choice Which(void) const
Which variant is currently selected.
TSerial_number GetSerial_number(void) const
Get the Serial_number member data.
DECLARE_INTERNAL_TYPE_INFO()
void ResetSerial_number(void)
Reset Serial_number data member.
Tparent::CMemberIndex< E_memberIndex, 5 > TmemberIndex
@ e_Get_blob_id
return blob-id for get-blob-id request
@ e_Empty
no data found for the request
@ e_Get_blob
return Seq-annot for get-blob request
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