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

#include <cola_local_merge.h>

Public Types

using policy_type = P
 
using pair_type = typename cola_index< P >::pair_type
 
using native_pointer = typename cola_index< P >::native_pointer
 

Public Member Functions

cola_destination_kind kind () const noexcept
 
pair_type main_target () const noexcept
 
native_pointer secondary_target () const noexcept
 

Static Public Member Functions

static cola_destination_plan for_main (pair_type main={}, native_pointer secondary={})
 
static cola_destination_plan for_secondary (pair_type main)
 

Private Member Functions

 cola_destination_plan (cola_destination_kind kind, pair_type main, native_pointer secondary)
 

Private Attributes

cola_destination_kind kind_
 
pair_type main_
 
native_pointer secondary_
 

Member Typedef Documentation

◆ native_pointer

template<class P >
using everett::cola_destination_plan< P >::native_pointer = typename cola_index<P>::native_pointer

◆ pair_type

template<class P >
using everett::cola_destination_plan< P >::pair_type = typename cola_index<P>::pair_type

◆ policy_type

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

Constructor & Destructor Documentation

◆ cola_destination_plan()

template<class P >
everett::cola_destination_plan< P >::cola_destination_plan ( cola_destination_kind  kind,
pair_type  main,
native_pointer  secondary 
)
inlineprivate

Member Function Documentation

◆ for_main()

template<class P >
static cola_destination_plan everett::cola_destination_plan< P >::for_main ( pair_type  main = {},
native_pointer  secondary = {} 
)
inlinestatic

◆ for_secondary()

template<class P >
static cola_destination_plan everett::cola_destination_plan< P >::for_secondary ( pair_type  main)
inlinestatic

◆ kind()

template<class P >
cola_destination_kind everett::cola_destination_plan< P >::kind ( ) const
inlinenoexcept

◆ main_target()

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

◆ secondary_target()

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

Member Data Documentation

◆ kind_

template<class P >
cola_destination_kind everett::cola_destination_plan< P >::kind_
private

◆ main_

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

◆ secondary_

template<class P >
native_pointer everett::cola_destination_plan< P >::secondary_
private

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