// Add a new directory to the root and document it. All the mutators return the node object
// itself so operations can be chained.
- senf::console::DirectoryNode & mydir (
+ senf::console::DirectoryNode & mydir ( senf::console::root()
.mkdir("myserver")
.doc("My server specific directory"));
///< Execute the command
/**< \param[in] output stream where result messages may be
written to
- \param[in] arguments command arguments. This is a
+ \param[in] command command arguments. This is a
range of ranges of Token instances. */
void execute(boost::any & rv, std::ostream & output, ParseCommandInfo const & command)
/**< \param[out] rv command return value
\param[in] output stream where result messages may be
written to
- \param[in] arguments command arguments. This is a
+ \param[in] command command arguments. This is a
range of ranges of Token instances. */
void operator()(std::ostream & output, ParseCommandInfo const & command) const;
/**< Same as execute()
\param[in] output stream where result messages may be
written to
- \param[in] arguments command arguments. This is a
+ \param[in] command command arguments. This is a
range of ranges of Token instances. */
void operator()(boost::any & rv, std::ostream & output, ParseCommandInfo const & command)
const;
const = 0;
///< Called to execute the command
/**< \param[out] rv return value holder
- \param[in] arguments command arguments. This is a
+ \param[in] os stream where result messages may be
+ written to
+ \param[in] command command arguments. This is a
range of ranges of Token instances. */
private: