Radium Engine
1.5.20
Loading...
Searching...
No Matches
IndexedObject.hpp
1
#pragma once
2
3
#include <Core/RaCore.hpp>
4
#include <Core/Utils/Index.hpp>
5
6
namespace
Ra
{
7
namespace
Core {
8
namespace
Utils {
9
13
class
IndexedObject
14
{
15
public
:
17
explicit
inline
IndexedObject
( Index idx = Index::Invalid() ) :
m_idx
{ idx } {}
18
inline
IndexedObject
(
const
IndexedObject
& id_obj ) =
default
;
19
virtual
inline
~IndexedObject
() =
default
;
20
21
inline
void
setIndex(
const
Index& idx ) {
m_idx
= idx; }
22
inline
const
Index& getIndex()
const
{
return
m_idx
; }
23
24
protected
:
26
Index
m_idx
;
27
};
28
29
}
// namespace Utils
30
}
// namespace Core
31
}
// namespace Ra
Ra::Core::Utils::IndexedObject
Definition
IndexedObject.hpp:14
Ra::Core::Utils::IndexedObject::m_idx
Index m_idx
VARIABLE.
Definition
IndexedObject.hpp:26
Ra::Core::Utils::IndexedObject::IndexedObject
IndexedObject(Index idx=Index::Invalid())
CONSTRUCTOR.
Definition
IndexedObject.hpp:17
Ra
hepler function to manage enum as underlying types in VariableSet
Definition
Cage.cpp:3
src
Core
Utils
IndexedObject.hpp
Generated by
1.12.0