Matrix::SaveObjectIntoConfig Class Reference

Functor - saves object into the matrix config. More...

List of all members.

Public Member Functions

 SaveObjectIntoConfig (ConfigMatrix *config, SizeType xIndex, SizeType yIndex)
 Constructor.
void operator() (const Object *object) const
 Calls specific methods for the selected object.

Private Attributes

const SizeType x
 x-index of objects
const SizeType y
 y-index of objects
ConfigMatrix *const matrixConfig
 Config of the matrix.


Detailed Description

Functor - saves object into the matrix config.


Constructor & Destructor Documentation

Matrix::SaveObjectIntoConfig::SaveObjectIntoConfig ( ConfigMatrix config,
SizeType  xIndex,
SizeType  yIndex 
) [inline, explicit]

Constructor.

Parameters:
config Config of the matrix into which object's configs should be added
xIndex First index (x) of objects
yIndex Second index (y) of objects


Member Function Documentation

void Matrix::SaveObjectIntoConfig::operator() ( const Object object  )  const [inline]

Calls specific methods for the selected object.

Parameters:
object Selected object


Member Data Documentation

ConfigMatrix* const Matrix::SaveObjectIntoConfig::matrixConfig [private]

Config of the matrix.

const SizeType Matrix::SaveObjectIntoConfig::x [private]

x-index of objects

const SizeType Matrix::SaveObjectIntoConfig::y [private]

y-index of objects


The documentation for this class was generated from the following file:
Generated on Sun Apr 29 11:46:11 2007 for IPP/ICP2007 by  doxygen 1.4.7