4 #include"shared_ptr.hpp" 10 typedef STD_TR1::shared_ptr<loadable_Object> loadable_Object_ref;
36 xml_chain(
const std::string& s, loadable_Object_ref head);
38 static std::string parse_first(
const std::string& );
40 size_t length() {
return chain_data.size();};
41 loadable_Object_ref last();
43 loadable_Object_ref operator[](
size_t i);
44 const std::string& name(
size_t i);
46 std::vector<std::pair<std::string, loadable_Object_ref> > chain_data;
55 template <
class container_type>
60 typedef typename container_type::value_type container_element;
61 typedef typename container_element::element_type T;
63 typedef STD_TR1::shared_ptr< container_type > return_type;
66 static return_type parse(
const std::string&, STD_TR1::shared_ptr<loadable_Object>);
67 static return_type parse(
const std::string&, STD_TR1::shared_ptr<const loadable_Object>);
72 static return_type create_single(
const std::string&, STD_TR1::shared_ptr<loadable_Object>);
73 static return_type create_single(
const std::string&, STD_TR1::shared_ptr<const loadable_Object>);
74 static return_type create_aufzaehlung(
const std::string&, STD_TR1::shared_ptr<loadable_Object>);
75 static return_type create_aufzaehlung(
const std::string&, STD_TR1::shared_ptr<const loadable_Object>);
93 typedef std::vector<T> container_type;
94 typedef STD_TR1::shared_ptr< container_type > return_type;
97 static return_type parse(
const std::string&,STD_TR1::shared_ptr<loadable_Object>);
100 bool check_exist(
const std::string&);
102 const std::string& param;
103 STD_TR1::shared_ptr<loadable_Object> my_obj;
108 param_range(
const std::string&, STD_TR1::shared_ptr<loadable_Object>);
110 return_type create_single();
111 return_type create_continuum();
112 return_type create_random();
113 return_type create_aufzaehlung();
117 #include "xml_utils.tpp" Definition: xml_utils.hpp:34
Class to parse an Enumeration of loadable_Objects.
Definition: xml_utils.hpp:57
An abstract base class supporting xml_file_reading of input parameters.
Definition: input_file.hpp:79
Class to parse an Enumeration of parameters.
Definition: xml_utils.hpp:91