Class OpReservedChars

Inheritance Relationships

Base Type

Class Documentation

class URI::Template::OpReservedChars : public URI::Template::OpNoop

Reserved characters expansion operator.

Reserved expansion, as indicated by the plus (“+”) operator for Level 2 and above templates, is identical to simple string expansion except that the substituted values may also contain pct-encoded triplets and characters in the reserved set.

Public Functions

OpReservedChars() = default

Constructor.

virtual ~OpReservedChars() = default

Destructor.

virtual OperatorType Type() const override

Get type of the operator.

Returns

OperatorType::RESERVED_CHARS.

virtual char Start() const override

Get starting character of the operator.

Returns

‘+’.

virtual bool Reserved() const override

Check if the operator allows reserved characters for variable value.

Returns

true.