1 #if !defined(h_409ac787_0acf_47ff_ac15_3e9024d40315) 2 #define h_409ac787_0acf_47ff_ac15_3e9024d40315 16 typedef std::auto_ptr<Layout>(*create_function_t)(
const params_t& params);
19 void registerCreator(
const std::string& class_name, create_function_t create_function);
20 std::auto_ptr<Layout> create(
const std::string& class_name,
const params_t& params);
21 bool registed(
const std::string& class_name)
const;
26 typedef std::map<std::string, create_function_t>
creators_t;
35 #endif // h_409ac787_0acf_47ff_ac15_3e9024d40315
creators_t::const_iterator const_iterator
std::map< std::string, create_function_t > creators_t