17 #ifndef SURGSIM_SERIALIZE_SHAPESFACTORY_INL_H 18 #define SURGSIM_SERIALIZE_SHAPESFACTORY_INL_H 26 template <
class Derived>
29 if (m_registerDirectory.find(className) == m_registerDirectory.end())
31 m_registerDirectory[className] = boost::factory<std::shared_ptr<Derived>>();
37 #endif // SURGSIM_SERIALIZE_SHAPESFACTORY_INL_H Definition: CompoundShapeToGraphics.cpp:29
void registerShape(const std::string &className)
Template version to register a shape into the internal directory.
Definition: ShapesFactory-inl.h:27