ContainerWriter is the base class of the writer classes. All the writers are working the same way:
More...
template<class Container, typename T>
class slip::ContainerWriter< Container, T >
ContainerWriter is the base class of the writer classes. All the writers are working the same way:
- Version
- Fluex 1.0
- Date
- 2013/04/09
- Author
- Denis Arrivault <denis.arrivault_AT_inria.fr>
- One output file is defined by its name.
- This file can be filled by one or many containers depending on its format.
- The write() method return a boolean that indicates if the file has be completely filled or not.
- Parameters
-
Container | should be a type of container that matches the file format to write (an image for jpg format...) |
T | the type of the container data. |
Definition at line 30 of file ContainerWriter.hpp.
template<class Container, typename T>
virtual write function. This function write the data within the output file after the previous one. When last is set to true, the output file is closed.
- Parameters
-
data | is a container to save. |
- Returns
- false if the file has been completely filled.
Implemented in slip::NetCDFWriter< Container, T, Nb_components, Dim >, slip::FITSWriter< Container, T, Nb_components, Dim >, slip::AvWriter< ContainerVideo, T, Nb_components >, slip::JpegWriter< Container2d, T, Nb_components >, slip::WavWriter< Container1d, T >, and slip::PngWriter< Container2d, T, Nb_components >.