|
void | swap (HDFFile &other) |
| Function for exchanging states. More...
|
|
void | open (std::string path, std::string access) |
| Open a file at location 'path' with access specifier 'access'. Keep in mind that if the object refers to another file, it has to be closed first before opening another. More...
|
|
std::shared_ptr< HDFGroup > | get_basegroup () |
| Get the basegroup object via shared ptr. More...
|
|
std::shared_ptr< HDFGroup > | open_group (std::string path) |
| Open group at path 'path', creating all intermediate objects in the path. Separation character is: /. More...
|
|
std::shared_ptr< HDFDataset > | open_dataset (std::string path, std::vector< hsize_t > capacity={}, std::vector< hsize_t > chunksizes={}, std::size_t compresslevel=0) |
| open dataset More...
|
|
void | delete_group (std::string &&path) |
| deletes the group pointed to by absolute path 'path' More...
|
|
void | flush () |
| Initiates an immediate write to disk of the data of the file. More...
|
|
| HDFFile ()=default |
| Construct a new default HDFFile object. More...
|
|
| HDFFile (HDFFile &&other)=default |
| Move constructor Construct a new HDFFile object via move semantics. More...
|
|
HDFFile & | operator= (const HDFFile &other)=delete |
| Copy assignment operator, explicitly deleted, hence cannot be used. More...
|
|
HDFFile & | operator= (HDFFile &&other)=default |
| Move assigment operator. More...
|
|
| HDFFile (const HDFFile &other)=delete |
| Copy constructor. Explicitly deleted, hence cannot be used. More...
|
|
| HDFFile (std::string path, std::string access) |
| Construct a new HDFFile object. More...
|
|
virtual | ~HDFFile ()=default |
| Destroy the HDFFile object. More...
|
|
void | swap (HDFObject &other) |
| swap the state of the caller with the state of the argument More...
|
|
std::string | get_path () const |
| Get the name or path object. More...
|
|
auto | get_id_object () const |
| Get the id object. More...
|
|
auto | get_logger () const |
| Get the logger object. More...
|
|
hid_t | get_C_id () const |
| Get the C id object. More...
|
|
auto | get_refcount () |
| Get the reference count of object. More...
|
|
virtual bool | is_valid () const |
| Check if the object is still valid. More...
|
|
void | close () |
| Close function which takes care of correctly closing the object and managing the reference counter. More...
|
|
void | bind_to (hid_t id, std::function< herr_t(hid_t) > closing_func, std::string path={}) |
| Open the object and bind it to a HDF5 object identified by 'id' with name 'path'. Object should be created beforehand. More...
|
|
| HDFObject () |
| Construct HDFObject from the given arguments. More...
|
|
| HDFObject (HDFObject &&other) |
| Construct HDFObject by moving. More...
|
|
| HDFObject (const HDFObject &other)=default |
| Construct HDFObject by copying another object. More...
|
|
| HDFObject (hid_t id, std::function< herr_t(hid_t) > closing_func, std::string path={}) |
| Construct HDFObject from the given argument. More...
|
|
HDFObject & | operator= (const HDFObject &other) |
| Copy assignment operator. More...
|
|
HDFObject & | operator= (HDFObject &&other) |
| move assignment operator More...
|
|
virtual | ~HDFObject () |
| Destroy the HDFObject object. Has to be implemented in subclass! More...
|
|
Class representing a HDF5 file.