27 #ifndef FsBroker_Lib_Request_Parameters_Length_h
28 #define FsBroker_Lib_Request_Parameters_Length_h
40 namespace Parameters {
58 Length(
const std::string &fname,
bool accurate)
59 : m_fname(fname), m_accurate(accurate) {}
71 uint8_t encoding_version()
const override;
73 size_t encoded_length_internal()
const override;
75 void encode_internal(uint8_t **bufp)
const override;
77 void decode_internal(uint8_t version,
const uint8_t **bufp,
78 size_t *remainp)
override;
91 #endif // FsBroker_Lib_Request_Parameters_Length_h
bool m_accurate
Accurate flag.
Length(const std::string &fname, bool accurate)
Constructor.
bool get_accurate()
Gets accureate flag.
const char * get_fname()
Gets file name.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
std::string m_fname
File name.
Request parameters for length requests.