StreamVariant
StreamVariant
Section titled “StreamVariant”#include <sbio/core/roles.hh>template<typename... Ts>struct StreamVariantDefined in src/lib/sbio/core/roles.hh:132
Inherits:
type_list< Ts... >,VariantTag
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
has_data |
variable |
Declared here |
index_of |
variable |
Inherited from type_list |
accepts |
variable |
Inherited from type_list |
size |
function |
Inherited from type_list |
Inherited from type_list
Section titled “Inherited from type_list”| Kind | Name | Description |
|---|---|---|
variable |
index_of static constexpr |
|
variable |
accepts static constexpr |
Evaluates true if the type U is in the type list. |
function |
size static inline constexpr |
Returns the length of the type list, i.e., the number of types. |
Public Static Attributes
Section titled “Public Static Attributes”| Return | Name | Description |
|---|---|---|
constexpr bool |
has_data static constexpr |
has_data
Section titled “has_data”static constexpr
constexpr bool has_data { StreamVariant::template accepts<roles::Data> }Defined in src/lib/sbio/core/roles.hh:134