Empirical
Public Member Functions | List of all members
emp::Grid::StateSet< bool > Class Template Reference

#include <grid.h>

Public Member Functions

 StateSet (int _w, int _h)
 
 StateSet (const StateSet &)=default
 
 ~StateSet ()
 
StateSetoperator= (const StateSet &)=default
 
int GetWidth () const
 
int GetHeight () const
 
int GetSize () const
 
bool operator() (int x, int y)
 
bool operator() (int id)
 
bool operator[] (int id)
 

Constructor & Destructor Documentation

emp::Grid::StateSet< bool >::StateSet ( int  _w,
int  _h 
)
inline
emp::Grid::StateSet< bool >::StateSet ( const StateSet< bool > &  )
default
emp::Grid::StateSet< bool >::~StateSet ( )
inline

Member Function Documentation

int emp::Grid::StateSet< bool >::GetHeight ( ) const
inline
int emp::Grid::StateSet< bool >::GetSize ( ) const
inline
int emp::Grid::StateSet< bool >::GetWidth ( ) const
inline
bool emp::Grid::StateSet< bool >::operator() ( int  x,
int  y 
)
inline
bool emp::Grid::StateSet< bool >::operator() ( int  id)
inline
StateSet& emp::Grid::StateSet< bool >::operator= ( const StateSet< bool > &  )
default
bool emp::Grid::StateSet< bool >::operator[] ( int  id)
inline

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