Template Class VariantChannel
Defined in File VariantChannel.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public boost::variant< Channel< T >... >
Class Documentation
-
template<typename ...T>
class VariantChannel : public boost::variant<Channel<T>...> Public Types
Public Functions
-
size_t numElements() const
-
size_t width() const
-
std::string typeName() const
-
int type() const
Get type index of a map entry.
-
template<typename U>
bool is_type() const
-
VariantChannel<T...> clone() const
Friends
-
inline friend std::ostream &operator<<(std::ostream &os, const VariantChannel<T...> &ch)
-
struct CloneVisitor : public boost::static_visitor<VariantChannel<T...>>
Public Functions
-
template<typename U>
inline VariantChannel<T...> operator()(const Channel<U> &channel) const
-
template<typename U>
-
template<typename U>
struct DataPtrVisitor : public boost::static_visitor<boost::shared_array<U>> Public Functions
-
template<class U>
struct index_of_type Access type index with type.
example: ChanneVariantMap<int, float> my_map; ChanneVariantMap<int, float>::type_index<int>::value -> 0
Public Static Attributes
-
static constexpr std::size_t value = TupleIndex<U, types>::value
-
struct NumElementsVisitor : public boost::static_visitor<size_t>
-
template<class T1, class Tuple>
struct TupleIndex
-
template<class T1, class ...Types>
struct TupleIndex<T1, std::tuple<T1, Types...>> Public Static Attributes
-
static constexpr std::size_t value = 0
-
static constexpr std::size_t value = 0
-
struct TypeNameVisitor : public boost::static_visitor<std::string>
-
struct WidthVisitor : public boost::static_visitor<size_t>
-
size_t numElements() const