![]() |
latest version v1.9 - last update 10 Apr 2010 |
![]() |
Structure for a snake element. More...
#include <ltiSnake.h>
Public Member Functions | |
element () | |
element (const int &i) | |
Storable interface | |
virtual bool | read (ioHandler &handler, const bool complete=true) |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
Public Attributes | |
chainCode | next |
chainCode | prev |
bool | fixed |
Structure for a snake element.
lti::snake::element::element | ( | ) | [inline] |
default constructor makes all elements moveable
lti::snake::element::element | ( | const int & | i | ) | [inline] |
default constructor makes all elements moveable
virtual bool lti::snake::element::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
read the matrix from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
Reimplemented from lti::ioObject.
virtual bool lti::snake::element::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
write the matrix in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
Reimplemented from lti::ioObject.
flag to indicate if the element might be moved or not
chain code for the next element
chain code for the previous element