Definition at line 213 of file schema3.cc.
◆ MinskyItemFactory()
schema3::MinskyItemFactory::MinskyItemFactory |
( |
| ) |
|
|
inline |
Definition at line 225 of file schema3.cc.
227 registerClassType<minsky::Item>();
228 registerClassType<minsky::IntOp>();
229 registerClassType<minsky::DataOp>();
230 registerClassType<minsky::UserFunction>();
231 registerClassType<minsky::Ravel>();
232 registerClassType<minsky::Lock>();
233 registerClassType<minsky::Sheet>();
234 registerClassType<minsky::VarConstant>();
235 registerClassType<minsky::GodleyIcon>();
236 registerClassType<minsky::PlotWidget>();
237 registerClassType<minsky::SwitchIcon>();
◆ create()
minsky::Item* schema3::MinskyItemFactory::create |
( |
const string & |
t | ) |
const |
|
inline |
◆ registerClassType()
template<class T >
void schema3::MinskyItemFactory::registerClassType |
( |
| ) |
|
|
inline |
Definition at line 216 of file schema3.cc.
217 auto s=typeName<T>();
219 static const char* ns=
"minsky::";
220 static const int eop=strlen(ns);
221 if (
s.substr(0,eop)==ns)
The documentation for this struct was generated from the following file: