Version: 8.3.0
_Indexer Struct Reference

Convertor of a pair of integers to a sole index. More...

Public Member Functions

 _Indexer (int xSize, int ySize)
 
int size () const
 
int operator() (const int x, const int y) const
 

Data Fields

int _xSize
 
int _ySize
 

Detailed Description

Convertor of a pair of integers to a sole index.

Constructor & Destructor Documentation

_Indexer::_Indexer ( int  xSize,
int  ySize 
)

Member Function Documentation

int _Indexer::operator() ( const int  x,
const int  y 
) const
int _Indexer::size ( ) const

Field Documentation

int _Indexer::_xSize
int _Indexer::_ySize