docs
Loading...
Searching...
No Matches
VarToken< Owner, Value, Accessor >

#include <Ultralight/dom/data/Schema.h>

Overview

template<typename Owner, typename Value, typename Accessor>
struct ultralight::dom::data::VarToken< Owner, Value, Accessor >

A CSS custom property entry (the value Var() returns).

Pass it to Schema().

Public Types

using owner_type = Owner
 The type the accessor reads from.
using value_type = Value
 The accessor's value type.
using accessor_type = Accessor
 The accessor's type.

Public Attributes

const char * name
 The property's name, including the leading two hyphens.
Accessor accessor
 Reads the value from a const instance.

Member Typedef Documentation

◆ accessor_type

template<typename Owner, typename Value, typename Accessor>
using accessor_type = Accessor

The accessor's type.

◆ owner_type

template<typename Owner, typename Value, typename Accessor>
using owner_type = Owner

The type the accessor reads from.

◆ value_type

template<typename Owner, typename Value, typename Accessor>
using value_type = Value

The accessor's value type.

Member Data Documentation

◆ accessor

template<typename Owner, typename Value, typename Accessor>
Accessor accessor

Reads the value from a const instance.

◆ name

template<typename Owner, typename Value, typename Accessor>
const char* name

The property's name, including the leading two hyphens.


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