avro::ValidatingWriter Class Reference

This class walks the parse tree as data is being serialized, and throws if attempt to serialize a data type does not match the type expected in the schema. More...

#include <ValidatingWriter.hh>

List of all members.

Public Member Functions

 ValidatingWriter (const ValidSchema &schema, OutputStreamer &out)
template<typename T >
void writeValue (T val)
void writeValue (const std::string &val)
void writeBytes (const void *val, size_t size)
template<size_t N>
void writeFixed (const uint8_t(&val)[N])
template<size_t N>
void writeFixed (const boost::array< uint8_t, N > &val)
void writeRecord ()
void writeArrayBlock (int64_t size)
void writeArrayEnd ()
void writeMapBlock (int64_t size)
void writeMapEnd ()
void writeUnion (int64_t choice)
void writeEnum (int64_t choice)

Detailed Description

This class walks the parse tree as data is being serialized, and throws if attempt to serialize a data type does not match the type expected in the schema.


The documentation for this class was generated from the following file:

Generated on Fri Mar 12 13:20:47 2010 for Avro C++ by  doxygen 1.6.1