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

lti::ioJPEG::parameters Class Reference

Parameter class of ioJPEG. More...

#include <ltiJPEGFunctor.h>

Inheritance diagram for lti::ioJPEG::parameters:
Inheritance graph
[legend]
Collaboration diagram for lti::ioJPEG::parameters:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 parameters ()
 parameters (const parameters &other)
parameterscopy (const parameters &other)
virtual functor::parametersclone () 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

int quality
bool progressive
std::string comment
int rowsPerRestart

Detailed Description

Parameter class of ioJPEG.


Constructor & Destructor Documentation

lti::ioJPEG::parameters::parameters (  ) 

Default constructor.

Reimplemented from lti::ioFunctor::parameters.

lti::ioJPEG::parameters::parameters ( const parameters other  )  [inline]

copy constructor

Reimplemented from lti::ioFunctor::parameters.

References copy().


Member Function Documentation

virtual functor::parameters* lti::ioJPEG::parameters::clone (  )  const [virtual]

clone member

Reimplemented from lti::ioFunctor::parameters.

parameters& lti::ioJPEG::parameters::copy ( const parameters other  ) 

copy member

Reimplemented from lti::ioFunctor::parameters.

Referenced by parameters().

virtual const char* lti::ioJPEG::parameters::getTypeName (  )  const [virtual]

return the name of this type

Reimplemented from lti::ioFunctor::parameters.

virtual bool lti::ioJPEG::parameters::read ( ioHandler handler,
const bool  complete = true 
) [virtual]

write the parameters in the given ioHandler

Parameters:
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.
Returns:
true if write was successful

Reimplemented from lti::ioFunctor::parameters.

virtual bool lti::ioJPEG::parameters::write ( ioHandler handler,
const bool  complete = true 
) const [virtual]

write the parameters in the given ioHandler

Parameters:
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.
Returns:
true if write was successful

Reimplemented from lti::ioFunctor::parameters.


Member Data Documentation

Save a comment chunk in the file.

Default is an empty string.

Save in progressive or sequential mode.

Default is sequential mode (false).

Determines the compression of the image when saved.

Valid values range from 1 to 100. Default value is 75.

Number of rows between restart markers (0 = no restart markers) when saving.

Default is 0.


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

Generated on Sat Apr 10 15:28:03 2010 for LTI-Lib by Doxygen 1.6.1