Mark a string to be streamed out escaped for Lua.
More...
#include <Str.h>
|
| Lua (const std::string &s) |
|
std::ostream & | StreamOut (std::ostream &os) const |
|
Mark a string to be streamed out escaped for Lua.
The surrounding quote marks are *not* included in the output.
Example:
std::string str = ...
std::cout <<
'"' <<
Str::Lua(str) <<
'"' << std::endl;
HoverRace::Util::Str::Lua::Lua |
( |
const std::string & |
s | ) |
|
|
inlineexplicit |
std::ostream & HoverRace::Util::Str::Lua::StreamOut |
( |
std::ostream & |
os | ) |
const |
std::string HoverRace::Util::Str::Lua::s |
|
private |
The documentation for this class was generated from the following files: