globjects  2.0.0.690708773bba
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::Changeable globjects::AbstractStringSourceDecorator globjects::CompositeStringSource globjects::File globjects::StaticStringSource 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::Changeable
 Changeable ()
 
virtual ~Changeable ()
 
void changed () const
 
void registerListener (ChangeListener *listener)
 
void deregisterListener (ChangeListener *listener)
 

Additional Inherited Members

- Protected Attributes inherited from globjects::Changeable
std::set< ChangeListener * > m_listeners
 

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: