diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-04 03:17:45 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-01-04 03:17:45 +0100 |
commit | f0db6a4e4e6b3059c6553b819ac8788b62486103 (patch) | |
tree | c449ef54f745c4a4994d815579c69c0790bc26b1 /commands.cpp | |
parent | 2b03b8ef2b5002f00960d17c8f1f634eb3a3a70f (diff) |
Added Doxyfile and documentation comments in various places.
Diffstat (limited to 'commands.cpp')
-rw-r--r-- | commands.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/commands.cpp b/commands.cpp index 3000f31..84c1e5f 100644 --- a/commands.cpp +++ b/commands.cpp @@ -78,6 +78,9 @@ Commands::Commands(boost::asio::io_service& io_service_, std::vector<std::string handlers["update"] = &Commands::update; } +/** Invokes the command and returns its results. + * Throws CommandException if the command isn't found. + */ std::vector<std::string> Commands::operator()() { assert(args.size()); Handler h = handlers[args[0]]; |