29 prefix_ senf::console::detail::ArgumentInfoBase::~ArgumentInfoBase()
35 prefix_ unsigned senf::console::ParsedCommandOverloadBase::v_numArguments()
38 return parameters_.size();
41 prefix_ void senf::console::ParsedCommandOverloadBase::v_argumentDoc(
unsigned index,
45 BOOST_ASSERT( index < parameters_.size() );
46 detail::ArgumentInfoBase &
arg (*parameters_[index]);
47 doc.name = arg.name.empty()
52 doc.defaultValue = arg.defaultDoc.empty()
53 ? arg.defaultValueStr()
55 if (doc.defaultValue.empty())
56 doc.defaultValue =
"(empty)";
59 doc.singleToken = arg.singleToken;
62 prefix_ std::string senf::console::ParsedCommandOverloadBase::v_doc()
ParsedCommand public header.
detail::ArgumentInfoBase & arg(unsigned n) const
unsigned overloadIndex() const
Get index of overload in it's OverloadedCommandNode.
std::string doc() const
Get overload documentation.
void format(Type const &value, std::ostream &os)
Format return value.