latest version v1.9 - last update 10 Apr 2010 |
lncFeatureFile parameters class More...
#include <ltiLncFeatureFile.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
parameters & | copy (const parameters &other) |
virtual functor::parameters * | clone () const |
virtual const char * | getTypeName () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
bool | useCnc |
std::string | cncFilename |
bool | idFirst |
lncFeatureFile parameters class
lti::lncFeatureFile::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
lti::lncFeatureFile::parameters::parameters | ( | const parameters & | other | ) | [inline] |
copy constructor
Reimplemented from lti::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
References copy().
virtual functor::parameters* lti::lncFeatureFile::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters.
Reimplemented from lti::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
parameters& lti::lncFeatureFile::parameters::copy | ( | const parameters & | other | ) |
copy member
Reimplemented from lti::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
Referenced by parameters().
virtual const char* lti::lncFeatureFile::parameters::getTypeName | ( | ) | const [virtual] |
returns name of this type
Reimplemented from lti::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
virtual bool lti::lncFeatureFile::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [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::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
virtual bool lti::lncFeatureFile::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [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::ioFunctor::parameters.
Reimplemented in lti::saveLnc::parameters.
std::string lti::lncFeatureFile::parameters::cncFilename |
name of the class-names-file (cnc file).
This name MUST be specified if "useCnc" is true!
cnc file type
The cnc files contain one object per line. This parameter specifies if the id is expected as first column or in the second one.
Default mode: true (i.e. id first column)
specify if a class-name-file (cnc) should be used