globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
globjects::AbstractStringSource Class Referenceabstract

Superclass for all types of static and dynamic strings, e.g. for the use as Shader code. More...

#include <globjects/include/globjects/base/AbstractStringSource.h>

Inheritance diagram for globjects::AbstractStringSource:
globjects::Referenced globjects::Changeable globjects::HeapOnly globjects::CompositeStringSource globjects::File globjects::StaticStringSource globjects::StringSourceDecorator globjects::StringTemplate

Public Member Functions

virtual std::string string () const =0
 
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)
 

Additional Inherited Members

- Protected Member Functions inherited from globjects::Referenced
virtual ~Referenced ()
 
- Protected Member Functions inherited from globjects::HeapOnly
virtual ~HeapOnly ()
 

Detailed Description

Superclass for all types of static and dynamic strings, e.g. for the use as Shader code.

The current string can be queried using string().

See also
Shader

Member Function Documentation

virtual std::string globjects::AbstractStringSource::string ( ) const
pure virtual
virtual std::vector<std::string> globjects::AbstractStringSource::strings ( ) const
virtual
std::vector<const AbstractStringSource*> globjects::AbstractStringSource::flatten ( ) const
virtual void globjects::AbstractStringSource::flattenInto ( std::vector< const AbstractStringSource * > &  vector) const
virtual
virtual std::string globjects::AbstractStringSource::shortInfo ( ) const
virtual

The documentation for this class was generated from the following file: