#include <SgEBWArray.h>
Stores index SG_EMPTY (=4) at array[0].
Definition at line 19 of file SgEBWArray.h.
Public Member Functions | |
SgEBWArray () | |
Constructor. | |
SgEBWArray (const T &val) | |
SgEBWArray (const T &empty, const T &black, const T &white) | |
const T & | operator[] (SgEmptyBlackWhite c) const |
T & | operator[] (SgEmptyBlackWhite c) |
Private Attributes | |
T | m_array [3] |
SgEBWArray< T >::SgEBWArray | ( | ) |
Constructor.
Constructs elements with the default constructor of type T.
Definition at line 33 of file SgEBWArray.h.
SgEBWArray< T >::SgEBWArray | ( | const T & | val | ) |
Definition at line 37 of file SgEBWArray.h.
References SgEBWArray< T >::m_array, SG_BLACK, SG_EMPTY, and SG_WHITE.
SgEBWArray< T >::SgEBWArray | ( | const T & | empty, | |
const T & | black, | |||
const T & | white | |||
) |
Definition at line 44 of file SgEBWArray.h.
References SgEBWArray< T >::m_array, SG_BLACK, SG_EMPTY, and SG_WHITE.
T& SgEBWArray< T >::operator[] | ( | SgEmptyBlackWhite | c | ) |
const T& SgEBWArray< T >::operator[] | ( | SgEmptyBlackWhite | c | ) | const |
T SgEBWArray< T >::m_array[3] [private] |
Definition at line 64 of file SgEBWArray.h.
Referenced by SgEBWArray< T >::operator[](), and SgEBWArray< T >::SgEBWArray().