Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ConfigEditor.h

Go to the documentation of this file.
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 #ifndef CFG_CONFIGEDITOR_H
00009 #define CFG_CONFIGEDITOR_H
00010 namespace cfg { class Config; }
00011 
00012 namespace cfg {
00014   //
00027   class ConfigEditor {
00028   public:
00029     ConfigEditor(Config* config);
00030     virtual ~ConfigEditor();
00031     
00034     virtual int EditConfig(Config& cfg);
00035     
00036     void Apply();
00037     void Edit();
00038     void Reset();
00039     void Cancel();
00040     
00041   private:
00042     bool    fNewConfig;  
00043     Config* fConfig;     
00044     Config* fConfigCopy; 
00045   };
00046 }
00047 #endif // CFGCONFIGEDITOR_H
00048 

Generated on Thu Sep 4 02:05:26 2008 for NOvA Offline by doxygen 1.3.5