Browse Source

- Taml serialization WIP.

MelvMay-GG 12 years ago
parent
commit
67ca3cc
2 changed files with 675 additions and 628 deletions
  1. 669 625
      engine/source/2d/scene/Scene.cc
  2. 6 3
      engine/source/persistence/taml/tamlCustom.h

File diff suppressed because it is too large
+ 669 - 625
engine/source/2d/scene/Scene.cc


+ 6 - 3
engine/source/persistence/taml/tamlCustom.h

@@ -456,15 +456,18 @@ public:
         return NULL;
     }
 
+    inline StringTableEntry getNodeName( void ) const { return mNodeName; }
+
+    inline const Vector<TamlCustomNode*>& getChildren( void ) const { return mChildren; }
+    inline const TamlCustomFieldVector& getFields( void ) const { return mFields; }
+
     inline bool isProxyObject( void ) const { return mpProxyObject != NULL; }
     inline SimObject* getProxyObject( void ) const { return mpProxyObject != NULL ? mpProxyObject : NULL; }
     inline const TamlWriteNode* getProxyWriteNode( void ) const { return mpProxyWriteNode; }
     template<typename T> T* composeProxyObject( void ) const;
 
-    inline const Vector<TamlCustomNode*>& getChildren( void ) const { return mChildren; }
-    inline const TamlCustomFieldVector& getFields( void ) const { return mFields; }
-
     inline bool isEmpty( void ) const { return mChildren.size() == 0 && mFields.size() == 0; }
+    inline bool getIgnoreEmpty( void ) const { return mIgnoreEmpty; }
 
     StringTableEntry        mNodeName;
     Vector<TamlCustomNode*> mChildren;

Some files were not shown because too many files changed in this diff