Template Class Variant
Defined in File Variant.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public boost::variant< T... >
Class Documentation
-
template<typename ...T>
class Variant : public boost::variant<T...> LVR2 variant type. Based on boost::variant with some extra functions.
- Template Parameters:
T –
Public Types
Public Functions
-
std::string typeName() const
-
int type() const
-
template<typename U>
inline constexpr bool is_type() const
Public Static Functions
-
template<typename U>
static inline constexpr std::size_t index_of_type()
-
static inline constexpr std::size_t num_types()
-
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>