Skip to content

Struct zmbt::dsl::SignatureVariadic

template <Keyword K>

ClassList > zmbt > dsl > SignatureVariadic

Variadic expression. More...

  • #include <expression_api_signatures.hpp>

Inherits the following classes: zmbt::dsl::SignatureBase

Public Types

Type Name
typedef Expression E

Public Types inherited from zmbt::Expression

See zmbt::Expression

Type Name
typedef dsl::Keyword Keyword
typedef boost::json::value V

Public Functions

Type Name
Expression operator() () const
Expression operator() (E const & p0) const
Expression operator() (E const & p0, E const & p1) const
Expression operator() (E const & p0, E const & p1, E const & p2) const
Expression operator() (E const & p0, E const & p1, E const & p2, E const & p3) const
Expression operator() (E const & p0, E const & p1, E const & p2, E const & p3, E const & p4) const
Expression operator() (E const & p0, E const & p1, E const & p2, E const & p3, E const & p4, E const & p5) const
Expression operator() (E const & p0, E const & p1, E const & p2, E const & p3, E const & p4, E const & p5, E const & p6) const
Expression operator() (E const & p0, E const & p1, E const & p2, E const & p3, E const & p4, E const & p5, E const & p6, E const & p7) const
Expression operator() (E const & p0, E const & p1, E const & p2, E const & p3, E const & p4, E const & p5, E const & p6, E const & p7, T &&... rest) const

Public Functions inherited from zmbt::dsl::SignatureBase

See zmbt::dsl::SignatureBase

Type Name
SignatureBase ()

Public Functions inherited from zmbt::Expression

See zmbt::Expression

Type Name
Expression (std::initializer_list< boost::json::value_ref > items)
Expression (boost::json::value const & expr)
Expression (Keyword const & keyword, boost::json::value const & params)
Expression (Keyword const & keyword)
Expression ()
Expression (T const & sample)
Expression (Expression const & o)
Expression (Expression && o)
boost::json::value eval (boost::json::value const & x=nullptr, EvalContext const & ctx={}) const
Evaluate expression.
bool has_params () const
bool is (Keyword const kwrd) const
bool is_const () const
bool is_literal () const
bool is_noop () const
Keyword keyword () const
bool match (boost::json::value const & observed, SignalOperatorHandler const & op={}) const
bool operator!= (Expression const & o) const
Expression & operator= (Expression const & o)
Expression & operator= (Expression && o)
bool operator== (Expression const & o) const
boost::json::value const & params () const
boost::json::value const & serialize () const
boost::json::value const & subexpr () const
boost::json::value const & underlying () const
~Expression () = default

Public Static Functions inherited from zmbt::Expression

See zmbt::Expression

Type Name
Expression constAsEq (boost::json::value const & underlying)
Expression literalAsEq (boost::json::value const & underlying)

Detailed Description

Template parameters:

  • K keyword
Syntactic forms

Syntatic form over function f:

Public Types Documentation

typedef E

using zmbt::dsl::SignatureVariadic< K >::E =  Expression;

Public Functions Documentation

function operator() [1/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() () const

function operator() [2/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0
) const

function operator() [3/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1
) const

function operator() [4/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2
) const

function operator() [5/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2,
    E const & p3
) const

function operator() [6/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2,
    E const & p3,
    E const & p4
) const

function operator() [7/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2,
    E const & p3,
    E const & p4,
    E const & p5
) const

function operator() [8/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2,
    E const & p3,
    E const & p4,
    E const & p5,
    E const & p6
) const

function operator() [9/10]

inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2,
    E const & p3,
    E const & p4,
    E const & p5,
    E const & p6,
    E const & p7
) const

function operator() [10/10]

template<class... T>
inline Expression zmbt::dsl::SignatureVariadic::operator() (
    E const & p0,
    E const & p1,
    E const & p2,
    E const & p3,
    E const & p4,
    E const & p5,
    E const & p6,
    E const & p7,
    T &&... rest
) const


The documentation for this class was generated from the following file zmbt-framework/zmbt-framework/backends/cxx/include/zmbt/model/expression_api_signatures.hpp