00001 00002 // $Id: Cfg.h,v 1.2 2003/05/29 18:23:35 messier Exp $ 00003 // 00004 // Some utility functions for working with configurations 00005 // 00006 // messier@huhepl.harvard.edu 00008 #ifndef CFG_H 00009 #define CFG_H 00010 #ifndef STRING 00011 # include <string> 00012 # define STRING 00013 #endif 00014 #ifndef REGISTRY_H 00015 # include "Registry/Registry.h" 00016 #endif 00017 00018 class Cfg 00019 { 00020 public: 00021 static void RegistryToString(std::string& s, const Registry& r); 00022 static void StringToRegistry(Registry& r, const char* s); 00023 private: 00024 Cfg(); 00025 }; 00026 00027 #endif // CFG_H 00028 00029
1.3.9.1