Bomberman
Public Member Functions | List of all members
WAL::IView Class Referenceabstract

A basic view used to manipulate view without knowing their type at compile time. More...

#include <View.hpp>

Inheritance diagram for WAL::IView:
Collaboration diagram for WAL::IView:

Public Member Functions

virtual const std::vector< std::type_index > & getTypes () const =0
 The list of types that every entity of the view has. More...
 
virtual void emplace_back (Entity &)=0
 
virtual void erase (const Entity &)=0
 
virtual ~IView ()=default
 A default destructor. More...
 

Detailed Description

A basic view used to manipulate view without knowing their type at compile time.

Constructor & Destructor Documentation

◆ ~IView()

virtual WAL::IView::~IView ( )
virtualdefault

A default destructor.

Member Function Documentation

◆ emplace_back()

virtual void WAL::IView::emplace_back ( Entity )
pure virtual

Implemented in WAL::View< Components >.

◆ erase()

virtual void WAL::IView::erase ( const Entity )
pure virtual

Implemented in WAL::View< Components >.

◆ getTypes()

virtual const std::vector<std::type_index>& WAL::IView::getTypes ( ) const
pure virtual

The list of types that every entity of the view has.

Implemented in WAL::View< Components >.


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