|
| static auto | build (const std::string &path, const IdPredicate &index_scope) -> expected< std::shared_ptr< const Index >, BackendError > |
| | Walk path and build an index of records whose id satisfies index_scope.
|
| |
|
| std::unordered_map< std::string, std::vector< Entry > > | by_id_ |
| |
◆ Index()
| ngen::serialization::FileBackend::Index::Index |
( |
| ) |
|
|
default |
◆ build()
| static auto ngen::serialization::FileBackend::Index::build |
( |
const std::string & | path, |
|
|
const IdPredicate & | index_scope ) -> expected<std::shared_ptr<const Index>, BackendError> |
|
inlinestatic |
◆ find_at_simulation_timestamp()
| boost::optional< const Entry & > ngen::serialization::FileBackend::Index::find_at_simulation_timestamp |
( |
const std::string & | id, |
|
|
int64_t | simulation_timestamp ) const |
|
inline |
◆ find_at_step()
| boost::optional< const Entry & > ngen::serialization::FileBackend::Index::find_at_step |
( |
const std::string & | id, |
|
|
int64_t | step ) const |
|
inline |
◆ find_latest()
| boost::optional< const Entry & > ngen::serialization::FileBackend::Index::find_latest |
( |
const std::string & | id | ) |
const |
|
inline |
◆ insert_or_replace()
| void ngen::serialization::FileBackend::Index::insert_or_replace |
( |
std::string | id, |
|
|
const Entry & | entry, |
|
|
const std::string & | path ) |
|
inlineprivate |
◆ size()
| std::size_t ngen::serialization::FileBackend::Index::size |
( |
| ) |
const |
|
inlinenoexcept |
◆ by_id_
| std::unordered_map<std::string, std::vector<Entry> > ngen::serialization::FileBackend::Index::by_id_ |
|
private |
The documentation for this class was generated from the following file:
- src/utilities/bmi/file_backend.cpp