|
ATLAS Offline Software
|
Go to the documentation of this file.
62 virtual std::string
name()
const = 0;
73 std::string
name()
const;
80 const std::function<T()>& func):
87 return get_buffer_from_func<T>(m_getter);
117 public std::vector<std::shared_ptr<internal::IVariableFiller> >
126 template <
typename T>
127 void add(
const std::string&
name,
const std::function<T()>&);
130 template <
typename T>
132 const std::function<T()>&
fun) {
134 this->push_back(std::make_shared<VariableFiller<T> >(
name,
fun));
158 std::vector<hsize_t> dataset_dimensions,
159 hsize_t chunk_size = 2048);
166 size_t index()
const;
std::vector< internal::data_buffer_t > m_buffer
hsize_t buffer_size() const
internal::data_buffer_t get_buffer() const
WriterXd(const WriterXd &)=delete
We have lots of code to get around HDF5's rather weak typing.
Group
Properties of a chain group.
void fillWhileIncrementing(std::vector< size_t > &indices)
std::pair< long int, long int > indices
virtual std::string name() const =0
VariableFiller(const std::string &, const std::function< T()> &)
std::function< T()> m_getter
VariableFillers m_fillers
void add(const std::string &name, const std::function< T()> &)
Variable add method.
H5::DataType get_type() const
std::vector< hsize_t > m_max_length
implementation for variable filler
WriterXd & operator=(WriterXd &)=delete
WriterXd(H5::Group &group, const std::string &name, VariableFillers fillers, std::vector< hsize_t > dataset_dimensions, hsize_t chunk_size=2048)
std::vector< hsize_t > m_dim_stride
const boost::regex ref(r_ef)
data_buffer_t get_buffer_from_func(const std::function< T()> &func)
Buffer element harvester.
virtual data_buffer_t get_buffer() const =0
virtual ~IVariableFiller()
virtual H5::DataType get_type() const =0