globjects
1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
|
StaticStringSource is a StringSource using an std::string as source. More...
#include <globjects/include/globjects/base/StaticStringSource.h>
Public Member Functions | |
StaticStringSource (const std::string &string) | |
StaticStringSource (const char *data, size_t length) | |
virtual std::string | shortInfo () const override |
virtual std::string | string () const override |
void | setString (const std::string &string) |
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 |
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 Attributes | |
std::string | m_string |
Additional Inherited Members | |
Protected Member Functions inherited from globjects::Referenced | |
virtual | ~Referenced () |
Protected Member Functions inherited from globjects::HeapOnly | |
virtual | ~HeapOnly () |
StaticStringSource is a StringSource using an std::string as source.
The string can be queried with string().
globjects::StaticStringSource::StaticStringSource | ( | const std::string & | string | ) |
globjects::StaticStringSource::StaticStringSource | ( | const char * | data, |
size_t | length | ||
) |
|
overridevirtual |
Reimplemented from globjects::AbstractStringSource.
|
overridevirtual |
Implements globjects::AbstractStringSource.
void globjects::StaticStringSource::setString | ( | const std::string & | string | ) |
|
protected |