|
latest version v1.9 - last update 10 Apr 2010 |
|
Methods using lti::ioHandler objects to read and write data. More...
|
Classes | |
| class | lti::binaryStreamHandler |
| Binary stream handler. More... | |
| class | lti::ioHandler |
| Input/output handlers. More... | |
| class | lti::ioObject |
| basic input/output class for data objects More... | |
| class | lti::lispStreamHandler |
| The lispStreamHandler class offer an interface for the functor parameters and other classes to read() and write() them in a LISP-like format. More... | |
Functions | |
| template<class T , class S > | |
| bool | lti::read (ioHandler &handler, tbox< T, S > &p, const bool complete=true) |
| template<class T , class S > | |
| bool | lti::write (ioHandler &handler, const tbox< T, S > &p, const bool complete=true) |
| bool | lti::write (ioHandler &handler, const cmykColor &p, const bool complete=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, tpoint< T > &p, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const tpoint< T > &p, const bool complete=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, tpoint3D< T > &p, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const tpoint3D< T > &p, const bool complete=true) |
| template<class T , class S > | |
| bool | lti::read (ioHandler &handler, trectangle< T, S > &p, const bool complete=true) |
| template<class T , class S > | |
| bool | lti::write (ioHandler &handler, const trectangle< T, S > &p, const bool complete=true) |
| bool | lti::read (ioHandler &handler, rgbPixel &p, const bool=true) |
| bool | lti::write (ioHandler &handler, const rgbPixel &p, const bool=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, trgbPixel< T > &p, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const trgbPixel< T > &p, const bool complete=true) |
| bool | lti::read (ioHandler &handler, bayerDemosaicing::eBayerMethod &data) |
| bool | lti::write (ioHandler &handler, const bayerDemosaicing::eBayerMethod &data) |
| bool | lti::read (ioHandler &handler, bayerDemosaicing::eBayerPattern &data) |
| bool | lti::write (ioHandler &handler, const bayerDemosaicing::eBayerPattern &data) |
| bool | lti::read (ioHandler &handler, chainCode &cc, const bool complete=true) |
| bool | lti::write (ioHandler &handler, const chainCode &cc, const bool complete=true) |
| bool | lti::read (ioHandler &handler, graphicsPattern &plst, const bool complete=true) |
| bool | lti::write (ioHandler &handler, const graphicsPattern &plst, const bool complete=true) |
| bool | lti::read (ioHandler &handler, eInterpolatorType &data) |
| bool | lti::write (ioHandler &handler, const eInterpolatorType &data) |
| bool | lti::read (ioHandler &handler, eKernelType &data) |
| bool | lti::write (ioHandler &handler, const eKernelType &data) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, tpointList< T > &plst, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const tpointList< T > &plst, const bool complete=true) |
| bool | lti::read (ioHandler &handler, ePointSetNormalizationType &data) |
| bool | lti::write (ioHandler &handler, const ePointSetNormalizationType &data) |
| bool | lti::read (ioHandler &handler, eRobustEstimatorType &data) |
| bool | lti::write (ioHandler &handler, const eRobustEstimatorType &data) |
| bool | lti::read (ioHandler &handler, eTransformEstimatorType &data) |
| bool | lti::write (ioHandler &handler, const eTransformEstimatorType &data) |
| bool | lti::read (ioHandler &handler, fireWireDCAM::eFeatureState &data) |
| bool | lti::write (ioHandler &handler, const fireWireDCAM::eFeatureState &data) |
| bool | lti::write (ioHandler &handler, const ioObject &p, const bool complete=true) |
| bool | lti::read (ioHandler &handler, ioObject &p, const bool complete=true) |
| template<class T , class U > | |
| bool | lti::read (ioHandler &handler, std::pair< T, U > &data, const bool complete=true) |
| template<class T , class U > | |
| bool | lti::write (ioHandler &handler, const std::pair< T, U > &data, const bool complete=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, std::list< T > &data, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const std::list< T > &data, const bool complete=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, std::vector< T > &data, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const std::vector< T > &data, const bool complete=true) |
| template<class T , class U > | |
| bool | lti::read (ioHandler &handler, std::map< T, U > &data, const bool complete=true) |
| template<class T , class U > | |
| bool | lti::write (ioHandler &handler, const std::map< T, U > &data, const bool complete=true) |
| template<class T , class U > | |
| bool | lti::read (ioHandler &handler, std::multimap< T, U > &data, const bool complete=true) |
| template<class T , class U > | |
| bool | lti::write (ioHandler &handler, const std::multimap< T, U > &data, const bool complete=true) |
| bool | lti::read (ioHandler &handler, eBoundaryType &data) |
| bool | lti::write (ioHandler &handler, const eBoundaryType &data) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, tfastLine< T > &l, const bool complete=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, thistogram< T > &hist, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const thistogram< T > &hist, const bool complete=true) |
| template<class T > | |
| bool | lti::read (ioHandler &handler, tline< T > &l, const bool complete=true) |
| template<class T > | |
| bool | lti::write (ioHandler &handler, const tline< T > &l, const bool complete=true) |
| bool | lti::write (ioHandler &handler, const viewerBase::parameters &p, const bool complete=true) |
| bool | lti::read (ioHandler &handler, viewerBase::parameters &p, const bool complete=true) |
operators for complex numbers | |
|
| |
| template<typename T > | |
| bool | lti::read (ioHandler &handler, complex< T > &p, const bool complete=true) |
| template<typename T > | |
| bool | lti::write (ioHandler &handler, const complex< T > &p, const bool complete=true) |
Methods using lti::ioHandler objects to read and write data.
| bool lti::read | ( | ioHandler & | handler, | |
| viewerBase::parameters & | p, | |||
| const bool | complete = true | |||
| ) |
read the functor::parameters from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
| bool lti::read | ( | ioHandler & | handler, | |
| tline< T > & | l, | |||
| const bool | complete = true | |||
| ) | [inline] |
| bool lti::read | ( | ioHandler & | handler, | |
| thistogram< T > & | hist, | |||
| const bool | complete = true | |||
| ) | [inline] |
read the matrix from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be read
References lti::thistogram< T >::read().
| bool lti::read | ( | ioHandler & | handler, | |
| tfastLine< T > & | l, | |||
| const bool | complete = true | |||
| ) | [inline] |
| bool lti::read | ( | ioHandler & | handler, | |
| complex< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), and lti::ioHandler::readEnd().
| bool lti::read | ( | ioHandler & | handler, | |
| eBoundaryType & | data | |||
| ) |
read function for eBoundaryType.
| bool lti::read | ( | ioHandler & | handler, | |
| std::multimap< T, U > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
read function for STL multimap containers Works only if the type U implements the operator=()
References lti::ioHandler::getLevel(), lti::read(), lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::ioHandler::readKeyValueSeparator(), and lti::ioHandler::readSymbol().
| bool lti::read | ( | ioHandler & | handler, | |
| std::map< T, U > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
read function for STL map containers Works only if the type U implements the operator=()
References lti::ioHandler::getLevel(), lti::read(), lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::ioHandler::readKeyValueSeparator(), and lti::ioHandler::readSymbol().
| bool lti::read | ( | ioHandler & | handler, | |
| std::vector< T > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
read function for STL vector containers Works only if the type T implements the operator=()
References lti::ioHandler::getLevel(), lti::read(), lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::ioHandler::readKeyValueSeparator(), and lti::ioHandler::readSymbol().
| bool lti::read | ( | ioHandler & | handler, | |
| std::list< T > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
read function for STL list containers Works only if the type T implements the operator=()
References lti::ioHandler::getLevel(), lti::read(), lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::ioHandler::readKeyValueSeparator(), and lti::ioHandler::readSymbol().
| bool lti::read | ( | ioHandler & | handler, | |
| std::pair< T, U > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
read function for STL std::pair.
Works only if the types in the std::pair can be read/written with the lti::read/ltiwrite functions.
References lti::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), and lti::ioHandler::readEnd().
| bool lti::read | ( | ioHandler & | handler, | |
| ioObject & | p, | |||
| const bool | complete = true | |||
| ) |
read
| bool lti::read | ( | ioHandler & | handler, | |
| fireWireDCAM::eFeatureState & | data | |||
| ) |
Read function for fireWireDCAM::eFeatureState type.
| bool lti::read | ( | ioHandler & | handler, | |
| eTransformEstimatorType & | data | |||
| ) |
read function for eTransformEstimatorType.
| bool lti::read | ( | ioHandler & | handler, | |
| eRobustEstimatorType & | data | |||
| ) |
read function for eRobustEstimatorType.
| bool lti::read | ( | ioHandler & | handler, | |
| ePointSetNormalizationType & | data | |||
| ) |
read function for ePointSetNormalizationType.
| bool lti::read | ( | ioHandler & | handler, | |
| tpointList< T > & | plst, | |||
| const bool | complete = true | |||
| ) | [inline] |
read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::tpointList< T >::read().
| bool lti::read | ( | ioHandler & | handler, | |
| eKernelType & | data | |||
| ) |
read function for eKernelType.
| bool lti::read | ( | ioHandler & | handler, | |
| eInterpolatorType & | data | |||
| ) |
read function for eInterpolatorType.
| bool lti::read | ( | ioHandler & | handler, | |
| graphicsPattern & | plst, | |||
| const bool | complete = true | |||
| ) |
| bool lti::read | ( | ioHandler & | handler, | |
| chainCode & | cc, | |||
| const bool | complete = true | |||
| ) |
| bool lti::read | ( | ioHandler & | handler, | |
| bayerDemosaicing::eBayerPattern & | data | |||
| ) |
read function for bayerDemosaicing::eBayerPattern
| bool lti::read | ( | ioHandler & | handler, | |
| bayerDemosaicing::eBayerMethod & | data | |||
| ) |
read function for bayerDemosaicing::eBayerMethod
| bool lti::read | ( | ioHandler & | handler, | |
| trgbPixel< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::trgbPixel< T >::setBlue(), lti::trgbPixel< T >::setGreen(), and lti::trgbPixel< T >::setRed().
| bool lti::read | ( | ioHandler & | handler, | |
| rgbPixel & | p, | |||
| const | bool = true | |||
| ) | [inline] |
read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::rgbPixel::setAlpha(), lti::rgbPixel::setBlue(), lti::rgbPixel::setGreen(), lti::rgbPixel::setRed(), and lti::ioHandler::tryEnd().
| bool lti::read | ( | ioHandler & | handler, | |
| trectangle< T, S > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::trectangle< T, S >::br, lti::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), and lti::trectangle< T, S >::ul.
| bool lti::read | ( | ioHandler & | handler, | |
| tpoint3D< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
Read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::tpoint3D< T >::x, lti::tpoint3D< T >::y, and lti::tpoint3D< T >::z.
| bool lti::read | ( | ioHandler & | handler, | |
| tpoint< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
Read the vector from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::ioHandler::read(), lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), lti::ioHandler::readEnd(), lti::tpoint< T >::x, and lti::tpoint< T >::y.
| bool lti::read | ( | ioHandler & | handler, | |
| tbox< T, S > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
read the box from the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be readed
References lti::tbox< T, S >::max, lti::tbox< T, S >::min, lti::ioHandler::readBegin(), lti::ioHandler::readDataSeparator(), and lti::ioHandler::readEnd().
Referenced by lti::read().
| bool lti::write | ( | ioHandler & | handler, | |
| const viewerBase::parameters & | p, | |||
| const bool | complete = true | |||
| ) |
write the viewerBase::parameters in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not.
| bool lti::write | ( | ioHandler & | handler, | |
| const tline< T > & | l, | |||
| const bool | complete = true | |||
| ) | [inline] |
| bool lti::write | ( | ioHandler & | handler, | |
| const thistogram< T > & | hist, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the matrix in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::thistogram< T >::write().
| bool lti::write | ( | ioHandler & | handler, | |
| const complex< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::complex< T >::imag(), lti::complex< T >::real(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
| bool lti::write | ( | ioHandler & | handler, | |
| const eBoundaryType & | data | |||
| ) |
write function for eBoundaryType.
| bool lti::write | ( | ioHandler & | handler, | |
| const std::multimap< T, U > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
write function for STL multimap containers
References lti::write(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), lti::ioHandler::writeEnd(), lti::ioHandler::writeKeyValueSeparator(), and lti::ioHandler::writeSymbol().
| bool lti::write | ( | ioHandler & | handler, | |
| const std::map< T, U > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
write function for STL map containers
References lti::write(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), lti::ioHandler::writeEnd(), lti::ioHandler::writeKeyValueSeparator(), and lti::ioHandler::writeSymbol().
| bool lti::write | ( | ioHandler & | handler, | |
| const std::vector< T > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
write function for STL vector containers
References lti::write(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), lti::ioHandler::writeEnd(), lti::ioHandler::writeKeyValueSeparator(), and lti::ioHandler::writeSymbol().
| bool lti::write | ( | ioHandler & | handler, | |
| const std::list< T > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
write function for STL list containers
References lti::write(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), lti::ioHandler::writeEnd(), lti::ioHandler::writeKeyValueSeparator(), and lti::ioHandler::writeSymbol().
| bool lti::write | ( | ioHandler & | handler, | |
| const std::pair< T, U > & | data, | |||
| const bool | complete = true | |||
| ) | [inline] |
write function for STL std::pair.
Works only if the types in the std::pair can be read/written with the lti::read/ltiwrite functions.
References lti::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
| bool lti::write | ( | ioHandler & | handler, | |
| const ioObject & | p, | |||
| const bool | complete = true | |||
| ) |
write
| bool lti::write | ( | ioHandler & | handler, | |
| const fireWireDCAM::eFeatureState & | data | |||
| ) |
Write function for fireWireDCAM::eFeatureState type.
| bool lti::write | ( | ioHandler & | handler, | |
| const eTransformEstimatorType & | data | |||
| ) |
write function for eTransformEstimatorType.
| bool lti::write | ( | ioHandler & | handler, | |
| const eRobustEstimatorType & | data | |||
| ) |
write function for eRobustEstimatorType.
| bool lti::write | ( | ioHandler & | handler, | |
| const ePointSetNormalizationType & | data | |||
| ) |
write function for ePointSetNormalizationType.
| bool lti::write | ( | ioHandler & | handler, | |
| const tpointList< T > & | plst, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::tpointList< T >::write().
| bool lti::write | ( | ioHandler & | handler, | |
| const eKernelType & | data | |||
| ) |
write function for eKernelType.
| bool lti::write | ( | ioHandler & | handler, | |
| const eInterpolatorType & | data | |||
| ) |
write function for eInterpolatorType.
| bool lti::write | ( | ioHandler & | handler, | |
| const graphicsPattern & | plst, | |||
| const bool | complete = true | |||
| ) |
| bool lti::write | ( | ioHandler & | handler, | |
| const chainCode & | cc, | |||
| const bool | complete = true | |||
| ) |
| bool lti::write | ( | ioHandler & | handler, | |
| const bayerDemosaicing::eBayerPattern & | data | |||
| ) |
write function for bayerDemosaicing::eBayerPattern
| bool lti::write | ( | ioHandler & | handler, | |
| const bayerDemosaicing::eBayerMethod & | data | |||
| ) |
write function for bayerDemosaicing::eBayerMethod
| bool lti::write | ( | ioHandler & | handler, | |
| const trgbPixel< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::trgbPixel< T >::getBlue(), lti::trgbPixel< T >::getGreen(), lti::trgbPixel< T >::getRed(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
| bool lti::write | ( | ioHandler & | handler, | |
| const rgbPixel & | p, | |||
| const | bool = true | |||
| ) | [inline] |
write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::rgbPixel::getAlpha(), lti::rgbPixel::getBlue(), lti::rgbPixel::getGreen(), lti::rgbPixel::getRed(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
| bool lti::write | ( | ioHandler & | handler, | |
| const trectangle< T, S > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::trectangle< T, S >::br, lti::trectangle< T, S >::ul, lti::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
| bool lti::write | ( | ioHandler & | handler, | |
| const tpoint3D< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
Write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), lti::ioHandler::writeEnd(), lti::tpoint3D< T >::x, lti::tpoint3D< T >::y, and lti::tpoint3D< T >::z.
| bool lti::write | ( | ioHandler & | handler, | |
| const tpoint< T > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
Write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), lti::ioHandler::writeEnd(), lti::tpoint< T >::x, and lti::tpoint< T >::y.
| bool lti::write | ( | ioHandler & | handler, | |
| const cmykColor & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the vector in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::cmykColor::getBlack(), lti::cmykColor::getCyan(), lti::cmykColor::getMagenta(), lti::cmykColor::getYellow(), lti::ioHandler::write(), lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
| bool lti::write | ( | ioHandler & | handler, | |
| const tbox< T, S > & | p, | |||
| const bool | complete = true | |||
| ) | [inline] |
write the box in the given ioHandler.
The complete flag indicates if the enclosing begin and end should be also be written or not
References lti::tbox< T, S >::max, lti::tbox< T, S >::min, lti::ioHandler::writeBegin(), lti::ioHandler::writeDataSeparator(), and lti::ioHandler::writeEnd().
Referenced by lti::write().