-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify Random-Access API and Streaming API into Series::snapshots() (#…
…1592) * Introduce SharedAttributableData * Add AbstractSeriesIterator * Derive SeriesIterator from AbstractSeriesIterator * Little fix * Introduce Snapshots.hpp * Make AbstractSeriesIterator non-virtual * Working commit for Series::snapshots() * No virtual operator[] * Remove random-accessing from iterator * Introduce AbstractSnapshotsContainer * basic random-access iteration * RandomAccessSnapshots.hpp -> snapshots/RandomAccessIterator.hpp * ReadIterations.hpp -> snapshots/StatefulIterator.hpp * SeriesIterator.hpp -> snapshots/IteratorTraits.hpp * Snapshots.hpp -> snapshots/Snapshots.hpp * Move AbstractSnapshotsContainer to ContainerTraits.hpp * Move Container implementations to ContainerImpls.(h|c)pp * Fix: parsePreference is not set in file-based iteratione encoding * Temporarily fix test * Const iteration * Extract stuff to .cpp * Reverse iteration * Commit missing Snapshots.cpp file * empty() * Revert wrong renaming ReadIterations/StatefulIterator * Rename SeriesIterator -> StatefulIterator * Add ::at, operator[] * beginStep(): always return relevant iteration indices * Basically working example for snapshots() in write access * Extract some methods to .cpp * Fully replace WriteIterations class with the new one * Fix nullpointer issue * Little fixes * Add some further API calls * Some postfix form transformations * Use snapshots() in read example 2 * Simplify ReadIterations implementation * Further cleanup * Change representation of iterations in current step * Initiate reading of group/variable-based encoding with nextStep() * Prepare internal representation to be aware of steps * Windows fixes * Adapt tests * Unify close status * Add basic test for opening after closing * Add new end() iterator representations * Reopening logic in Iterator, not yet in Series itself * Reopening fundamentally working in READ_LINEAR * Extend test still sth wrong in append_mode test, but see about this next week * For now, adapt the append_mode test * fixes * BUGFIX: modifiable attributes, maybe extract this to dev * Ensure that iterations are never parsed twice * Move currently_available_iterations to During_t * Revert "For now, adapt the append_mode test" This reverts commit 19b68ee. * Remember where we saw what iteration * Bit of cleanup * [wip] Groupbased writing: close and reopen * Further test and implement reopening of Iterations * Unused variable * some fixes to groupbased reopen test * Filebased reopen in ADIOS2 (no READ_WRITE support yet) * Now supports READ_WRITE too in filebased mode * Some exceptions for unimplemented stuff * Works in JSON and HDF5 now too * CI fixes * Virtual destructors * CI fixes continued * Some fixes for noexcept specifications * Further CI Fixes * CI FIXES * Fixes for ADIOS2 v2.7 * placate the intel compiler * noexcept details for MSVC * Fix ulimit test * Fix after rebase: dirtyRecursive * Fixes after rebase * remove conflict markers... * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Better defaults? * Parameterize Series::snapshots() * Use enum class for last commit * Add some missing minor function implementations * Don't use globbing * Add missing include * Better include structure, put Legacy stuff to Legacy headers * Bugfix * Documentation, cleanup * Add check_recursive_include script * Fixes after rebase * Fix bug that hindered files from being properly closed * Will this fix the Windows CI errors I dont think so * Use macro instead of function Proper return() is supported beginning with CMake 3.25 only * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Better document reopening options * Update close_iteration_test * Documentation --------- Co-authored-by: Pöschel <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
77a55a3
commit b8ce8a0
Showing
49 changed files
with
4,438 additions
and
1,358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.