globjects
1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
|
#include <globjects/include/globjects/base/StringTemplate.h>
Public Member Functions | |
StringTemplate (AbstractStringSource *source) | |
virtual std::string | string () const override |
virtual void | update () override |
void | replace (const std::string &original, const std::string &str) |
void | replace (const std::string &original, int i) |
void | clearReplacements () |
Public Member Functions inherited from globjects::StringSourceDecorator | |
StringSourceDecorator (globjects::AbstractStringSource *source) | |
Public Member Functions inherited from globjects::AbstractStringSource | |
virtual std::vector< std::string > | strings () const |
std::vector< const AbstractStringSource * > | flatten () const |
virtual void | flattenInto (std::vector< const AbstractStringSource * > &vector) const |
virtual std::string | shortInfo () const |
Public Member Functions inherited from globjects::Referenced | |
Referenced () | |
void | ref () const |
void | unref () const |
int | refCounter () const |
Public Member Functions inherited from globjects::HeapOnly | |
HeapOnly () | |
void | destroy () const |
Public Member Functions inherited from globjects::Changeable | |
void | changed () const |
void | registerListener (ChangeListener *listener) |
void | deregisterListener (ChangeListener *listener) |
Protected Member Functions | |
virtual | ~StringTemplate () |
void | invalidate () |
std::string | modifiedSource () const |
Protected Member Functions inherited from globjects::StringSourceDecorator | |
virtual | ~StringSourceDecorator () |
virtual void | notifyChanged (const Changeable *changeable) override |
Protected Member Functions inherited from globjects::Referenced | |
virtual | ~Referenced () |
Protected Member Functions inherited from globjects::HeapOnly | |
virtual | ~HeapOnly () |
Protected Member Functions inherited from globjects::ChangeListener | |
virtual | ~ChangeListener () |
Protected Attributes | |
std::string | m_modifiedSource |
bool | m_modifiedSourceValid |
std::map< std::string, std::string > | m_replacements |
Protected Attributes inherited from globjects::StringSourceDecorator | |
globjects::ref_ptr< globjects::AbstractStringSource > | m_internal |
globjects::StringTemplate::StringTemplate | ( | AbstractStringSource * | source | ) |
|
protectedvirtual |
|
overridevirtual |
Implements globjects::AbstractStringSource.
|
overridevirtual |
Reimplemented from globjects::StringSourceDecorator.
void globjects::StringTemplate::replace | ( | const std::string & | original, |
const std::string & | str | ||
) |
void globjects::StringTemplate::replace | ( | const std::string & | original, |
int | i | ||
) |
void globjects::StringTemplate::clearReplacements | ( | ) |
|
protected |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |