19 #ifndef avro_Compiler_hh__
20 #define avro_Compiler_hh__
28 class AVRO_DECL InputStream;
53 AVRO_DECL
ValidSchema compileJsonSchemaFromMemory(
const uint8_t* input,
size_t len);
55 AVRO_DECL
ValidSchema compileJsonSchemaFromString(
const char* input);
57 AVRO_DECL
ValidSchema compileJsonSchemaFromString(
const std::string& input);
59 AVRO_DECL
ValidSchema compileJsonSchemaFromFile(
const char* filename);
A bunch of templates and specializations for encoding and decoding specific types.
Definition: AvroParse.hh:31
A ValidSchema is basically a non-mutable Schema that has passed some minumum of sanity checks...
Definition: ValidSchema.hh:40
AVRO_DECL void compileJsonSchema(std::istream &is, ValidSchema &schema)
Given a stream comtaining a JSON schema, compiles the schema to a ValidSchema object.