Class OpQueryContinue

Inheritance Relationships

Base Type

Class Documentation

class URI::Template::OpQueryContinue : public URI::Template::Operator

Query continuation expansion operator.

Form-style query continuation, as indicated by the ampersand (“&”) operator in Level 3 and above templates, is useful for describing optional &name=value pairs in a template that already contains a literal query component with fixed parameters.

Public Functions

OpQueryContinue() = default

Constructor.

virtual ~OpQueryContinue() = default

Destructor.

virtual OperatorType Type() const override

Get type of the operator.

Returns

OperatorType::QUERY_CONTINUE.

virtual char Start() const override

Get starting character of the operator.

Returns

‘&’.

virtual char First() const override

Get the first character used for operator expansion.

Returns

‘&’.

virtual char Separator() const override

Get the separator character used for operator expansion.

Returns

‘&’.

virtual bool Named() const override

Check if the operator using named variables or not.

Returns

true.

virtual bool EmptyEq() const override

Check if the operator using ‘=’ sign for empty variables.

Returns

true.

virtual bool Reserved() const override

Check if the operator allows reserved characters for variable value.

Returns

false.

virtual bool StartExpanded() const override

Check if the operator’s start character also used in expansion.

Returns

true.