Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::DataTraits< DataSequence< Data > > Struct Template Reference

Static Public Member Functions

static constexpr std::string_view classIdentifier ()
 
static constexpr std::string_view dataName ()
 
static constexpr uvec3 colorCode ()
 
static Document info (const DataSequence< Data > &data)
 

Static Public Attributes

static constexpr auto cid
 
static constexpr auto name
 

Member Data Documentation

◆ cid

template<typename Data >
auto inviwo::DataTraits< DataSequence< Data > >::cid
staticconstexpr
Initial value:
= []() {
constexpr auto name = DataTraits<Data>::classIdentifier();
if constexpr (!name.empty()) {
return StaticString<name.size()>(name) + ".sequence";
} else {
return StaticString<0>{};
}
}()
static constexpr std::string_view classIdentifier()
Definition datatraits.h:83
A compile time string implementation. Supports compile time string concatenation and conversion to st...
Definition staticstring.h:73

◆ name

template<typename Data >
auto inviwo::DataTraits< DataSequence< Data > >::name
staticconstexpr
Initial value:
= []() {
constexpr auto tName = DataTraits<Data>::dataName();
if constexpr (!tName.empty()) {
return "DataSequence<" + StaticString<tName.size()>(tName) + ">";
} else {
return StaticString{"DataSequence<?>"};
}
}()
static constexpr std::string_view dataName()
Definition datatraits.h:91

The documentation for this struct was generated from the following file: