Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MemReleaserGlobalVariables.h

Go to the documentation of this file.
00001 
00002 
00003 
00005 
00006 
00011 
00016 
00021 //                            MemReleaserGlobalVariables.h                    //
00023 
00024 #ifndef MEMRELEASERGLOBALVARIABLES_H
00025 #define MEMRELEASERGLOBALVARIABLES_H
00026 
00027 #include "GlobalVariables.h"
00028 
00029 namespace X3DTK {
00030 
00032 
00033 class MemReleaserGlobalVariables : public GlobalVariables
00034 {
00035 public:
00037   MemReleaserGlobalVariables();
00039   virtual ~MemReleaserGlobalVariables();
00040 
00042   void init();
00044   void finish();
00045   
00047   void pushParent(SFAbstractNode P);
00049   void popParent();
00051   void setDelete(bool value);
00052   
00054   SFAbstractNode getParent() const {return _nodeStack.front();};
00056   bool getDelete() const {return _toDelete;};
00057 
00058 private: 
00059   MFAbstractNode _nodeStack;
00060   bool _toDelete;  
00061 };
00062 
00063 }
00064 
00065 #endif

Generated on Wed Sep 10 11:25:13 2003 for X3DToolKit by doxygen1.3