avro::Schema Class Reference

The root Schema object is a base class. Nobody constructs this class directly. More...

#include <Schema.hh>

Inheritance diagram for avro::Schema:
avro::ArraySchema avro::BoolSchema avro::BytesSchema avro::DoubleSchema avro::EnumSchema avro::FixedSchema avro::FloatSchema avro::IntSchema avro::LongSchema avro::MapSchema avro::NullSchema avro::RecordSchema avro::StringSchema avro::UnionSchema

List of all members.

Public Member Functions

Type type () const
const NodePtr & root () const
NodePtr & root ()

Protected Member Functions

 Schema (const NodePtr &node)
 Schema (Node *node)

Protected Attributes

NodePtr node_

Friends

void compileJsonSchema (std::istream &is, ValidSchema &schema)
 Given a stream comtaining a JSON schema, compiles the schema to a ValidSchema object.

Detailed Description

The root Schema object is a base class. Nobody constructs this class directly.


Friends And Related Function Documentation

void compileJsonSchema ( std::istream &  is,
ValidSchema schema 
) [friend]

Given a stream comtaining a JSON schema, compiles the schema to a ValidSchema object.

Throws if the schema cannot be compiled to a valid schema


The documentation for this class was generated from the following file:
Generated on Thu Sep 2 18:40:54 2010 for Avro C++ by  doxygen 1.6.3