Template Struct OpLibrary

Inheritance Relationships

Base Type

  • public std::tuple< Ops... >

Struct Documentation

template<typename ...Ops>
struct sgpl::OpLibrary : public std::tuple<Ops...>

Public Types

using parent_t = std::tuple<Ops...>
using this_t = sgpl::OpLibrary<Ops...>
using Operation = typename std::tuple_element<I, parent_t>::type

Public Static Functions

constexpr bool IsAnchorLocalOpCode(const size_t op_code) noexcept
constexpr bool IsAnchorGlobalOpCode(const size_t op_code) noexcept
bool IsNopOpCode(const size_t op_code) noexcept
constexpr bool IsAnchorOpCode(const size_t op_code) noexcept
constexpr size_t GetSize() noexcept
std::string GetOpName(const size_t op_code)
template<typename Spec>
size_t GetOpNumRngTouches(const size_t op_code)
unsigned char GetOpCode(const std::string &op_name)
unsigned char GetNopOpCode(const size_t num_rng_touches = 0)
size_t GetOpPrevalence(const size_t op_code)
template<typename Instruction>
auto GetOpDescriptors(const size_t op_code, const Instruction &instruction)
template<typename Instruction>
auto GetOpCategories(const size_t op_code, const Instruction &instruction)

Public Static Attributes

sgpl::OpLookup<this_t> lookup_table