VISR  0.11.6
Versatile Interactive Scene Renderer
object_parser.hpp
Go to the documentation of this file.
1 /* Copyright Institute of Sound and Vibration Research - All rights reserved */
2 
3 #ifndef VISR_OBJECTMODEL_OBJECT_PARSER_HPP_INCLUDED
4 #define VISR_OBJECTMODEL_OBJECT_PARSER_HPP_INCLUDED
5 
6 #include "object.hpp"
7 
8 #include "export_symbols.hpp"
9 
10 #include <boost/property_tree/ptree_fwd.hpp>
11 
12 namespace visr
13 {
14 namespace objectmodel
15 {
16 
21 class VISR_OBJECTMODEL_LIBRARY_SYMBOL ObjectParser
22 {
23 public:
24 
28  ObjectParser();
29 
35  virtual ~ObjectParser();
36 
44  virtual void parse( boost::property_tree::ptree const & tree, Object & obj ) const = 0;
45 
53  virtual void write( Object const & obj, boost::property_tree::ptree & tree ) const = 0;
54 protected:
55 
56 private:
57 };
58 
59 } // namespace objectmodel
60 } // namespace visr
61 
62 #endif // VISR_OBJECTMODEL_OBJECT_PARSER_HPP_INCLUDED
Definition: options.cpp:10
Definition: object_parser.hpp:21
Definition: object.hpp:36