avro::Validator Class Reference

This class is used by both the ValidatingSerializer and ValidationParser objects. More...

#include <Validator.hh>

List of all members.

Classes

struct  CompoundType

Public Member Functions

 Validator (const ValidSchema &schema)
void advance ()
void advanceWithCount (int64_t val)
bool typeIsExpected (Type type) const
Type nextTypeExpected () const
int nextSizeExpected () const
bool getCurrentRecordName (std::string &name) const
bool getNextFieldName (std::string &name) const

Detailed Description

This class is used by both the ValidatingSerializer and ValidationParser objects.

It advances the parse tree (containing logic how to advance through the various compound types, for example a record must advance through all leaf nodes but a union only skips to one), and reports which type is next.


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