![]() |
Radium Engine
1.7.0
|
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 |
An attrib handle basically store an Index and a name.
Definition at line 153 of file Attribs.hpp.
| using Ra::Core::Utils::AttribHandle< T >::AttribType = Attrib<T> |
Definition at line 157 of file Attribs.hpp.
| using Ra::Core::Utils::AttribHandle< T >::Container = typename Attrib<T>::Container |
Definition at line 158 of file Attribs.hpp.
| using Ra::Core::Utils::AttribHandle< T >::value_type = T |
Definition at line 156 of file Attribs.hpp.
|
inline |
return the name of the attrib. attrib name are unique in a given attribManager.
Definition at line 171 of file Attribs.hpp.
|
inline |
return the index of the attrib.
Definition at line 167 of file Attribs.hpp.
|
inline |
compare two handle, there are the same if they both represent the same attrib (type and value).
Definition at line 162 of file Attribs.hpp.
Here is the call graph for this function:
|
friend |
Definition at line 177 of file Attribs.hpp.