Definition in file command.h.
#include "nel/misc/types_nl.h"
#include <string>
#include <map>
#include <vector>
#include <istream>
#include "nel/misc/stream.h"
#include "nel/misc/config_file.h"
#include "nel/misc/log.h"
Go to the source code of this file.
Namespaces | |
namespace | NLMISC |
Defines | |
#define | NLMISC_COMMAND(__name, __help, __args) |
|
Value: struct __name##Class: public NLMISC::ICommand \ { \ __name##Class() : NLMISC::ICommand(#__name,__help,__args) { } \ virtual bool execute(const std::vector<std::string> &args, NLMISC::CLog &log, bool quiet, bool human); \ }; \ __name##Class __name##Instance; \ bool __name##Class::execute(const std::vector<std::string> &args, NLMISC::CLog &log, bool quiet, bool human) Example:
Please use the same casing than for the function (first letter in lower case and after each word first letter in upper case) ie: myFunction, step, orderByName, lookAtThis
|