#include <SceneObject.hpp>
|
| SceneObject (const std::string &name="null", const std::string &type="null") |
|
template<typename T , typename... Args> |
T & | set (Args &&...args) |
|
template<typename T > |
bool | has () const |
|
template<typename T > |
T & | get () const |
|
template<typename T > |
void | remove () |
|
void | debug () const |
|
const std::string & | name () const |
|
const std::string & | type () const |
|
Definition at line 25 of file SceneObject.hpp.
§ SceneObject()
gk::SceneObject::SceneObject |
( |
const std::string & |
name = "null" , |
|
|
const std::string & |
type = "null" |
|
) |
| |
|
inline |
§ debug()
void gk::SceneObject::debug |
( |
| ) |
const |
|
inline |
§ get()
template<typename T >
T& gk::SceneObject::get |
( |
| ) |
const |
|
inline |
§ has()
template<typename T >
bool gk::SceneObject::has |
( |
| ) |
const |
|
inline |
§ name()
const std::string& gk::SceneObject::name |
( |
| ) |
const |
|
inline |
§ remove()
template<typename T >
void gk::SceneObject::remove |
( |
| ) |
|
|
inline |
§ set()
template<typename T , typename... Args>
T& gk::SceneObject::set |
( |
Args &&... |
args | ) |
|
|
inline |
§ type()
const std::string& gk::SceneObject::type |
( |
| ) |
const |
|
inline |
§ m_components
std::unordered_map<size_t, std::shared_ptr<void> > gk::SceneObject::m_components |
|
private |
§ m_name
std::string gk::SceneObject::m_name |
|
private |
§ m_type
std::string gk::SceneObject::m_type |
|
private |
The documentation for this class was generated from the following file: