29 namespace CoordinateSystems
42 unsigned int counter = 0;
54 "The name of the coordinate system to use.");
56 iter.second(prm, parent_name);
78 std::unique_ptr<Interface>
81 std::string lower_case_name;
82 std::transform(name.begin(),
84 std::back_inserter(lower_case_name),
90 "Internal error: Plugin with name '" << lower_case_name <<
"' is not found. "
WorldBuilder::World * world
static std::map< std::string, ObjectFactory * > & get_factory_map()
void enter_subsection(const std::string &name)
static std::unique_ptr< Interface > create(const std::string &name, WorldBuilder::World *world)
#define WBAssertThrow(condition, message)
static std::map< std::string, void(*)(Parameters &, const std::string &)> & get_declare_map()
static void declare_entries(Parameters &prm, const std::string &parent_name, const std::vector< std::string > &required_entries)
void declare_entry(const std::string &name, const Types::Interface &type, const std::string &documentation)
static void registerType(const std::string &name, void(*)(Parameters &, const std::string &), ObjectFactory *factory)