27 #ifndef HYPERTABLE_TABLEPARTS_H
28 #define HYPERTABLE_TABLEPARTS_H
89 operator bool ()
const {
return m_parts != 0; }
103 size_t *remainp)
override;
113 #endif // HYPERTABLE_TABLEPARTS_H
size_t encoded_length_internal() const override
Returns internal serialized length.
int8_t m_parts
Bitmask representing table parts.
Represents a set of table parts (sub-tables).
void decode_internal(uint8_t version, const uint8_t **bufp, size_t *remainp) override
Reads serialized representation of object from a buffer.
void clear()
Clears all parts.
Declarations for Serializable.
bool primary() const
Test if primary table is included in set.
uint8_t encoding_version() const override
Returns encoding version.
Mixin class that provides a standard serialization interface.
void encode_internal(uint8_t **bufp) const override
Serialized format is as follows:
bool value_index() const
Test if value index is included in set.
const std::string to_string() const
Returns human readable string describing table parts.
TableParts(int8_t parts=0)
Constructor.
bool qualifier_index() const
Test if qualifier index is included in set.