27 #ifndef Hypertable_Lib_Master_Request_Parameters_SetState_h
28 #define Hypertable_Lib_Master_Request_Parameters_SetState_h
43 namespace Parameters {
60 SetState(
const std::vector<SystemVariable::Spec> &specs) : m_specs(specs) { }
64 const std::vector<SystemVariable::Spec> &
specs() {
return m_specs; }
70 uint8_t encoding_version()
const override;
75 size_t encoded_length_internal()
const override;
79 void encode_internal(uint8_t **bufp)
const override;
87 void decode_internal(uint8_t version,
const uint8_t **bufp,
88 size_t *remainp)
override;
91 std::vector<SystemVariable::Spec>
m_specs;
99 #endif // Hypertable_Lib_Master_Request_Parameters_SetState_h
Request parameters for set state operation.
Declarations for SystemVariable.
const std::vector< SystemVariable::Spec > & specs()
Gets system variable specifications.
std::vector< SystemVariable::Spec > m_specs
System variable specifications
SetState(const std::vector< SystemVariable::Spec > &specs)
Constructor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.