Game Engine
Architected a C++ game engine with a runtime reflection system - employing Chain of
Loading...
Searching...
No Matches
Fiea::Engine::RTTI Class Referenceabstract

#include <RTTI.h>

Inheritance diagram for Fiea::Engine::RTTI:
[legend]

Public Types

using IdType = std::size_t

Public Member Functions

 RTTI ()=default
 RTTI (const RTTI &)=default
RTTIoperator= (const RTTI &)=default
 RTTI (RTTI &&) noexcept=default
RTTIoperator= (RTTI &&) noexcept=default
virtual ~RTTI ()=default
virtual IdType TypeIdInstance () const =0
virtual bool Is (IdType) const
template<typename T>
T * As ()
template<typename T>
const T * As () const
virtual std::string ToString () const
virtual bool Equals (const RTTI *rhs) const

Member Typedef Documentation

◆ IdType

using Fiea::Engine::RTTI::IdType = std::size_t

Constructor & Destructor Documentation

◆ RTTI() [1/3]

Fiea::Engine::RTTI::RTTI ( )
default
Here is the caller graph for this function:

◆ RTTI() [2/3]

Fiea::Engine::RTTI::RTTI ( const RTTI & )
default
Here is the call graph for this function:

◆ RTTI() [3/3]

Fiea::Engine::RTTI::RTTI ( RTTI && )
defaultnoexcept
Here is the call graph for this function:

◆ ~RTTI()

virtual Fiea::Engine::RTTI::~RTTI ( )
virtualdefault
Here is the call graph for this function:

Member Function Documentation

◆ As() [1/2]

template<typename T>
T * Fiea::Engine::RTTI::As ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ As() [2/2]

template<typename T>
const T * Fiea::Engine::RTTI::As ( ) const
inline
Here is the call graph for this function:

◆ Equals()

bool Fiea::Engine::RTTI::Equals ( const RTTI * rhs) const
virtual

Reimplemented in Fiea::Engine::Tests::Support::AttributeBox, Fiea::Engine::Tests::Support::AttributeBoxPlus, Fiea::Engine::Tests::Support::EmptyChild, Fiea::Engine::Tests::Support::Foo, Microsoft::VisualStudio::CppUnitTestFramework::AttributeBox, Microsoft::VisualStudio::CppUnitTestFramework::AttributeBoxPlus, and Microsoft::VisualStudio::CppUnitTestFramework::Foo.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Is()

bool Fiea::Engine::RTTI::Is ( IdType ) const
inlinevirtual
Here is the caller graph for this function:

◆ operator=() [1/2]

RTTI & Fiea::Engine::RTTI::operator= ( const RTTI & )
default
Here is the call graph for this function:

◆ operator=() [2/2]

RTTI & Fiea::Engine::RTTI::operator= ( RTTI && )
defaultnoexcept
Here is the call graph for this function:

◆ ToString()

std::string Fiea::Engine::RTTI::ToString ( ) const
virtual

◆ TypeIdInstance()

virtual IdType Fiea::Engine::RTTI::TypeIdInstance ( ) const
pure virtual
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files:
  • FIEAGameEngine/include/FIEAGameEngine/RTTI.h
  • FIEAGameEngine/include/FIEAGameEngine/RTTI.cpp
  • FIEAGameEngine/include/FIEAGameEngine/RTTI.inl