#include <Core/Utils/Attribs.hpp>
AttribBase is the base class for attributes of all type.
Definition at line 26 of file Attribs.hpp.
◆ AttribBase()
Ra::Core::Utils::AttribBase::AttribBase |
( |
const std::string & | name | ) |
|
|
inlineexplicit |
◆ ~AttribBase()
Ra::Core::Utils::AttribBase::~AttribBase |
( |
| ) |
|
|
virtual |
◆ cast() [1/2]
template<typename T >
Attrib< T > & Ra::Core::Utils::AttribBase::cast |
( |
| ) |
|
|
inline |
◆ cast() [2/2]
template<typename T >
const Attrib< T > & Ra::Core::Utils::AttribBase::cast |
( |
| ) |
const |
|
inline |
◆ getName()
std::string Ra::Core::Utils::AttribBase::getName |
( |
| ) |
const |
|
inline |
Return the attribute's name.
Definition at line 448 of file Attribs.hpp.
◆ isFloat()
virtual bool Ra::Core::Utils::AttribBase::isFloat |
( |
| ) |
const |
|
pure virtual |
◆ isLocked()
bool Ra::Core::Utils::AttribBase::isLocked |
( |
| ) |
const |
|
inline |
Return true if data is locked, i.e. has been locked for write access with getDataWithlock() (defined in subclass Attrib). Double lock is prohebited, so when finished, call unlock();
Definition at line 470 of file Attribs.hpp.
◆ isVector2()
virtual bool Ra::Core::Utils::AttribBase::isVector2 |
( |
| ) |
const |
|
pure virtual |
◆ isVector3()
virtual bool Ra::Core::Utils::AttribBase::isVector3 |
( |
| ) |
const |
|
pure virtual |
◆ isVector4()
virtual bool Ra::Core::Utils::AttribBase::isVector4 |
( |
| ) |
const |
|
pure virtual |
◆ lock()
void Ra::Core::Utils::AttribBase::lock |
( |
bool | isLocked = true | ) |
|
|
inlineprotected |
◆ operator==()
bool Ra::Core::Utils::AttribBase::operator== |
( |
const AttribBase & | rhs | ) |
|
|
inline |
Return true if *this and rhs
have the same name.
Definition at line 456 of file Attribs.hpp.
◆ resize()
virtual void Ra::Core::Utils::AttribBase::resize |
( |
size_t | s | ) |
|
|
pure virtual |
◆ setName()
void Ra::Core::Utils::AttribBase::setName |
( |
const std::string & | name | ) |
|
|
inline |
◆ unlock()
void Ra::Core::Utils::AttribBase::unlock |
( |
| ) |
|
|
inline |
Unlock data so another one can gain write access.
Definition at line 474 of file Attribs.hpp.
The documentation for this class was generated from the following files:
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Core/Utils/Attribs.hpp
- /home/runner/work/Radium-Engine/Radium-Engine/src/Radium-Engine/src/Core/Utils/Attribs.cpp