Skip to content
Snippets Groups Projects
Commit 0779b527 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Cleaner StreamingImageFileWriter stub class

parent 5222ac6d
Branches
Tags
No related merge requests found
...@@ -22,8 +22,49 @@ ...@@ -22,8 +22,49 @@
#include "otbImageFileWriter.h" #include "otbImageFileWriter.h"
// StreamingImageFileWriter is deprecated. It is now defined as an namespace otb
// alias of ImageFileWriter class. {
#define StreamingImageFileWriter ImageFileWriter /** \class StreamingImageFileWriter
* \brief Deprecated streaming-enabled image writing class
*
* StreamingImageFileWriter is deprecated and provided for backward
* compatibility only. Full support of streaming is now provided by
* otb::ImageFileWriter, and StreamingImageFileWriter is a simple
* alias of this class.
*
* \sa ImageFileWriter
*/
template <class TInputImage> class ITK_EXPORT StreamingImageFileWriter : public ImageFileWriter<TInputImage>
{
public:
/** Standard class typedefs. */
typedef StreamingImageFileWriter Self;
typedef ImageFileWriter<TInputImage> Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
/** Method for creation through the object factory. */
itkNewMacro(Self);
/** Run-time type information (and related methods). */
itkTypeMacro(ImageFileWriter, itk::ImageFileWriter);
/** Dimension of input image. */
itkStaticConstMacro(InputImageDimension, unsigned int,
Superclass::InputImageDimension);
protected:
/** Constructor */
StreamingImageFileWriter();
/** Destructor */
virtual ~StreamingImageFileWriter();
private:
StreamingImageFileWriter(const StreamingImageFileWriter &); //purposely not implemented
void operator =(const StreamingImageFileWriter&); //purposely not implemented
};
} // end namespace otb
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment