41 #ifndef OBJECTS_ID2_ID2S_REPLY_GET_CHUNK_BASE_HPP
42 #define OBJECTS_ID2_ID2S_REPLY_GET_CHUNK_BASE_HPP
52 #ifndef BEGIN_objects_SCOPE
53 # define BEGIN_objects_SCOPE BEGIN_SCOPE(objects)
54 # define END_objects_SCOPE END_SCOPE(objects)
114 bool IsSetBlob_id(
void)
const;
121 bool CanGetBlob_id(
void)
const;
124 void ResetBlob_id(
void);
130 const TBlob_id& GetBlob_id(
void)
const;
152 bool IsSetChunk_id(
void)
const;
159 bool CanGetChunk_id(
void)
const;
162 void ResetChunk_id(
void);
168 const TChunk_id& GetChunk_id(
void)
const;
191 bool IsSetData(
void)
const;
198 bool CanGetData(
void)
const;
201 void ResetData(
void);
207 const TData& GetData(
void)
const;
219 TData& SetData(
void);
222 virtual void Reset(
void);
User-defined methods of the data storage class.
Reply to ID2S-Request-Get-Chunks.
Base class for all serializable objects.
void ThrowUnassigned(TMemberIndex index) const
bool NotEmpty(void) const THROWS_NONE
Check if CRef is not empty – pointing to an object and has a non-null value.
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.
Tparent::CMemberIndex< E_memberIndex, 4 > TmemberIndex
bool CanGetChunk_id(void) const
Check if it is safe to call GetChunk_id method.
bool IsSetBlob_id(void) const
Check if a value has been assigned to Blob_id data member.
CID2S_Reply_Get_Chunk_Base & operator=(const CID2S_Reply_Get_Chunk_Base &)
void ResetChunk_id(void)
Reset Chunk_id data member.
bool CanGetBlob_id(void) const
Check if it is safe to call GetBlob_id method.
const TBlob_id & GetBlob_id(void) const
Get the Blob_id member data.
TChunk_id & SetChunk_id(void)
Assign a value to Chunk_id data member.
bool IsSetData(void) const
chunk data not set if error occurred Check if a value has been assigned to Data data member.
const TChunk_id & GetChunk_id(void) const
Get the Chunk_id member data.
CID2S_Reply_Get_Chunk_Base(const CID2S_Reply_Get_Chunk_Base &)
DECLARE_INTERNAL_TYPE_INFO()
TBlob_id & SetBlob_id(void)
Assign a value to Blob_id data member.
CRef< TBlob_id > m_Blob_id
const TData & GetData(void) const
Get the Data member data.
void ResetBlob_id(void)
Reset Blob_id data member.
bool CanGetData(void) const
Check if it is safe to call GetData method.
CID2S_Chunk_Id m_Chunk_id
bool IsSetChunk_id(void) const
id of chunk to send Check if a value has been assigned to Chunk_id data member.
const GenericPointer< typename T::ValueType > T2 value