7 #ifndef BALL_NMR_SHIFTMODEL_H 8 #define BALL_NMR_SHIFTMODEL_H 10 #ifndef BALL_NMR_SHIFTMODULE_H 14 #ifndef BALL_DATATYPE_OPTIONS_H 18 #ifndef BALL_FORMAT_PARAMETERS_H 66 static const
char* MODULE_LIST_SECTION;
106 ModuleList& getModuleList();
110 void setFilename(const
String& filename)
111 throw(Exception::FileNotFound);
115 const
String& getFilename() const;
119 void registerModule(const
String& name, CreateMethod method)
120 throw(Exception::NullPointer);
124 void unregisterModule(const
String& name) ;
133 bool isValid() const;
137 bool isRegistered(const
String& name) const;
146 const ShiftModel& operator = (const ShiftModel& model);
150 const ShiftModel& operator = (const
String& filename);
187 throw(Exception::FileNotFound);
197 void registerStandardModules_();
209 CreateMethodMap registered_modules_;
219 #endif // BALL_NMR_SHIFTMODEL_H Model *(* CreateMethod)(const QSARData &q)
#define BALL_CREATE(name)
-*- Mode: C++; tab-width: 2; -*-
std::list< ShiftModule * > ModuleList