Template Class ValueT

Class Documentation

template<typename ...PrimitiveValueTs>
class ValueT

Public Types

using Array = std::vector<ValueT>
using Map = std::map<Name, ValueT>

Public Functions

template<typename T>
inline explicit ValueT(T value)
inline explicit ValueT(double value)
template<class T, class ...Args>
inline T &emplace(Args&&... args)
template<typename ValueT>
inline bool holds() const
template<typename T>
inline std::optional<T> as() const
inline bool hasChild(const Name &key) const
inline std::optional<ValueT> getChild(const Name &key) const
template<typename T>
inline std::optional<T> getChildAs(const Name &key) const