Resolver.hh

Go to the documentation of this file.
00001 
00020 #ifndef avro_Resolver_hh__
00021 #define avro_Resolver_hh__
00022 
00023 #include <boost/noncopyable.hpp>
00024 #include <stdint.h>
00025 
00026 #include "Reader.hh"
00027 
00030 
00031 namespace avro {
00032 
00033 class ValidSchema;
00034 class Layout;
00035     
00036 class Resolver : private boost::noncopyable
00037 {
00038 
00039   public:
00040 
00041     virtual void parse(Reader &reader, uint8_t *address) const = 0;
00042     virtual ~Resolver() {}
00043 
00044 };
00045 
00046 Resolver *constructResolver(
00047         const ValidSchema &rwriterSchema,
00048         const ValidSchema &readerSchema,
00049         const Layout &readerLayout
00050     );
00051 
00052 
00053 
00054 } // namespace avro
00055 
00056 #endif
Generated on Fri Oct 8 14:36:18 2010 for Avro C++ by  doxygen 1.6.3