Everett
Loading...
Searching...
No Matches
Classes | Static Public Member Functions | Static Public Attributes | List of all members
everett::cola_detail::query_access Struct Reference

Classes

struct  match_probe
 

Static Public Member Functions

template<class P >
static profile_query_context< P > borrow_query (bit_string const &query)
 
template<class P >
static profile_query_context< P > borrow_query (bit_string const &&)=delete
 
template<class P , class Family , class Capture >
static first_window_result< P > search (cola_index_view< P, Family > const &view, std::uint64_t group, profile_query_context< P > const &context, Capture &&capture)
 

Static Public Attributes

template<class Blob >
static constexpr bool scoped_views
 

Member Function Documentation

◆ borrow_query() [1/2]

template<class P >
static profile_query_context< P > everett::cola_detail::query_access::borrow_query ( bit_string const &&  )
staticdelete

◆ borrow_query() [2/2]

template<class P >
static profile_query_context< P > everett::cola_detail::query_access::borrow_query ( bit_string const &  query)
inlinestatic

◆ search()

template<class P , class Family , class Capture >
static first_window_result< P > everett::cola_detail::query_access::search ( cola_index_view< P, Family > const &  view,
std::uint64_t  group,
profile_query_context< P > const &  context,
Capture &&  capture 
)
inlinestatic

Member Data Documentation

◆ scoped_views

template<class Blob >
constexpr bool everett::cola_detail::query_access::scoped_views
staticconstexpr
Initial value:
= [] {
using view = std::remove_cvref_t<decltype(std::declval<Blob const &>().view())>;
using secondary = std::remove_cvref_t<decltype(std::declval<Blob const &>().secondary_target()->view())>;
return scoped_native_view<typename view::native_view>::value &&
scoped_borrowed_view<typename view::borrowed_view>::value && scoped_native_view<secondary>::value;
}()

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