#include <map_command_handler.hpp>
Public Member Functions | |
cmd_arg_parser () | |
cmd_arg_parser (const std::string &str) | |
void | parse (const std::string &str) |
const std::string & | get_str () const |
std::string | get_arg (unsigned n) const |
std::string | get_data (unsigned n) const |
std::string | get_cmd () const |
Private Member Functions | |
cmd_arg_parser & | operator= (const cmd_arg_parser &) |
cmd_arg_parser (const cmd_arg_parser &) | |
void | advance_to_arg (unsigned n) const |
Private Attributes | |
std::string | str_ |
std::vector< std::size_t > | args |
bool | args_end |
Definition at line 32 of file map_command_handler.hpp.
|
inline |
Definition at line 35 of file map_command_handler.hpp.
|
inlineexplicit |
Definition at line 42 of file map_command_handler.hpp.
|
private |
|
inlineprivate |
Definition at line 90 of file map_command_handler.hpp.
References args, args_end, n, and str_.
Referenced by get_arg(), and get_data().
|
inline |
Definition at line 61 of file map_command_handler.hpp.
References advance_to_arg(), args, n, and str_.
Referenced by events::map_command_handler< Worker >::get_arg(), and get_cmd().
|
inline |
Definition at line 83 of file map_command_handler.hpp.
References get_arg().
Referenced by events::map_command_handler< Worker >::get_cmd().
|
inline |
Definition at line 71 of file map_command_handler.hpp.
References advance_to_arg(), args, data, n, str_, and utils::trim().
Referenced by events::map_command_handler< Worker >::get_data().
|
inline |
Definition at line 57 of file map_command_handler.hpp.
References str_.
|
private |
|
inline |
Definition at line 49 of file map_command_handler.hpp.
References args, args_end, and str_.
Referenced by events::map_command_handler< Worker >::parse_cmd().
|
mutableprivate |
Definition at line 104 of file map_command_handler.hpp.
Referenced by advance_to_arg(), get_arg(), get_data(), and parse().
|
mutableprivate |
Definition at line 105 of file map_command_handler.hpp.
Referenced by advance_to_arg(), and parse().
|
private |
Definition at line 103 of file map_command_handler.hpp.
Referenced by advance_to_arg(), get_arg(), get_data(), get_str(), and parse().