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

#include <cola_runtime.h>

Public Types

using policy_type = P
 
using native_type = cola_runtime_native< P >
 
using native_pointer = std::shared_ptr< native_type const >
 
using pair_type = std::shared_ptr< cola_runtime_node const >
 
using built_type = cola_index< P, native_type, cola_runtime_node >
 

Public Member Functions

cola_index_view< P > view () const
 
native_pointer native_owner () const noexcept
 
native_type const & native () const &noexcept
 
native_type const & native () const &&=delete
 
pair_type main_target () const noexcept
 
native_pointer secondary_target () const noexcept
 
std::uint64_t virtual_size () const
 
std::uint64_t group_count () const
 
std::uint64_t depth () const noexcept
 
std::shared_ptr< built_type const > built () const noexcept
 
std::shared_ptr< mapped_cola_blob< P > const > mapped () const noexcept
 
bool canonical_mapped () const noexcept
 

Static Public Member Functions

static pair_type from_built (built_type value)
 
static pair_type from_mapped (std::shared_ptr< mapped_cola_blob< P > const > head)
 
static pair_type from_mapped_parts (std::shared_ptr< mapped_cola_blob< P > const > source, native_pointer native, pair_type main, native_pointer secondary={})
 

Private Member Functions

 cola_runtime_node (std::shared_ptr< built_type const > value)
 
 cola_runtime_node (std::shared_ptr< mapped_cola_blob< P > const > value, pair_type main)
 
 cola_runtime_node (std::shared_ptr< mapped_cola_blob< P > const > value, native_pointer native, pair_type main)
 

Private Attributes

catalog_bindings< pair_binding< mapped_cola_blob< P > > > bindings_
 
catalog_bindings< cola_runtime_node > mapped_owners_
 
native_pointer native_
 
pair_type main_
 
std::shared_ptr< built_type const > built_
 
std::shared_ptr< mapped_cola_blob< P > const > mapped_
 
std::uint64_t depth_
 
bool canonical_mapped_ = false
 

Friends

template<class , class , class , class >
struct runtime_store
 
template<class , class , class , class >
struct runtime_store_detail::graph_sealer
 

Member Typedef Documentation

◆ built_type

template<class P >
using everett::cola_runtime_node< P >::built_type = cola_index<P, native_type, cola_runtime_node>

◆ native_pointer

template<class P >
using everett::cola_runtime_node< P >::native_pointer = std::shared_ptr<native_type const>

◆ native_type

template<class P >
using everett::cola_runtime_node< P >::native_type = cola_runtime_native<P>

◆ pair_type

template<class P >
using everett::cola_runtime_node< P >::pair_type = std::shared_ptr<cola_runtime_node const>

◆ policy_type

template<class P >
using everett::cola_runtime_node< P >::policy_type = P

Constructor & Destructor Documentation

◆ cola_runtime_node() [1/3]

template<class P >
everett::cola_runtime_node< P >::cola_runtime_node ( std::shared_ptr< built_type const >  value)
inlineexplicitprivate

◆ cola_runtime_node() [2/3]

template<class P >
everett::cola_runtime_node< P >::cola_runtime_node ( std::shared_ptr< mapped_cola_blob< P > const >  value,
pair_type  main 
)
inlineprivate

◆ cola_runtime_node() [3/3]

template<class P >
everett::cola_runtime_node< P >::cola_runtime_node ( std::shared_ptr< mapped_cola_blob< P > const >  value,
native_pointer  native,
pair_type  main 
)
inlineprivate

Member Function Documentation

◆ built()

template<class P >
std::shared_ptr< built_type const > everett::cola_runtime_node< P >::built ( ) const
inlinenoexcept

◆ canonical_mapped()

template<class P >
bool everett::cola_runtime_node< P >::canonical_mapped ( ) const
inlinenoexcept

◆ depth()

template<class P >
std::uint64_t everett::cola_runtime_node< P >::depth ( ) const
inlinenoexcept

◆ from_built()

template<class P >
static pair_type everett::cola_runtime_node< P >::from_built ( built_type  value)
inlinestatic

◆ from_mapped()

template<class P >
static pair_type everett::cola_runtime_node< P >::from_mapped ( std::shared_ptr< mapped_cola_blob< P > const >  head)
inlinestatic

◆ from_mapped_parts()

template<class P >
static pair_type everett::cola_runtime_node< P >::from_mapped_parts ( std::shared_ptr< mapped_cola_blob< P > const >  source,
native_pointer  native,
pair_type  main,
native_pointer  secondary = {} 
)
inlinestatic

◆ group_count()

template<class P >
std::uint64_t everett::cola_runtime_node< P >::group_count ( ) const
inline

◆ main_target()

template<class P >
pair_type everett::cola_runtime_node< P >::main_target ( ) const
inlinenoexcept

◆ mapped()

template<class P >
std::shared_ptr< mapped_cola_blob< P > const > everett::cola_runtime_node< P >::mapped ( ) const
inlinenoexcept

◆ native() [1/2]

template<class P >
native_type const & everett::cola_runtime_node< P >::native ( ) const &&
delete

◆ native() [2/2]

template<class P >
native_type const & everett::cola_runtime_node< P >::native ( ) const &
inlinenoexcept

◆ native_owner()

template<class P >
native_pointer everett::cola_runtime_node< P >::native_owner ( ) const
inlinenoexcept

◆ secondary_target()

template<class P >
native_pointer everett::cola_runtime_node< P >::secondary_target ( ) const
inlinenoexcept

◆ view()

template<class P >
cola_index_view< P > everett::cola_runtime_node< P >::view ( ) const
inline

◆ virtual_size()

template<class P >
std::uint64_t everett::cola_runtime_node< P >::virtual_size ( ) const
inline

Friends And Related Symbol Documentation

◆ runtime_store

template<class P >
template<class , class , class , class >
friend struct runtime_store
friend

◆ runtime_store_detail::graph_sealer

template<class P >
template<class , class , class , class >
friend struct runtime_store_detail::graph_sealer
friend

Member Data Documentation

◆ bindings_

template<class P >
catalog_bindings<pair_binding<mapped_cola_blob<P> > > everett::cola_runtime_node< P >::bindings_
private

◆ built_

template<class P >
std::shared_ptr<built_type const> everett::cola_runtime_node< P >::built_
private

◆ canonical_mapped_

template<class P >
bool everett::cola_runtime_node< P >::canonical_mapped_ = false
private

◆ depth_

template<class P >
std::uint64_t everett::cola_runtime_node< P >::depth_
private

◆ main_

template<class P >
pair_type everett::cola_runtime_node< P >::main_
private

◆ mapped_

template<class P >
std::shared_ptr<mapped_cola_blob<P> const> everett::cola_runtime_node< P >::mapped_
private

◆ mapped_owners_

template<class P >
catalog_bindings<cola_runtime_node> everett::cola_runtime_node< P >::mapped_owners_
private

◆ native_

template<class P >
native_pointer everett::cola_runtime_node< P >::native_
private

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