engine-mk1
Public Member Functions | List of all members
rz::core::Component Class Reference

The base class for a Component. More...

#include <Component.hpp>

Public Member Functions

 Component () noexcept
 Default constructor. More...
 
 Component (Component &&other)=default
 Move constructor. More...
 
 Component (const Component &other)=default
 Copy constructor. More...
 
 ~Component ()
 Default destructor. More...
 
Componentoperator= (const Component &rhs) noexcept
 Copy assignment operator overload that copies the ID of rhs into this Component. More...
 
Componentoperator= (Component &&rhs) noexcept
 Move assignment operator overload that moves the ID of rhs into this Component. More...
 
const UUID64getID () const noexcept
 Gets the unique ID of this Component. More...
 

Detailed Description

The base class for a Component.

Constructor & Destructor Documentation

rz::core::Component::Component ( )
inlinenoexcept

Default constructor.

rz::core::Component::Component ( Component &&  other)
default

Move constructor.

rz::core::Component::Component ( const Component other)
default

Copy constructor.

rz::core::Component::~Component ( )
inline

Default destructor.

Member Function Documentation

const UUID64& rz::core::Component::getID ( ) const
inlinenoexcept

Gets the unique ID of this Component.

Returns
The unique id of this Component.
Component& rz::core::Component::operator= ( const Component rhs)
inlinenoexcept

Copy assignment operator overload that copies the ID of rhs into this Component.

Component& rz::core::Component::operator= ( Component &&  rhs)
inlinenoexcept

Move assignment operator overload that moves the ID of rhs into this Component.


The documentation for this class was generated from the following file: