batchlas::select::detail Namespace Reference

Functions

◆ for_each_family()

template<class Choice, class F>
void batchlas::select::detail::for_each_family ( F && f)

Definition at line 125 of file select.hh.

◆ split()

std::vector< std::string_view > batchlas::select::detail::split ( std::string_view s,
char sep )
inline

Definition at line 131 of file select.hh.

◆ parse_int()

bool batchlas::select::detail::parse_int ( std::string_view t,
int & out )
inline

Definition at line 143 of file select.hh.

◆ trace_enabled()

bool batchlas::select::detail::trace_enabled ( )
noexcept

◆ note_decision()

void batchlas::select::detail::note_decision ( std::string_view op,
std::string spelling,
std::string detail,
std::string tag )

◆ note_borrow()

void batchlas::select::detail::note_borrow ( std::string_view op,
std::string_view dtype,
const Device & d,
const Table & t )

◆ warn_pin_fallback()

void batchlas::select::detail::warn_pin_fallback ( std::string_view op,
std::string_view word,
const Device & d )

◆ table_tag()

std::string batchlas::select::detail::table_tag ( const Table & t,
const Device & d,
bool own_table_exists )

◆ format_detail()

std::string batchlas::select::detail::format_detail ( double ms,
const std::string * next,
double next_ms )

◆ entry_detail()

std::string batchlas::select::detail::entry_detail ( const TableRow & row,
std::size_t i,
const TableEntry * next )

◆ pin_text()

std::optional< std::string > batchlas::select::detail::pin_text ( std::string_view op,
std::string * source )

◆ push_pin()

void batchlas::select::detail::push_pin ( std::string_view op,
std::string text,
bool strict = false )

◆ pin_strict()

bool batchlas::select::detail::pin_strict ( std::string_view op)

◆ pop_pin()

void batchlas::select::detail::pop_pin ( std::string_view op)

◆ trace_open()

bool batchlas::select::detail::trace_open ( std::string_view op,
const std::string & spelling,
bool vendor,
const coverage::Shape & shape,
const NativeFacts & facts,
const Key & fields )

◆ trace_close()

void batchlas::select::detail::trace_close ( )

◆ validate()

template<class Choice>
void batchlas::select::detail::validate ( const Table & t)

Definition at line 333 of file select.hh.

◆ is_candidate()

template<class Choice, std::size_t N>
bool batchlas::select::detail::is_candidate ( const Choice & c,
const std::array< Choice, N > & candidates )

Definition at line 348 of file select.hh.

◆ walk()

template<class Choice, std::size_t N, class CanRun>
std::optional< Choice > batchlas::select::detail::walk ( std::string_view op,
std::string_view dtype,
const Device & d,
const Key & key,
const std::array< Choice, N > & candidates,
CanRun & can_run,
const Rules & rules,
bool native_only )

Definition at line 354 of file select.hh.

◆ resolve_pin()

template<class Choice, std::size_t N, class CanRun>
std::optional< Choice > batchlas::select::detail::resolve_pin ( std::string_view op,
std::string_view dtype,
const Device & d,
const Key & key,
const std::array< Choice, N > & candidates,
CanRun & can_run,
const Rules & rules,
const std::string & text,
const std::string & source,
bool strict = false )

Definition at line 402 of file select.hh.

Classes

struct  NativeFacts
 The coverage row's native_route_existed / native_route_supported (tri-state, -1 unknown). More...