9 #ifndef CONTAINERREADER_HPP_
10 #define CONTAINERREADER_HPP_
34 template<
class Container,
typename T, std::
size_t Nb_block>
109 template<
class Container,
typename T, std::
size_t Nb_block>
112 return data_filename_;
115 template<
class Container,
typename T, std::
size_t Nb_block>
118 data_filename_ = data_filename;
121 template<
class Container,
typename T, std::
size_t Nb_block>
const std::string & get_data_filename() const
return the name of the file containing the data to read
std::string data_filename_
std::size_t get_nb_block() const
return the number of splitting blocks of the data
virtual ~ContainerReader()
ContainerReader(std::string data_filename)
ContainerReader is the base class of the readers classes. All readers are working the same way: ...
void set_data_filename(const std::string &data_filename)
virtual int read(container_type &dat_in)=0
virtual read function. If Nb_block is more than one, it reads only one container, and returns 0...