Create an entity from a simple classname string
| 24 | |
| 25 | // Create an entity from a simple classname string |
| 26 | inline IEntityNodePtr createEntityByClassName(const std::string& className) |
| 27 | { |
| 28 | auto cls = GlobalEntityClassManager().findClass(className); |
| 29 | return GlobalEntityModule().createEntity(cls); |
| 30 | } |
| 31 | |
| 32 | } |
| 33 |