#include <vtql_parse.h>
Public Methods | |
void | NewString (const std::string &line) |
Parse a new line and delete the old results. More... | |
int | GetCom () const |
Get the arbitrary number of the command. More... | |
int | Int10 (int field, int min=INT_MIN, int max=INT_MAX) const |
Get an integer command argument in decimal base. More... | |
int | Freq (int field) const |
Get an frequency argument. More... | |
std::string | String (int field) const |
Get an string argument. More... | |
template<typename ModeT> ModeT | DecMode (int field) const |
Get an ShowMode or UserMode argument. More... |
This class is mainly used in the server itself, but maybe it is handy to know about it in a client application.
|
Parse a new line and delete the old results.
|
|
Get the arbitrary number of the command.
|
|
Get an integer command argument in decimal base. Interpret a field as integer in decimal writing and specify a range for it.
|
|
Get an frequency argument. Interpret a field as frequency argument (e.g. '12345' (kHz) or 'europe_west::E2~m3').
|
|
Get an string argument.
|
|
Get an ShowMode or UserMode argument.
|