9 #ifndef CONTAINERWRITER_HPP_
10 #define CONTAINERWRITER_HPP_
29 template<
class Container,
typename T>
96 template<
class Container,
typename T>
99 return output_filename_;
102 template<
class Container,
typename T>
104 const std::string& output_filename) {
105 output_filename_ = output_filename;
virtual ~ContainerWriter()
virtual int write(const container_type &data)=0
virtual write function. This function write the data within the output file after the previous one...
ContainerWriter is the base class of the writer classes. All the writers are working the same way: ...
std::string output_filename_
ContainerWriter(std::string output_filename)
const std::string & get_output_filename() const
return the output file name.
void set_output_filename(const std::string &output_filename)
set the output file name.