Radium Engine  1.5.0
Ra::Core::Utils::AttribHandle< T > Class Template Reference

An attrib handle basically store an Index and a name. More...

#include <Core/Utils/Attribs.hpp>

+ Inheritance diagram for Ra::Core::Utils::AttribHandle< T >:
+ Collaboration diagram for Ra::Core::Utils::AttribHandle< T >:

Public Types

using value_type = T
 
using AttribType = Attrib< T >
 
using Container = typename Attrib< T >::Container
 

Public Member Functions

template<typename U >
bool operator== (const AttribHandle< U > &lhs) const
 
Index idx () const
 return the index of the attrib.
 
std::string attribName () const
 

Friends

class AttribManager
 

Detailed Description

template<typename T>
class Ra::Core::Utils::AttribHandle< T >

An attrib handle basically store an Index and a name.

Definition at line 145 of file Attribs.hpp.

Member Function Documentation

◆ attribName()

template<typename T >
std::string Ra::Core::Utils::AttribHandle< T >::attribName ( ) const
inline

return the name of the attrib. attrib name are unique in a given attribManager.

Definition at line 163 of file Attribs.hpp.

◆ operator==()

template<typename T >
template<typename U >
bool Ra::Core::Utils::AttribHandle< T >::operator== ( const AttribHandle< U > &  lhs) const
inline

compare two handle, there are the same if they both represent the same attrib (type and value).

Definition at line 154 of file Attribs.hpp.

+ Here is the call graph for this function:

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