18 #ifndef __H__OCULAR_OBJECT__H__
19 #define __H__OCULAR_OBJECT__H__
21 #include "ObjectIO/ObjectIO.hpp"
53 Object(std::string name, std::string className);
74 std::string
const&
getName()
const;
91 void setUUID(std::string
const& uuid);
106 virtual std::string
toString()
const;
111 template<
class T>
bool isType()
135 return (dynamic_cast<T*>(
this) ?
true :
false);
144 const int64_t m_CreationTime;
std::string const & getName() const
Definition: Object.cpp:78
int64_t getCreationTime() const
Definition: Object.cpp:102
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
std::string m_Class
Definition: Object.hpp:141
virtual std::string toString() const
Definition: Object.cpp:107
void setUUID(std::string const &uuid)
Definition: Object.cpp:88
Definition: ObjectIO.hpp:38
std::string m_Name
Definition: Object.hpp:140
UUID const & getUUID() const
Definition: Object.cpp:97
void setName(std::string name)
Sets the name of the Object.
Definition: Object.cpp:73
Base class of all representable Ocular constructs.
Definition: Object.hpp:44
std::string const & getClass() const
Definition: Object.cpp:83
Object()
Creates a new Object with the default name ('Name').
Definition: Object.cpp:53