|
virtual | ~Group () |
|
virtual Group_ptr | createGroup (const std::string &groupName)=0 |
| Create a group. More...
|
|
virtual Group_ptr | openGroup (const std::string &groupName) const =0 |
| Opens a group. More...
|
|
virtual bool | doesGroupExist (const std::string &groupName) const =0 |
| Does a group with this name exist? More...
|
|
virtual std::set< std::string > | getGroupNames () const =0 |
| Get the names of all sub-groups within the current group. More...
|
|
virtual void | deleteGroup (const std::string &groupName)=0 |
| Unlink the specified child group. More...
|
|
virtual Group_HDF_shared_ptr | getHDF5Group () const =0 |
| Get the fundamental HDF5 object that the group is built on. More...
|
|
| ~CanHaveAttributes () |
|
bool | doesAttributeExist (const std::string &attributeName) const |
| Does the object have an attribute with the given name? More...
|
|
std::type_index | getAttributeTypeId (const std::string &attributeName) const |
| Returns the type of an attribute. More...
|
|
template<class Type > |
bool | isAttributeOfType (const std::string &attributeName) const |
| Is the type of the attribute "Type"? More...
|
|
std::set< std::string > | getAttributeNames () const |
| List all attributes attached to this object. More...
|
|
void | deleteAttribute (const std::string &attributeName) |
| Delete an attribute, by name, that is attached to this object. More...
|
|
template<class DataType > |
void | readAttributeData (const std::string &attributeName, std::vector< size_t > &dimensions, std::vector< DataType > &data) const |
| Function to read the data from an attribute using the provided input vectors. More...
|
|
template<class DataType > |
void | writeAttributeData (const std::string &attributeName, const std::vector< size_t > &dimensionas, const std::vector< DataType > &data) |
| Function to write an attribute to an object, with the provided raw data. More...
|
|
template<class DataType > |
Attribute< DataType > | readAttribute (const std::string &attributeName) const |
| Convenience function to read an attribute's data and return an Attribute object. More...
|
|
template<class DataType > |
void | writeAttribute (const Attribute< DataType > &attribute) |
| Convenience function to write an Attribute to an object. More...
|
|
template<class DataType > |
void | writeAttribute (const std::string &name, std::initializer_list< size_t > dims, std::initializer_list< DataType > data) |
| Convenience function to write a small Attribute to an object, using initializer lists. More...
|
|
| ~CanHaveTables () |
|
std::set< std::string > | getTableNames () const |
| Lists all table names that are children of this object. More...
|
|
bool | doesTableExist (const std::string &tableName) const |
| Does a table exist with the given name. More...
|
|
void | unlinkTable (const std::string &tableName) |
| Unlink a table. In HDF5, this is not the same as erasing a table, which never actually happens. More...
|
|
Table::Table_Type | openTable (const std::string &tableName) |
|
std::vector< size_t > | getChunkStrategy (const std::vector< size_t > &dims) |
| The default chunking strategy for this table. Used for storage i/o speed, and for compression. More...
|
|
template<class DataType > |
Table::Table_Type | createTable (const std::string &tableName, const std::vector< size_t > &dims, const std::vector< size_t > *chunks=nullptr) |
| Create a table. More...
|
|
template<class DataType > |
Table::Table_Type | createTable (const std::string &tableName, std::initializer_list< size_t > dims, const std::vector< size_t > *chunks=nullptr) |
| Create a table. More...
|
|
template<class DataType > |
Table::Table_Type | createTable (const std::string &tableName, std::initializer_list< size_t > dims, std::initializer_list< DataType > data, const std::vector< size_t > *chunks=nullptr) |
| Create a table and writes initial data. Used with small tables. More...
|
|
template<class DataType > |
Table::Table_Type | createTable (const std::string &tableName, std::initializer_list< size_t > dims, const std::vector< DataType > &data, const std::vector< size_t > *chunks=nullptr) |
| Create a table and sets the table's initial data. More...
|
|
template<class DataType > |
Table::Table_Type | createTable (const std::string &tableName, std::initializer_list< size_t > dims, const gsl::span< DataType > &data, const std::vector< size_t > *chunks=nullptr) |
| Create a table and sets the table's initial data. More...
|
|
template<class DataType > |
Table::Table_Type | createTable (const std::string &tableName, std::initializer_list< size_t > dims, const gsl::span< const DataType > &data, const std::vector< size_t > *chunks=nullptr) |
| Create a table and sets the table's initial data. More...
|
|
|
static Group_ptr | createGroup (const std::string &name, gsl::not_null< H5::Group *> parent) |
| Create a group with a specified parent (static function) More...
|
|
static Group_ptr | createGroup (const std::string &name, gsl::not_null< H5::H5File *> parent) |
| Create a group with a specified parent (static function) More...
|
|
static Group_ptr | createGroup (const std::string &name, gsl::not_null< const Group *> parent) |
| Create a group with a specified parent (static function) More...
|
|
static Group_ptr | openGroup (const std::string &name, gsl::not_null< H5::Group *> parent) |
| Open a group under the specified parent (static function) More...
|
|
static Group_ptr | openGroup (const std::string &name, gsl::not_null< H5::H5File *> parent) |
| Open a group under the specified parent (static function) More...
|
|
static Group_ptr | openGroup (const std::string &name, gsl::not_null< const Group *> parent) |
| Open a group under the specified parent (static function) More...
|
|
static Group_ptr | openGroup (Group_HDF_shared_ptr group) |
| Open an icedb group from an HDF5 group object. More...
|
|
static Group_ptr | mount (const std::string &subdirname, gsl::not_null< const Group *> containingParent, gsl::not_null< H5::H5File *> pointsTo) |
| Mount an HDF5 file as a child 'group'. More...
|
|
static bool | doesAttributeExist (gsl::not_null< const H5::H5Object *> parent, const std::string &attributeName) |
| Does an object (parent) have an attribute with the given name? More...
|
|
static std::type_index | getAttributeTypeId (gsl::not_null< const H5::H5Object *> parent, const std::string &attributeName) |
| Returns the type of an attribute. More...
|
|
template<class DataType > |
static void | readAttributeData (gsl::not_null< const H5::H5Object *> parent, const std::string &attributeName, std::vector< size_t > &dimensions, std::vector< DataType > &data) |
| Function to read the data from an attribute. More...
|
|
template<class DataType > |
static Attribute< DataType > | readAttribute (gsl::not_null< const H5::H5Object *> obj, const std::string &attributeName) |
| Convenience function to read an attribute's data and return an Attribute object. More...
|
|
A group is similar to a folder / directory. It can have Attributes and Tables.
Definition at line 22 of file Group.hpp.