attrs/color.hpp

struct gviz::attrs::Color : public AttributeBase<Color, ColorValType<attrtypes::ColorType>>

Public Types

using value_type = ColorValType<attrtypes::ColorType>

Public Functions

inline explicit Color() noexcept
inline explicit Color(const value_type &value)
inline explicit Color(value_type &&value)

Public Static Functions

static inline value_type get_default_value() noexcept
static inline bool is_default(const value_type &value) noexcept
static inline bool constraint(const value_type&) noexcept

Public Static Attributes

static constexpr const char *const name = "color"

Private Static Functions

static inline attrtypes::ColorType get_default_color() noexcept
namespace gviz
namespace gviz::attrs

Typedefs

template<typename ColorT>
using ColorValType = std::variant<ColorT, attrtypes::ColorList<ColorT>>
file color.hpp
#include <>
#include <>
#include “”
#include “”
#include “”
#include “”
#include “”
dir /home/cthulhu/projects/repos/libgvizard/include/gvizard/attrs
dir /home/cthulhu/projects/repos/libgvizard/include/gvizard
dir /home/cthulhu/projects/repos/libgvizard/include