RestLink 2.2.0
Powerfull Rest Client for Qt
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
RestLink::QueryParameter Class Reference

#include <queryparameter.h>

Inherits RestLink::Parameter.

Public Member Functions

 QueryParameter ()
 
 QueryParameter (const QString &name, const QVariant &value)
 
 QueryParameter (const QueryParameter &other)
 
 ~QueryParameter ()
 Destructor for QueryParameter.
 
Parameteroperator= (const Parameter &other)
 Copy assignment operator for Parameter class.
 
Parameteroperator= (Parameter &&other)
 Move assignment operator for Parameter class.
 
bool operator== (const Parameter &other) const
 Equality operator for Parameter class.
 
bool operator!= (const Parameter &other) const
 Inequality operator for Parameter class.
 

Static Public Member Functions

static QueryParameter fromJsonObject (const QJsonObject &object)
 

Protected Member Functions

 QueryParameter (const QSharedDataPointer< ParameterData > &d)
 

Additional Inherited Members

 Defines flags used to specify special attributes for a parameter. More...
 Defines the possible types of parameters. More...

Constructor & Destructor Documentation

◆ QueryParameter() [1/4]

RestLink::QueryParameter::QueryParameter ( )

◆ QueryParameter() [2/4]

RestLink::QueryParameter::QueryParameter ( const QString &  name,
const QVariant &  value 
)

◆ QueryParameter() [3/4]

RestLink::QueryParameter::QueryParameter ( const QueryParameter other)

◆ ~QueryParameter()

RestLink::QueryParameter::~QueryParameter ( )

Destructor for QueryParameter.

Cleans up resources held by the QueryParameter object.

◆ QueryParameter() [4/4]

RestLink::QueryParameter::QueryParameter ( const QSharedDataPointer< ParameterData > &  d)
protected

Member Function Documentation

◆ fromJsonObject()

QueryParameter RestLink::QueryParameter::fromJsonObject ( const QJsonObject &  object)
static

◆ operator=() [1/2]

Parameter & RestLink::Parameter::operator= ( const Parameter other)

Copy assignment operator for Parameter class.

Copies the contents of one Parameter instance to another.

Parameters
otherThe parameter to copy from.
Returns
A reference to the current instance.

◆ operator=() [2/2]

Parameter & RestLink::Parameter::operator= ( Parameter &&  other)

Move assignment operator for Parameter class.

Transfers ownership of the resources from the provided parameter to the current instance.

Parameters
otherThe parameter to move from.
Returns
A reference to the current instance.

◆ operator==()

bool RestLink::Parameter::operator== ( const Parameter other) const

Equality operator for Parameter class.

Two parameters are considered equal if they have the same name, value, and flags.

Parameters
otherThe parameter to compare with.
Returns
True if the parameters are equal, false otherwise.

◆ operator!=()

bool RestLink::Parameter::operator!= ( const Parameter other) const

Inequality operator for Parameter class.

Two parameters are considered unequal if they differ in name, value, or flags.

Parameters
otherThe parameter to compare with.
Returns
True if the parameters are unequal, false otherwise.