last update 20 Sep 2009 |
#include <cvrIOImageInterface.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
~parameters () | |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
const std::string & | name () const |
virtual parameters * | clone () const =0 |
virtual parameters * | newInstance () const =0 |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
cvr::ioImageInterface::ioImageInterface::parameters::parameters | ( | ) |
Default constructor.
Reimplemented from cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
cvr::ioImageInterface::ioImageInterface::parameters::parameters | ( | const parameters & | other | ) |
Copy constructor.
Reimplemented from cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
cvr::ioImageInterface::ioImageInterface::parameters::~parameters | ( | ) | [virtual] |
virtual parameters* cvr::ioImageInterface::ioImageInterface::parameters::clone | ( | ) | const [pure virtual] |
Returns a pointer to a clone of the parameters.
Implements cvr::parametersManager::parametersManager::parameters.
Implemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
parameters& cvr::ioImageInterface::ioImageInterface::parameters::copy | ( | const parameters & | other | ) |
Copy member.
Reimplemented from cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
const std::string& cvr::ioImageInterface::ioImageInterface::parameters::name | ( | ) | const [virtual] |
Returns the name of this class.
Implements cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
virtual parameters* cvr::ioImageInterface::ioImageInterface::parameters::newInstance | ( | ) | const [pure virtual] |
Returns a pointer to a new instance of the parameters.
Implements cvr::parametersManager::parametersManager::parameters.
Implemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
parameters& cvr::ioImageInterface::ioImageInterface::parameters::operator= | ( | const parameters & | other | ) |
Copy member.
Reimplemented from cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
virtual bool cvr::ioImageInterface::ioImageInterface::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 cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.
virtual bool cvr::ioImageInterface::ioImageInterface::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 cvr::parametersManager::parametersManager::parameters.
Reimplemented in cvr::ioBMP::ioBMP::parameters, cvr::ioJPEG::ioJPEG::parameters, and cvr::ioPNG::ioPNG::parameters.