CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
h5_dataset.h
Go to the documentation of this file.
1// -*- C++ -*-
12#ifndef __cxz_h5_dataset_h__
13#define __cxz_h5_dataset_h__
14
15#include "h5_types.h"
16#include "h5_content_base.h"
17
18namespace CNORXZ
19{
20 namespace hdf5
21 {
70
77 {
78 public:
85 SDataset(const String& name, const ContentBase* _parent);
86
90 MArray<T> read() const;
91
98 template <class I, typename M>
99 MArray<T> read(const IndexInterface<I,M>& beg, const IndexInterface<I,M>& end) const;
100
101 private:
102
103 template <class I, typename M>
104 Vector<hsize_t> mkFPos(const IndexInterface<I,M>& beg) const;
105 };
106 }
107}
108
109#endif
const String & name() const
virtual String filename() const override final
Definition h5_dataset.cc:77
virtual Dataset & close() override final
Definition h5_dataset.cc:61
virtual bool exists() const override final
Definition h5_dataset.cc:82
Dataset(const String &name, const ContentBase *_parent)
Definition h5_dataset.cc:18
Dataset & init(const RangePtr &dataRange, hid_t type)
Definition h5_dataset.cc:87
virtual String path() const override final
Definition h5_dataset.cc:72
const RangePtr & dataRange() const
virtual ContentType type() const override final
Definition h5_dataset.cc:31
virtual bool ro() const override final
Definition h5_dataset.cc:36
virtual Dataset & open() override final
Definition h5_dataset.cc:41
Abstract content base class declaration.
Declaration of hdf5 related library types.
std::string String
Definition types.h:42
Sptr< RangeBase > RangePtr
Definition types.h:157
std::vector< T, Allocator< T > > Vector
Definition types.h:310
Sptr< Range > rangeCast(const RangePtr r)