LTI-Lib latest version v1.9 - last update 10 Apr 2010

lti::snake::element Class Reference

Structure for a snake element. More...

#include <ltiSnake.h>

Inheritance diagram for lti::snake::element:
Collaboration diagram for lti::snake::element:

List of all members.

Public Member Functions

 element ()
 element (const int &i)
Storable interface

Members for the 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

Detailed Description

Structure for a snake element.


Constructor & Destructor Documentation

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


Member Function Documentation

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.


Member Data Documentation

flag to indicate if the element might be moved or not

chain code for the next element

chain code for the previous element


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

Generated on Sat Apr 10 15:27:53 2010 for LTI-Lib by Doxygen 1.6.1