#include <enriched_string.h>
|
| EnrichedString () |
|
| EnrichedString (const std::wstring &s, const irr::video::SColor &color=irr::video::SColor(255, 255, 255, 255)) |
|
| EnrichedString (const wchar_t *str, const irr::video::SColor &color=irr::video::SColor(255, 255, 255, 255)) |
|
| EnrichedString (const std::wstring &string, const std::vector< irr::video::SColor > &colors) |
|
void | clear () |
|
void | operator= (const wchar_t *str) |
|
void | addAtEnd (const std::wstring &s, const irr::video::SColor &color) |
|
void | addChar (const EnrichedString &source, size_t i) |
|
void | addCharNoColor (wchar_t c) |
|
EnrichedString | substr (size_t pos=0, size_t len=std::string::npos) const |
|
EnrichedString | operator+ (const EnrichedString &other) const |
|
void | operator+= (const EnrichedString &other) |
|
const wchar_t * | c_str () const |
|
const std::vector< irr::video::SColor > & | getColors () const |
|
const std::wstring & | getString () const |
|
void | setDefaultColor (const irr::video::SColor &color) |
|
void | updateDefaultColor () |
|
const irr::video::SColor & | getDefaultColor () const |
|
bool | operator== (const EnrichedString &other) const |
|
bool | operator!= (const EnrichedString &other) const |
|
bool | empty () const |
|
size_t | size () const |
|
bool | hasBackground () const |
|
irr::video::SColor | getBackground () const |
|
void | setBackground (const irr::video::SColor &color) |
|
◆ EnrichedString() [1/4]
EnrichedString::EnrichedString |
( |
| ) |
|
◆ EnrichedString() [2/4]
EnrichedString::EnrichedString |
( |
const std::wstring & |
s, |
|
|
const irr::video::SColor & |
color = irr::video::SColor(255, 255, 255, 255) |
|
) |
| |
◆ EnrichedString() [3/4]
EnrichedString::EnrichedString |
( |
const wchar_t * |
str, |
|
|
const irr::video::SColor & |
color = irr::video::SColor(255, 255, 255, 255) |
|
) |
| |
◆ EnrichedString() [4/4]
EnrichedString::EnrichedString |
( |
const std::wstring & |
string, |
|
|
const std::vector< irr::video::SColor > & |
colors |
|
) |
| |
◆ addAtEnd()
void EnrichedString::addAtEnd |
( |
const std::wstring & |
s, |
|
|
const irr::video::SColor & |
color |
|
) |
| |
◆ addChar()
void EnrichedString::addChar |
( |
const EnrichedString & |
source, |
|
|
size_t |
i |
|
) |
| |
◆ addCharNoColor()
void EnrichedString::addCharNoColor |
( |
wchar_t |
c | ) |
|
◆ c_str()
const wchar_t * EnrichedString::c_str |
( |
| ) |
const |
◆ clear()
void EnrichedString::clear |
( |
| ) |
|
◆ empty()
bool EnrichedString::empty |
( |
| ) |
const |
|
inline |
◆ getBackground()
irr::video::SColor EnrichedString::getBackground |
( |
| ) |
const |
|
inline |
◆ getColors()
const std::vector< SColor > & EnrichedString::getColors |
( |
| ) |
const |
◆ getDefaultColor()
const irr::video::SColor& EnrichedString::getDefaultColor |
( |
| ) |
const |
|
inline |
◆ getString()
const std::wstring & EnrichedString::getString |
( |
| ) |
const |
◆ hasBackground()
bool EnrichedString::hasBackground |
( |
| ) |
const |
|
inline |
◆ operator!=()
◆ operator+()
◆ operator+=()
◆ operator=()
void EnrichedString::operator= |
( |
const wchar_t * |
str | ) |
|
◆ operator==()
◆ setBackground()
void EnrichedString::setBackground |
( |
const irr::video::SColor & |
color | ) |
|
|
inline |
◆ setDefaultColor()
void EnrichedString::setDefaultColor |
( |
const irr::video::SColor & |
color | ) |
|
◆ size()
size_t EnrichedString::size |
( |
| ) |
const |
|
inline |
◆ substr()
EnrichedString EnrichedString::substr |
( |
size_t |
pos = 0 , |
|
|
size_t |
len = std::string::npos |
|
) |
| const |
◆ updateDefaultColor()
void EnrichedString::updateDefaultColor |
( |
| ) |
|
◆ m_background
irr::video::SColor EnrichedString::m_background |
|
private |
◆ m_colors
std::vector<irr::video::SColor> EnrichedString::m_colors |
|
private |
◆ m_default_color
irr::video::SColor EnrichedString::m_default_color |
|
private |
◆ m_default_length
size_t EnrichedString::m_default_length = 0 |
|
private |
◆ m_has_background
bool EnrichedString::m_has_background |
|
private |
◆ m_string
std::wstring EnrichedString::m_string |
|
private |
The documentation for this class was generated from the following files: