#include <string>
#include <vector>
Go to the source code of this file.
Namespaces | |
sdl | |
Functions | |
std::string | get_token (const std::string &string, std::string::const_iterator &begin, const char separator) |
Gets a token from a string. More... | |
Variables | |
std::vector< sdl::twindow * > | windows |
Contains the windows created by the user. More... | |
std::string get_token | ( | const std::string & | string, |
std::string::const_iterator & | begin, | ||
const char | separator | ||
) |
Gets a token from a string.
Tokens are separated by a single separator
character.
string | The string to search for tokens. | |
[in,out] | begin | Input:
|
separator | The character marking the separation between tokens. |
separator
character, or if the character is not found until the end of the string
. Definition at line 121 of file sdl2.cpp.
References gui2::event::find().
Referenced by execute_command().
std::vector<sdl::twindow*> windows |