An object belonging to a category Cat
.
More...
#include <intervals.h>
Public Types | |
using | category_t = Cat |
The category of this object. More... | |
using | traits_t = category_traits< category_t > |
Traits of this category. More... | |
Static Public Member Functions | |
static constexpr category_t | category () |
Returns an instance of the category of this object. More... | |
static constexpr bool | hasCategoryName () |
Returns whether this category has a name. More... | |
static std::string | categoryName () |
Returns the name of the category of this object. More... | |
template<typename OC > | |
static constexpr bool | same_category_as () |
Returns whether the type OC belongs to category_t . More... | |
template<typename OC > | |
static constexpr bool | same_category_as (OC const &) |
template<typename OC > | |
static constexpr bool | category_compatible_with () |
Returns whether OC has a category compatible with this one. More... | |
template<typename OC > | |
static constexpr bool | category_compatible_with (OC const &) |
An object belonging to a category Cat
.
Definition at line 42 of file intervals.h.
using util::quantities::concepts::details::WithCategory< Cat >::category_t = Cat |
The category of this object.
Definition at line 1088 of file intervals.h.
using util::quantities::concepts::details::WithCategory< Cat >::traits_t = category_traits<category_t> |
Traits of this category.
Definition at line 1091 of file intervals.h.
|
static |
Returns an instance of the category of this object.
Definition at line 1128 of file intervals.h.
|
static |
Returns whether OC
has a category compatible with this one.
Definition at line 1148 of file intervals.h.
|
static |
Definition at line 1154 of file intervals.h.
|
static |
|
static |
Returns whether this category has a name.
Definition at line 1159 of file intervals.h.
|
static |
Returns whether the type OC
belongs to category_t
.
Definition at line 1134 of file intervals.h.
|
static |
Definition at line 1141 of file intervals.h.