icedb
version 0.5.1
Snow particle scattering database API
|
#include <Table_impl.hpp>
Public Member Functions | |
virtual | ~CanHaveTables_impl () |
CanHaveTables_impl () | |
![]() | |
~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... | |
Protected Member Functions | |
void | _setTablesParent (std::shared_ptr< H5::Group > obj) override |
CanHaveTables needs post-constructor setup. This sets the base HDF5 object that gets manipulated. More... | |
std::shared_ptr< H5::Group > | _getTablesParent () const override |
Gets the base HDF5 object that is manipulated. More... | |
![]() | |
CanHaveTables () | |
Trivial constructor used when CanHaveTables is a virtual base class. More... | |
Private Attributes | |
std::shared_ptr< H5::Group > | obj |
Definition at line 22 of file Table_impl.hpp.
|
virtual |
Definition at line 345 of file Tables.cpp.
icedb::Tables::CanHaveTables_impl::CanHaveTables_impl | ( | ) |
Definition at line 346 of file Tables.cpp.
|
overrideprotectedvirtual |
Gets the base HDF5 object that is manipulated.
Implements icedb::Tables::CanHaveTables.
Definition at line 344 of file Tables.cpp.
References icedb::Tables::Table_impl::obj.
|
overrideprotectedvirtual |
CanHaveTables needs post-constructor setup. This sets the base HDF5 object that gets manipulated.
Implements icedb::Tables::CanHaveTables.
Definition at line 343 of file Tables.cpp.
References icedb::Tables::Table_impl::obj.
Referenced by icedb::Groups::Group_impl::Group_impl().
|
private |
Definition at line 23 of file Table_impl.hpp.