Class OpNoop¶
Defined in File Operator.h
Inheritance Relationships¶
Base Type¶
public URI::Template::Operator
(Class Operator)
Derived Type¶
public URI::Template::OpReservedChars
(Class OpReservedChars)
Class Documentation¶
-
class
URI::Template
::
OpNoop
: public URI::Template::Operator¶ No operations operator.
This class represents absence of operator for an expression. Simple string expansion is the default expression type when no operator is given.
Subclassed by URI::Template::OpReservedChars
Public Functions
-
OpNoop
() = default¶ Constructor.
-
virtual
~OpNoop
() = default¶ Destructor.
-
virtual OperatorType
Type
() const override¶ Get type of the operator.
- Returns
-
virtual char
Start
() const override¶ Get starting character of the operator.
- Throws
std::runtime_error – on call.
-
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
false.
-
virtual bool
EmptyEq
() const override¶ Check if the operator using ‘=’ sign for empty variables.
- Returns
false.
-
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
false.
-