class sbn::kernel_type
Types
  • using constructor_type = kernel_ptr(*)()
  • using id_type = uint16_t

    A portable type id.

Methods
  • operator<(const kernel_type & rhs) const -> bool
  • operator!=(const kernel_type & rhs) const -> bool
  • operator==(const kernel_type & rhs) const -> bool
  • operator!() const -> bool
  • operator bool() constexplicit
  • has_id() const -> bool
  • name() const -> const char *
  • setid(id_type rhs) -> void
  • id() const -> id_type
  • index() const -> std::type_index
  • construct() const -> kernel_ptr
  • kernel_type(constructor_type ctr, std::type_index idx)explicit
  • kernel_type(id_type id, constructor_type ctr, std::type_index idx)explicit
Friends
  • operator<<
struct std::hash< sbn::kernel_type >
Base classes
  • public std::hash< sbn::kernel_type::id_type >
Types
Methods
operator<<(std::ostream & out, const kernel_type & rhs) -> std::ostream &