Empirical
Public Member Functions | Public Attributes | List of all members
emp::Othello8::Index Struct Reference

#include <Othello8.h>

Public Member Functions

constexpr Index ()
 
constexpr Index (size_t _pos)
 
constexpr Index (size_t x, size_t y)
 
constexpr Index (const Index &_in)
 
 operator size_t () const
 
size_t x () const
 
size_t y () const
 
void Set (size_t x, size_t y)
 
bool IsValid () const
 
Index CalcNeighbor (Facing dir)
 

Public Attributes

size_t pos
 

Constructor & Destructor Documentation

constexpr emp::Othello8::Index::Index ( )
inline
constexpr emp::Othello8::Index::Index ( size_t  _pos)
inline
constexpr emp::Othello8::Index::Index ( size_t  x,
size_t  y 
)
inline
constexpr emp::Othello8::Index::Index ( const Index _in)
inline

Member Function Documentation

Index emp::Othello8::Index::CalcNeighbor ( Facing  dir)
inline
bool emp::Othello8::Index::IsValid ( ) const
inline
emp::Othello8::Index::operator size_t ( ) const
inline
void emp::Othello8::Index::Set ( size_t  x,
size_t  y 
)
inline
size_t emp::Othello8::Index::x ( ) const
inline
size_t emp::Othello8::Index::y ( ) const
inline

Member Data Documentation

size_t emp::Othello8::Index::pos

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