src/storage/face/generic_maps.hpp¶
Namespaces¶
| Name |
|---|
| sgns |
| sgns::storage |
| sgns::storage::face |
Classes¶
| Name | |
|---|---|
| struct | sgns::storage::face::ReadOnlyMap An abstraction over a readable and iterable key-value map. |
| struct | sgns::storage::face::GenericMap An abstraction over a readable, writeable, iterable key-value map. |
| struct | sgns::storage::face::BatchWriteMap An abstraction over a writeable key-value map with batching support. |
Source code¶
#ifndef SUPERGENIUS_GENERIC_MAPS_HPP
#define SUPERGENIUS_GENERIC_MAPS_HPP
#include "storage/face/batchable.hpp"
#include "storage/face/iterable.hpp"
#include "storage/face/readable.hpp"
#include "storage/face/writeable.hpp"
namespace sgns::storage::face {
template <typename K, typename V>
struct ReadOnlyMap : public Iterable<K, V>, public Readable<K, V> {};
template <typename K, typename V>
struct GenericMap : public ReadOnlyMap<K, V>, public Writeable<K, V> {};
template <typename K, typename V>
struct BatchWriteMap : public Writeable<K, V>, public Batchable<K, V> {};
} // namespace sgns::storage::face
#endif // SUPERGENIUS_GENERIC_MAPS_HPP
Updated on 2026-03-04 at 13:10:45 -0800