Everett
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
everett::mapped_cola_resolver< P, Blob > Struct Template Reference

#include <mapped_cola.h>

Public Types

using blob = Blob
 
using native_type = typename blob::native_type
 
using index_type = typename blob::index_type
 
using native_pointer = typename blob::native_pointer
 
using pair_type = typename blob::pair_type
 

Public Member Functions

 mapped_cola_resolver (std::filesystem::path root)
 
native_pointer native (object_id const &id)
 
pair_type pair (blob_identity const &head)
 

Private Attributes

std::filesystem::path root_
 
std::unordered_map< std::string, native_pointer > natives_
 
std::unordered_map< std::string, pair_type > pairs_
 

Member Typedef Documentation

◆ blob

template<class P , class Blob = mapped_cola_blob<P>>
using everett::mapped_cola_resolver< P, Blob >::blob = Blob

◆ index_type

template<class P , class Blob = mapped_cola_blob<P>>
using everett::mapped_cola_resolver< P, Blob >::index_type = typename blob::index_type

◆ native_pointer

template<class P , class Blob = mapped_cola_blob<P>>
using everett::mapped_cola_resolver< P, Blob >::native_pointer = typename blob::native_pointer

◆ native_type

template<class P , class Blob = mapped_cola_blob<P>>
using everett::mapped_cola_resolver< P, Blob >::native_type = typename blob::native_type

◆ pair_type

template<class P , class Blob = mapped_cola_blob<P>>
using everett::mapped_cola_resolver< P, Blob >::pair_type = typename blob::pair_type

Constructor & Destructor Documentation

◆ mapped_cola_resolver()

template<class P , class Blob = mapped_cola_blob<P>>
everett::mapped_cola_resolver< P, Blob >::mapped_cola_resolver ( std::filesystem::path  root)
inlineexplicit

Member Function Documentation

◆ native()

template<class P , class Blob = mapped_cola_blob<P>>
native_pointer everett::mapped_cola_resolver< P, Blob >::native ( object_id const &  id)
inline

◆ pair()

template<class P , class Blob = mapped_cola_blob<P>>
pair_type everett::mapped_cola_resolver< P, Blob >::pair ( blob_identity const &  head)
inline

Member Data Documentation

◆ natives_

template<class P , class Blob = mapped_cola_blob<P>>
std::unordered_map<std::string, native_pointer> everett::mapped_cola_resolver< P, Blob >::natives_
private

◆ pairs_

template<class P , class Blob = mapped_cola_blob<P>>
std::unordered_map<std::string, pair_type> everett::mapped_cola_resolver< P, Blob >::pairs_
private

◆ root_

template<class P , class Blob = mapped_cola_blob<P>>
std::filesystem::path everett::mapped_cola_resolver< P, Blob >::root_
private

The documentation for this struct was generated from the following file: