Comments (2)
To implement VDS the following classes need modification
DatasetAccessList
- and
DatasetCreationList
The DatasetLayout
enumeration has already a VIRTUAL
entry to create a virtual dataset.
DatasetCreationList
is where most of the configuration work is done.
There are certain boundary conditions we have to take into account
- all mappings must be done during creation of the dataset (they are added to the
DatasetCreationList
.
We thus cannot modify the mappings once the dataset is created. - as a consequence of the brevious item we only can read the mappings from a dataset once it is
created.
Additional classes
VirtualDataMap
This class describes the mapping between the virtual dataset and the actual data. This information
includes
- a
Selection
in the dataspace of the virtual dataset - a
boost::filesystem::path
to the source file - a
hdf5::Path
to the dataset within the source file - a
Dataspace
andSelection
in the source dataset
VirtualDataset
class
Implementing this feature may be also a good use case to test object instantiation with constructors.
It would make sense to derive a class VirtualDataset
from Dataset
which has a special
constructor only taking those arguments relevant for constructing a virtual dataset (we do not need
filters for instance).
from h5cpp.
We may want to store VirtualDataMap
instances in a container thus the class must satisfy all requirements such a
container makes on an element type
- default constructible
- copy constructible
This has consequences for those members of VirtualDataMap
which rely on virtual functions to operate correctly.
For such members we need smart pointers as references would not work (cannot be default constructed).
from h5cpp.
Related Issues (20)
- avoid interference with the windows max macro
- conan tests with boost fails because of conflict in conan center dependences HOT 1
- Remove references to old Conan package repositories
- Release 0.5.2 HOT 2
- Build issues on macOS on ESS Jenkins
- add support for conan 2.0 HOT 2
- h5cpp does not compile with hdf5 >= 1.13
- openmpi/4.1.0 conan 2.0 package not maintained by conan-center
- add openmpi github tests for debian11
- Require support to write and read 2D array with a raw pointer. HOT 2
- Problem of writing a list of 2D arrays into one Dataset. HOT 1
- add install_prefix option to conanfile.py
- Release 0.6.0 HOT 2
- How to write data into an existing HDF5 dataset HOT 3
- missing HDF5_INCLUDE_DIRS in pkg-config and cmake config files
- DEB package generation HOT 3
- Remove bincrafters Conan repository configuration from README
- Update ESS conanfile to use HDF5 1.14.0
- upgrade tests from debian11 to debian12
- documentation build fails in the ESS ubuntu container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5cpp.