00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef _OBJCRYST_IOCRYST_H_
00013 #define _OBJCRYST_IOCRYST_H_
00014 #endif //_OBJCRYST_IOCRYST_H_
00015
00016 #include "RefinableObj/IO.h"
00017 #include "RefinableObj/RefinableObj.h"
00018
00019
00020 namespace ObjCryst
00021 {
00031 void XMLCrystFileSaveGlobal(const string & filename);
00043 ObjRegistry<XMLCrystTag> XMLCrystFileLoadObjectList(const string & filename);
00044
00055 template<class T> void XMLCrystFileLoadObject(const string & file,
00056 const string &tagName,
00057 const string &name, T*obj);
00058
00065 void XMLCrystFileLoadAllObject(const string & file);
00066
00067 #if 0
00068
00069 void IOCrystFileSaveGlobal(const string & filename);
00071 ObjRegistry<IOCrystTag> IOCrystFileLoadObjectList(const string & filename);
00073 template<class T> void IOCrystFileLoadObject(const string & file,const IOCrystTag &tag, T*obj);
00075 void IOCrystFileLoadAllObject(const string & file);
00076 #endif
00077 }