Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Private Attributes | List of all members
Gfx::EnumArray< T, Enum > Class Template Reference

Public Member Functions

const T & operator[] (Enum id) const
 
T & operator[] (Enum id)
 
auto begin () const
 
auto end () const
 

Private Attributes

Rml::Array< T,(size_t) Enum::Count > ids = {}
 

Member Function Documentation

◆ begin()

template<typename T , typename Enum >
auto Gfx::EnumArray< T, Enum >::begin ( ) const
inline

◆ end()

template<typename T , typename Enum >
auto Gfx::EnumArray< T, Enum >::end ( ) const
inline

◆ operator[]() [1/2]

template<typename T , typename Enum >
T & Gfx::EnumArray< T, Enum >::operator[] ( Enum  id)
inline

◆ operator[]() [2/2]

template<typename T , typename Enum >
const T & Gfx::EnumArray< T, Enum >::operator[] ( Enum  id) const
inline

Member Data Documentation

◆ ids

template<typename T , typename Enum >
Rml::Array<T, (size_t)Enum::Count> Gfx::EnumArray< T, Enum >::ids = {}
private

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