Ocular Engine
ObjectIO.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_CORE_OBJECT_IO__H__
19 #define __H__OCULAR_CORE_OBJECT_IO__H__
20 
21 #include "Exposable.hpp"
22 #include "Buildable.hpp"
23 
24 //------------------------------------------------------------------------------------------
25 
30 namespace Ocular
31 {
36  namespace Core
37  {
38  class ObjectIO : public Exposable, public Buildable
39  {
40  public:
41 
42  virtual void onLoad(BuilderNode const* node) override;
43  virtual void onSave(BuilderNode* node) const override;
44 
45  protected:
46 
47  private:
48 
49  };
50  }
54 }
59 //------------------------------------------------------------------------------------------
60 
61 #endif
virtual void onLoad(BuilderNode const *node) override
Definition: ObjectIO.cpp:34
Definition: Exposable.hpp:67
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
virtual void onSave(BuilderNode *node) const override
Definition: ObjectIO.cpp:84
Definition: ObjectIO.hpp:38
Definition: Buildable.hpp:54
Generic node system used for loading and saving SceneObjects and their components.
Definition: BuilderNode.hpp:51