32 prefix_ senf::console::SysInfo::SysInfo()
39 for (Entries::iterator d (entries_.begin()); d != entries_.end(); ++d) {
40 if (d->first.second == name) {
45 entries_.insert( std::make_pair( std::make_pair(
46 pos < 0 ? std::numeric_limits<int>::max() : pos, name), entry));
52 for(
auto const & entry: entries_) {
53 os << entry.second << std::endl;
void setEntry(std::string const &name, std::string const &entry, int pos=-1)
ScopedDirectory public header.
ScopedDirectory & sysdir()
OverloadedCommandNode factory.
ParsedCommand public header.
Proxy(std::string const &name, std::string const &entry, int pos=-1)
unspecified_keyword_type name
Argument name.
void dump(std::ostream &os) const
NodeType & add(std::string const &name, boost::shared_ptr< NodeType > node)