|
andres::graph
|
Classes | |
| struct | GraphTraitsHDF5< CompleteGraph< VISITOR > > |
| struct | GraphTraitsHDF5< Digraph< VISITOR > > |
| struct | GraphTraitsHDF5< Graph< VISITOR > > |
| struct | GraphTraitsHDF5< GridGraph< D, VISITOR > > |
Enumerations | |
| enum | FileAccessMode |
| enum | HDF5Version |
Functions | |
| template<class VISITOR > | |
| void | save (const hid_t, const std::string &, const CompleteGraph< VISITOR > &graph) |
| template<class VISITOR > | |
| void | load (const hid_t, const std::string &, CompleteGraph< VISITOR > &graph) |
| template<class VISITOR > | |
| void | save (const hid_t, const std::string &, const Digraph< VISITOR > &) |
| template<class VISITOR > | |
| void | load (const hid_t, const std::string &, Digraph< VISITOR > &) |
| template<class VISITOR > | |
| void | save (const hid_t, const std::string &, const Graph< VISITOR > &) |
| template<class VISITOR > | |
| void | load (const hid_t, const std::string &, Graph< VISITOR > &) |
| template<unsigned char D, class VISITOR > | |
| void | save (const hid_t, const std::string &, const GridGraph< D, VISITOR > &) |
| template<unsigned char D, class VISITOR > | |
| void | load (const hid_t, const std::string &, GridGraph< D, VISITOR > &) |
| template<class T > | |
| hid_t | uintTypeHelper () |
| template<class T > | |
| hid_t | intTypeHelper () |
| template<class T > | |
| hid_t | floatingTypeHelper () |
| template<class T > | |
| hid_t | hdf5Type () |
| template<> | |
| hid_t | hdf5Type< unsigned char > () |
| template<> | |
| hid_t | hdf5Type< unsigned short > () |
| template<> | |
| hid_t | hdf5Type< unsigned int > () |
| template<> | |
| hid_t | hdf5Type< unsigned long > () |
| template<> | |
| hid_t | hdf5Type< unsigned long long > () |
| template<> | |
| hid_t | hdf5Type< char > () |
| template<> | |
| hid_t | hdf5Type< signed char > () |
| template<> | |
| hid_t | hdf5Type< short > () |
| template<> | |
| hid_t | hdf5Type< int > () |
| template<> | |
| hid_t | hdf5Type< long > () |
| template<> | |
| hid_t | hdf5Type< long long > () |
| template<> | |
| hid_t | hdf5Type< float > () |
| template<> | |
| hid_t | hdf5Type< double > () |
| hid_t | createFile (const std::string &filename, HDF5Version hdf5version) |
| Create an HDF5 file. | |
| hid_t | openFile (const std::string &filename, FileAccessMode fileAccessMode, HDF5Version hdf5version) |
| Open an HDF5 file. | |
| void | closeFile (const hid_t &handle) |
| Close an HDF5 file. | |
| hid_t | createGroup (const hid_t &parentHandle, const std::string &groupName) |
| Create an HDF5 group. | |
| hid_t | openGroup (const hid_t &parentHandle, const std::string &groupName, const bool createIfNonexistent) |
| Open an HDF5 group. | |
| void | closeGroup (const hid_t &handle) |
| Close an HDF5 group. | |
| template<class T > | |
| void | save (const hid_t &parentHandle, const std::string &datasetName, const std::initializer_list< std::size_t > shape, const T *const data) |
| Save shaped data as HDF5 dataset. | |
| template<class T > | |
| void | save (const hid_t &parentHandle, const std::string &datasetName, const T &data) |
| Save a scalar as an HDF5 dataset. | |
| template<class T > | |
| void | load (const hid_t &parentHandle, const std::string &datasetName, std::vector< std::size_t > &shape, std::vector< T > &data) |
| Load a 2D array from an HDF5 dataset as a single vector. | |
| template<class T > | |
| void | load (const hid_t &, const std::string &, std::vector< std::vector< T > > &) |
| template<class T > | |
| void | load (const hid_t &parentHandle, const std::string &datasetName, T &data) |
| Load a scalar value from an HDF5 dataset. | |
| template<> | |
| void | load (const hid_t &parentHandle, const std::string &datasetName, std::string &data) |
| Load a string value from an HDF5 dataset. | |
|
inline |
|
inline |
Close an HDF5 group.
| handle | HDF5 handle on group to close. |
|
inline |
Create an HDF5 file.
| filename | Name of the file. |
| hdf5version | HDF5 version tag. |
|
inline |
Create an HDF5 group.
| parentHandle | HDF5 handle on the parent group or file. |
| groupName | Name of the group. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void andres::graph::hdf5::load | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| CompleteGraph< VISITOR > & | graph | ||
| ) |
Definition at line 55 of file hdf5/complete-graph.hxx.
| void andres::graph::hdf5::load | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| Digraph< VISITOR > & | graph | ||
| ) |
Definition at line 66 of file hdf5/digraph.hxx.
| void andres::graph::hdf5::load | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| Graph< VISITOR > & | graph | ||
| ) |
Definition at line 66 of file hdf5/graph.hxx.
| void andres::graph::hdf5::load | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| GridGraph< D, VISITOR > & | graph | ||
| ) |
Definition at line 61 of file hdf5/grid-graph.hxx.
| void andres::graph::hdf5::load | ( | const hid_t & | parentHandle, |
| const std::string & | datasetName, | ||
| std::vector< std::size_t > & | shape, | ||
| std::vector< T > & | data | ||
| ) |
Load a 2D array from an HDF5 dataset as a single vector.
| parentHandle | Handle of the parent HDF5 file or group. |
| datasetName | Name of the HDF5 dataset. |
| shape | The shape of the read data. If an error occures, shape is cleared and an exception is thrown. |
| data | Read data. |
| void andres::graph::hdf5::load | ( | const hid_t & | , |
| const std::string & | , | ||
| std::vector< std::vector< T > > & | |||
| ) |
| void andres::graph::hdf5::load | ( | const hid_t & | parentHandle, |
| const std::string & | datasetName, | ||
| T & | data | ||
| ) |
|
inline |
|
inline |
Open an HDF5 file.
| filename | Name of the file. |
| fileAccessMode | File access mode. |
| hdf5version | HDF5 version tag. |
|
inline |
Open an HDF5 group.
| parentHandle | HDF5 handle on the parent group or file. |
| groupName | Name of the group. |
| createIfNonexistent | if set to true, the group is newly created if it cannot be opened. |
| void andres::graph::hdf5::save | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| const CompleteGraph< VISITOR > & | graph | ||
| ) |
Definition at line 31 of file hdf5/complete-graph.hxx.
| void andres::graph::hdf5::save | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| const Digraph< VISITOR > & | graph | ||
| ) |
Definition at line 32 of file hdf5/digraph.hxx.
| void andres::graph::hdf5::save | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| const Graph< VISITOR > & | graph | ||
| ) |
Definition at line 32 of file hdf5/graph.hxx.
| void andres::graph::hdf5::save | ( | const hid_t | parentHandle, |
| const std::string & | graphName, | ||
| const GridGraph< D, VISITOR > & | graph | ||
| ) |
Definition at line 33 of file hdf5/grid-graph.hxx.
| void andres::graph::hdf5::save | ( | const hid_t & | parentHandle, |
| const std::string & | datasetName, | ||
| const std::initializer_list< std::size_t > | shape, | ||
| const T *const | data | ||
| ) |
| void andres::graph::hdf5::save | ( | const hid_t & | parentHandle, |
| const std::string & | datasetName, | ||
| const T & | data | ||
| ) |
1.8.1.2