Ocular Engine
SceneObjectSaver.hpp
1 
17 #pragma once
18 #ifndef __H__OCULAR_CORE_SCENE_OBJECT_LOADER__H__
19 #define __H__OCULAR_CORE_SCENE_OBJECT_LOADER__H__
20 
21 #include "FileIO/File.hpp"
22 
23 //------------------------------------------------------------------------------------------
24 
29 namespace Ocular
30 {
35  namespace Core
36  {
37  class SceneObject;
38  struct Node_Internal;
39 
50  {
51  public:
52 
61  static bool Save(SceneObject* object, File const& file);
62 
72  static bool Save(SceneObject* object, Node_Internal* node);
73 
74  protected:
75 
76  static bool IsValidFile(File const& file);
77 
78  private:
79  };
80  }
84 }
89 //------------------------------------------------------------------------------------------
90 
91 #endif
Definition: SceneObjectSaver.hpp:49
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
static bool Save(SceneObject *object, File const &file)
Definition: SceneObjectSaver.cpp:41
Definition: SceneObject.hpp:93
Definition: File.hpp:41
Definition: SceneLoadInternal.hpp:42