TypeInfo Class
TypeInfo RTTI class.
To use this class, include the UnigineType.h file.
Unigine::TypeInfo Class
Members
TypeInfo ()
Default constructor that produces an empty class.TypeInfo (int id, const char * name)
Constructor.Arguments
- int id - type identifier.
- const char * name - type name.
TypeInfo (const TypeInfo & type)
Copy constructor.Arguments
- const TypeInfo & type - TypeInfo class.
explicit TypeInfo (Type type)
Constructor.Arguments
- Type type - TypeID class.
~TypeInfo ()
Destructor.UNIGINE_INLINE int getID () const
Access to the type identifier.Return value
Type identifier.UNIGINE_INLINE const char * getName () const
Access to the type name.Return value
Type name.Last update: 2017-07-03
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)