#include "Parse.hh"
//#include "Utility.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
/** \defgroup senf_console_utilities Special console utility types
char foo(char v) { return v; }
senf::console::root().add(
- "foo", boost::function< CharAsString<char> (CharAsString<char>) >(&foo));
+ "foo", fty::Command< CharAsString<char> (CharAsString<char>) >(&foo));
\endcode
\tparam CharT character type, one of \c char, \c signed \c char or \c unsigned \c char
/** \brief Value range
A value range may be represented in the console either by a single value (setting both \a
- low and \a high to the same value) or as a lower and upper bound seperated by a colon.
+ low and \a high to the same value) or as a lower and upper bound separated by a colon.
\ingroup senf_console_utilities
*/
SENF_CONSOLE_REGISTER_ENUM(MyFlags, (Foo)(Bar)(Baz)(Boo));
// Register the function with a FlagCollection argument type
- consoleDir.add("func", boost::function<void (FlagCollection<MyFlags>)>(&func));
+ consoleDir.add("func", fty::Command<void (FlagCollection<MyFlags>)>(&func));
\endcode
To use the FlagCollection class
}}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
//#include "Utility.cci"
#include "Utility.ct"
#include "Utility.cti"