22 #ifndef HYPERTABLE_CELLSTORETRAILER_H
23 #define HYPERTABLE_CELLSTORETRAILER_H
26 #include <boost/any.hpp>
42 virtual void clear() = 0;
49 virtual size_t size() = 0;
70 virtual void display(std::ostream &os) = 0;
79 virtual boost::any
get(
const String& prop) = 0;
94 #endif // HYPERTABLE_CELLSTORETRAILER_H
Abstract base class for cell store trailer.
std::string String
A String is simply a typedef to std::string.
virtual void deserialize(const uint8_t *buf)=0
Deserializes the trailer from the given buffer.
virtual size_t size()=0
Returns the serialized size of the trailer.
virtual void clear()=0
Clears the contents of this trailer;.
std::ostream & operator<<(std::ostream &os, const crontab_entry &entry)
Helper function to write crontab_entry to an ostream.
virtual ~CellStoreTrailer()
virtual void display(std::ostream &os)=0
Prints the trailer to the given ostream.
virtual void serialize(uint8_t *buf)=0
Serializes this trailer to the given buffer;.
A String class based on std::string.
virtual void display_multiline(std::ostream &os)=0
Prints the trailer, one member per line, to the given ostream.