19 #ifndef avro_ValidSchema_hh__ 20 #define avro_ValidSchema_hh__ 27 class AVRO_DECL Schema;
46 void setSchema(
const Schema &schema);
48 const NodePtr &root()
const {
52 void toJson(std::ostream &os)
const;
53 std::string toJson(
bool prettyPrint =
true)
const;
55 void toFlatList(std::ostream &os)
const;
61 static std::string compactSchema(
const std::string &schema);
class AVRO_DECL ValidSchema
This class is used to implement an avro spec parser using a flex/bison compiler.
Definition: Compiler.hh:35
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:30
The root Schema object is a base class. Nobody constructs this class directly.
Definition: Schema.hh:37
A ValidSchema is basically a non-mutable Schema that has passed some minumum of sanity checks...
Definition: ValidSchema.hh:40