Response parameters for exists requests.
More...
#include <Exists.h>
Response parameters for exists requests.
Definition at line 46 of file Exists.h.
Hypertable::FsBroker::Lib::Response::Parameters::Exists::Exists |
( |
| ) |
|
|
inline |
Constructor.
Empty initialization for decoding.
Definition at line 51 of file Exists.h.
Hypertable::FsBroker::Lib::Response::Parameters::Exists::Exists |
( |
bool |
exists | ) |
|
|
inline |
Constructor.
Initializes with response parameters for encoding. Sets m_exists to exists
.
- Parameters
-
exists | Flag indicating whether or not the file exists |
Definition at line 57 of file Exists.h.
void Exists::decode_internal |
( |
uint8_t |
version, |
|
|
const uint8_t ** |
bufp, |
|
|
size_t * |
remainp |
|
) |
| |
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
This function is to be overridden by derived classes and should decode the object per-se as encoded with encode_internal().
- Parameters
-
version | Encoding version |
bufp | Address of destination buffer pointer (advanced by call) |
remainp | Address of integer holding amount of serialized encoding remaining |
- See also
- encode_internal() for encoding format
Implements Hypertable::Serializable.
Definition at line 49 of file Exists.cc.
void Exists::encode_internal |
( |
uint8_t ** |
bufp | ) |
const |
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
This function is to be overridden by derived classes and should encode the object per-se.
- Parameters
-
bufp | Address of destination buffer pointer (advanced by call) |
Implements Hypertable::Serializable.
Definition at line 45 of file Exists.cc.
size_t Exists::encoded_length_internal |
( |
| ) |
const |
|
overrideprivatevirtual |
Returns internal serialized length.
This function is to be overridden by derived classes and should return the length of the the serialized object per-se.
- Returns
- Internal serialized length
- See also
- encode_internal() for encoding format
Implements Hypertable::Serializable.
Definition at line 41 of file Exists.cc.
uint8_t Exists::encoding_version |
( |
| ) |
const |
|
overrideprivatevirtual |
bool Hypertable::FsBroker::Lib::Response::Parameters::Exists::get_exists |
( |
| ) |
|
|
inline |
bool Hypertable::FsBroker::Lib::Response::Parameters::Exists::m_exists |
|
private |
The documentation for this class was generated from the following files:
- /home/doug/src/hypertable/src/cc/FsBroker/Lib/Response/Parameters/Exists.h
- /home/doug/src/hypertable/src/cc/FsBroker/Lib/Response/Parameters/Exists.cc