|
latest version v1.9 - last update 10 Apr 2010 |
|
The parameters for the class sort. More...
#include <ltiSort.h>


Public Types | |
| enum | eWhichVectors { Columns, Rows } |
Public Member Functions | |
| parameters () | |
| parameters (const parameters &other) | |
| ~parameters () | |
| const char * | getTypeName () const |
| parameters & | copy (const parameters &other) |
| virtual functor::parameters * | clone () const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
Public Attributes | |
| eWhichVectors | whichVectors |
The parameters for the class sort.
| enum lti::sort2::parameters::eWhichVectors |
| lti::sort2< T, U >::parameters::parameters | ( | void | ) | [inline] |
Default constructor.
Reimplemented from lti::sort< T >::parameters.
References lti::sort2< T, U >::parameters::Rows, and lti::sort2< T, U >::parameters::whichVectors.
Referenced by lti::sort2< T, U >::parameters::clone().
| lti::sort2< T, U >::parameters::parameters | ( | const parameters & | other | ) | [inline] |
Copy constructor.
| other | the parameters object to be copied |
Reimplemented from lti::sort< T >::parameters.
References lti::sort2< T, U >::parameters::copy().
| lti::sort2< T, U >::parameters::~parameters | ( | ) | [inline, virtual] |
Destructor.
Reimplemented from lti::sort< T >::parameters.
| virtual functor::parameters* lti::sort2< T, U >::parameters::clone | ( | ) | const [inline, virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from lti::sort< T >::parameters.
References lti::sort2< T, U >::parameters::parameters().
| parameters& lti::sort2< T, U >::parameters::copy | ( | const parameters & | other | ) | [inline] |
Copy the contents of a parameters object.
| other | the parameters object to be copied |
Reimplemented from lti::sort< T >::parameters.
References lti::sort2< T, U >::parameters::whichVectors.
Referenced by lti::sort2< T, U >::parameters::parameters().
| const char* lti::sort2< T, U >::parameters::getTypeName | ( | void | ) | const [inline, virtual] |
Returns name of this type.
Reimplemented from lti::sort< T >::parameters.
| virtual bool lti::sort2< T, U >::parameters::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [inline, virtual] |
Read the parameters from the given ioHandler.
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also read, otherwise only the data block will be read. |
Reimplemented from lti::sort< T >::parameters.
References lti::sort2< T, U >::parameters::Columns, lti::ioHandler::readBegin(), lti::ioHandler::readEnd(), lti::sort2< T, U >::parameters::Rows, and lti::sort2< T, U >::parameters::whichVectors.
| virtual bool lti::sort2< T, U >::parameters::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | const [inline, virtual] |
Write the parameters in the given ioHandler.
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::sort< T >::parameters.
References lti::sort2< T, U >::parameters::Columns, lti::sort2< T, U >::parameters::whichVectors, lti::ioHandler::writeBegin(), and lti::ioHandler::writeEnd().
| eWhichVectors lti::sort2< T, U >::parameters::whichVectors |
Specify if in the apply(vector<T>,matrix<U>) the rows or the columns of the matrix should be sorted.
The default value is Rows
Referenced by lti::sort2< T, U >::parameters::copy(), lti::sort2< T, U >::parameters::parameters(), lti::sort2< T, U >::parameters::read(), and lti::sort2< T, U >::parameters::write().