21 #ifndef DATATOOLS_INTROSPECTION_METHOD_H 22 #define DATATOOLS_INTROSPECTION_METHOD_H 31 #include <boost/optional.hpp> 32 #include <boost/scoped_ptr.hpp> 33 #include <boost/program_options.hpp> 42 namespace introspection {
144 const std::string & prefix_ =
"")
const;
147 virtual void tree_dump(std::ostream & out_ = std::clog,
148 const std::string & title_ =
"",
149 const std::string & indent_ =
"",
150 bool inherit_ =
false)
const;
155 const std::string & arg_info_ =
"",
156 const std::string & arg_info2_ =
"",
157 const std::string & method_desc_ =
"",
158 const std::string & method_name_ =
"set");
163 const std::string & arg_info_ =
"",
164 const std::string & arg_info2_ =
"",
165 const std::string & method_desc_ =
"",
166 const std::string & method_name_ =
"get");
170 boost::optional<bool> _constness_;
171 boost::optional<std::string> _type_id_;
176 boost::scoped_ptr<pimpl_type> _priv_;
184 #endif // DATATOOLS_INTROSPECTION_METHOD_H
Description of a method argument.