12 #ifndef gen_ParameterCollector_h
13 #define gen_ParameterCollector_h
20 #include <boost/iterator/iterator_facade.hpp>
36 public boost::iterator_facade<const_iterator, const std::string,
37 boost::forward_traversal_tag> {
45 std::vector<std::string>::const_iterator
begin,
46 std::vector<std::string>::const_iterator
end,
47 bool special =
false, std::ostream *
dump = 0);
59 typedef std::pair<std::vector<std::string>::const_iterator,
60 std::vector<std::string>::const_iterator>
IterPair;
82 static std::string
resolve(
const std::string &
line);
87 std::map<std::string, std::vector<std::string> >
contents_;
92 #endif // gen_ParameterCollector_h
static std::string resolve(const std::string &line)
friend class boost::iterator_core_access
bool equal(const const_iterator &other) const
const ParameterCollector * collector_
std::pair< std::vector< std::string >::const_iterator, std::vector< std::string >::const_iterator > IterPair
const std::string & dereference() const
friend class const_iterator
std::map< std::string, std::vector< std::string > > contents_
std::vector< IterPair > iter_
const_iterator end() const
const_iterator begin() const