1#ifndef BPMNOS_Model_CollectionRegistry_H
2#define BPMNOS_Model_CollectionRegistry_H
24 const std::vector<double>&
operator[](
size_t i)
const;
26 size_t operator()(
const std::vector<double>& collection);
30 std::vector< std::vector<double> > registeredCollections;
32 mutable std::shared_mutex registryMutex;
BPMNOS::CollectionRegistry collectionRegistry
Wrapper class around std::unordered_map for maps with vector keys.
Utility class for representing collections by numeric values.
const std::vector< double > & operator[](size_t i) const
Operator providing access to a registered collections by index.
size_t operator()(const std::vector< double > &collection)
Operator to register a collection by its values and return its index.
CollectionRegistry()
Constructor adds empty collection at index 0.
CollectionRegistry & operator=(const CollectionRegistry &)=delete
CollectionRegistry(const CollectionRegistry &)=delete