Template Struct TypeSelector
Defined in File type_selector.h
Struct Documentation
-
template<typename DerivedTypeSelectorT>
struct TypeSelector -
Public Functions
-
TypeSelector(const TypeName &type_name)
-
TypeSelector(TypeId type_id)
-
inline operator TypeName() const
-
inline operator TypeId() const
-
inline TypeName toStr() const
-
inline constexpr TypeId toTypeId() const
Public Static Functions
-
static bool isValid(TypeId type_id)
-
static TypeId toTypeId(const std::string &name)
-
static std::optional<DerivedTypeSelectorT> from(const std::string &type_name)
-
static std::optional<DerivedTypeSelectorT> from(const param::Value ¶ms)
-
static std::optional<DerivedTypeSelectorT> from(const param::Value ¶ms, const std::string &subconfig_name)
Public Static Attributes
-
static constexpr TypeId kInvalidTypeId = -1
-
TypeSelector(const TypeName &type_name)