19 #ifndef avro_Layout_hh__
20 #define avro_Layout_hh__
23 #include <boost/noncopyable.hpp>
30 class AVRO_DECL
Layout :
private boost::noncopyable {
32 explicit Layout(
size_t offset = 0) : offset_(offset) {}
35 size_t offset()
const {
38 virtual ~
Layout() =
default;
54 void add(std::unique_ptr<Layout> &layout) {
55 layouts_.push_back(std::move(layout));
58 const Layout &at(
size_t idx)
const {
59 return *layouts_.at(idx);
63 std::vector<std::unique_ptr<Layout>> layouts_;
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:30