globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
globjects::LocationIdentity Class Reference

#include <globjects/include/globjects/LocationIdentity.h>

Public Member Functions

 LocationIdentity ()
 
 LocationIdentity (gl::GLint location)
 
 LocationIdentity (const std::string &name)
 
bool isLocation () const
 
bool isName () const
 
gl::GLint location () const
 
const std::string & name () const
 
bool operator== (const LocationIdentity &identity) const
 
bool operator!= (const LocationIdentity &identity) const
 
bool operator< (const LocationIdentity &identity) const
 
std::size_t hash () const
 

Protected Attributes

bool m_invalid
 
gl::GLint m_location
 
std::string m_name
 
bool m_hasName
 

Constructor & Destructor Documentation

globjects::LocationIdentity::LocationIdentity ( )
globjects::LocationIdentity::LocationIdentity ( gl::GLint  location)
globjects::LocationIdentity::LocationIdentity ( const std::string &  name)

Member Function Documentation

bool globjects::LocationIdentity::isLocation ( ) const
bool globjects::LocationIdentity::isName ( ) const
gl::GLint globjects::LocationIdentity::location ( ) const
const std::string& globjects::LocationIdentity::name ( ) const
bool globjects::LocationIdentity::operator== ( const LocationIdentity identity) const
bool globjects::LocationIdentity::operator!= ( const LocationIdentity identity) const
bool globjects::LocationIdentity::operator< ( const LocationIdentity identity) const
std::size_t globjects::LocationIdentity::hash ( ) const

Member Data Documentation

bool globjects::LocationIdentity::m_invalid
protected
gl::GLint globjects::LocationIdentity::m_location
protected
std::string globjects::LocationIdentity::m_name
protected
bool globjects::LocationIdentity::m_hasName
protected

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