Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef avro_ResolverSchema_hh__
00020 #define avro_ResolverSchema_hh__
00021 
00022 #include <boost/noncopyable.hpp>
00023 #include <boost/shared_ptr.hpp>
00024 #include <stdint.h>
00025 
00026 #include "Config.hh"
00027 #include "Boost.hh"
00028 #include "Reader.hh"
00029 
00032 
00033 namespace avro {
00034     
00035 class ValidSchema;
00036 class Layout;
00037 class Resolver;
00038 
00039 class AVRO_DECL ResolverSchema {
00040 
00041   public:
00042 
00043     ResolverSchema(const ValidSchema &writer, const ValidSchema &reader, const Layout &readerLayout);
00044 
00045   private:
00046 
00047     friend class ResolvingReader;
00048 
00049     void parse(Reader &reader, uint8_t *address); 
00050 
00051     boost::shared_ptr<Resolver> resolver_;
00052 
00053 };
00054 
00055 } 
00056 
00057 #endif