Class to wrap HDF5 data.
More...
#include <HDF5_Class.h>
Inherits std::enable_shared_from_this< HDF5data >.
|
| template<class TYPE > |
| void | getData (AMP::Array< TYPE > &data) const |
| | Get the data.
|
| |
| std::shared_ptr< const HDF5data > | getData (size_t i, const std::string_view &name) const |
| | Get the data ith block and jth child.
|
| |
| virtual std::shared_ptr< HDF5data > | getData (size_t i, const std::string_view &name)=0 |
| | Get the data ith block and jth child.
|
| |
| virtual AMP::ArraySize | getDataSize () const =0 |
| | Get the data.
|
| |
| virtual std::vector< std::string > | getNames () const =0 |
| | Get the variable names.
|
| |
| const std::string & | name () const |
| | Return the name of the variable.
|
| |
| bool | operator!= (const HDF5data &rhs) const |
| | Check if two objects are not equal.
|
| |
| virtual bool | operator== (const HDF5data &rhs) const =0 |
| | Check if two objects are equal.
|
| |
| virtual void | print (int level=1, const std::string_view &prefix="") const =0 |
| | Print information about the data.
|
| |
| virtual size_t | size () const =0 |
| | Number of entries.
|
| |
| virtual std::string | type () const =0 |
| | Return a string identifying the class.
|
| |
| virtual | ~HDF5data () |
| | Virtual destructor.
|
| |
Class to wrap HDF5 data.
Definition at line 19 of file HDF5_Class.h.
◆ ~HDF5data()
| virtual AMP::IO::HDF5data::~HDF5data |
( |
| ) |
|
|
inlinevirtual |
◆ HDF5data()
| AMP::IO::HDF5data::HDF5data |
( |
hid_t |
fid, |
|
|
const std::string_view & |
name |
|
) |
| |
|
inlineprotected |
◆ getData() [1/3]
template<class TYPE >
| void AMP::IO::HDF5data::getData |
( |
AMP::Array< TYPE > & |
data | ) |
const |
◆ getData() [2/3]
| std::shared_ptr< const HDF5data > AMP::IO::HDF5data::getData |
( |
size_t |
i, |
|
|
const std::string_view & |
name |
|
) |
| const |
Get the data ith block and jth child.
◆ getData() [3/3]
| virtual std::shared_ptr< HDF5data > AMP::IO::HDF5data::getData |
( |
size_t |
i, |
|
|
const std::string_view & |
name |
|
) |
| |
|
pure virtual |
Get the data ith block and jth child.
◆ getDataSize()
◆ getNames()
| virtual std::vector< std::string > AMP::IO::HDF5data::getNames |
( |
| ) |
const |
|
pure virtual |
◆ name()
| const std::string & AMP::IO::HDF5data::name |
( |
| ) |
const |
|
inline |
◆ operator!=()
| bool AMP::IO::HDF5data::operator!= |
( |
const HDF5data & |
rhs | ) |
const |
|
inline |
◆ operator==()
| virtual bool AMP::IO::HDF5data::operator== |
( |
const HDF5data & |
rhs | ) |
const |
|
pure virtual |
◆ print()
| virtual void AMP::IO::HDF5data::print |
( |
int |
level = 1, |
|
|
const std::string_view & |
prefix = "" |
|
) |
| const |
|
pure virtual |
Print information about the data.
◆ size()
| virtual size_t AMP::IO::HDF5data::size |
( |
| ) |
const |
|
pure virtual |
◆ type()
| virtual std::string AMP::IO::HDF5data::type |
( |
| ) |
const |
|
pure virtual |
Return a string identifying the class.
◆ d_fid
| hid_t AMP::IO::HDF5data::d_fid |
|
protected |
◆ d_name
| std::string AMP::IO::HDF5data::d_name |
|
protected |
The documentation for this class was generated from the following file: