OGLplus (0.52.0) a C++ wrapper for OpenGL

Specialization of NamedString for ShaderInclude type. More...

#include </home/chochlik/devel/oglplus/include/oglplus/named_string.hpp>

Inheritance diagram for oglplus::ShaderInclude:
Collaboration diagram for oglplus::ShaderInclude:

Public Member Functions

 ShaderInclude (String &&name, const StrCRef &value)
 Create a shader include with the specified name and value.
 
void Set (const StrCRef &value)
 Set a new value for this shader include.
 
void Set (NamedStringType type, const StrCRef &value)
 Sets the value of the specified type in this NamedString.
 
String Get (void) const
 Sets the value of this NamedString.
 

Static Public Member Functions

static void Set (NamedStringType type, const StrCRef &name, const StrCRef &value)
 Store the value, of the specified type under name.
 
static String Get (const StrCRef &name)
 Gets the value stored under name.
 
static void Delete (const StrCRef &name)
 Deletes the value stored under name.
 
static NamedStringType Type (const StrCRef &name)
 Gets the type of the named string stored under name.
 
static bool IsA (const StrCRef &name)
 Checks if name is a stored string.
 

Detailed Description

Specialization of NamedString for ShaderInclude type.


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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).