KD SOAP API Documentation: KDSoapEndpointReference.cpp Source File

| KD SOAP API Documentation 2.2

Loading...
Searching...
No Matches
KDSoapEndpointReference.cpp
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Soap project.
4**
5** SPDX-FileCopyrightText: 2016 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#include "KDSoapEndpointReference.h"
12
13#include <QDebug>
14
15class KDSoapEndpointReferenceData : public QSharedData
16{
17public:
18 KDSoapEndpointReferenceData()
19 {
20 }
21
22 QString m_address;
23 KDSoapValueList m_metadata;
24 KDSoapValueList m_referenceParameters;
25};
26
27KDSoapEndpointReference::KDSoapEndpointReference(const QString &address)
28 : d(new KDSoapEndpointReferenceData)
29{
30 d->m_address = address;
31}
32
33 KDSoapEndpointReference::KDSoapEndpointReference(const KDSoapEndpointReference &other)
34 : d(other.d)
35{
36}
37
38 KDSoapEndpointReference &KDSoapEndpointReference::operator=(const KDSoapEndpointReference &other)
39{
40 d = other.d;
41 return *this;
42}
43
44KDSoapEndpointReference::~KDSoapEndpointReference()
45{
46}
47
48 QString KDSoapEndpointReference::address() const
49{
50 return d->m_address;
51}
52
53 void KDSoapEndpointReference::setAddress(const QString &address)
54{
55 d->m_address = address;
56}
57
58 KDSoapValueList KDSoapEndpointReference::metadata() const
59{
60 return d->m_metadata;
61}
62
63 void KDSoapEndpointReference::setMetadata(const KDSoapValueList &metadata)
64{
65 d->m_metadata = metadata;
66}
67
68 bool KDSoapEndpointReference::isEmpty() const
69{
70 return d->m_address.isEmpty();
71}
72
73 KDSoapValueList KDSoapEndpointReference::referenceParameters() const
74{
75 return d->m_referenceParameters;
76}
77
78 void KDSoapEndpointReference::setReferenceParameters(const KDSoapValueList &referenceParameters)
79{
80 d->m_referenceParameters = referenceParameters;
81}
KDSoapEndpointReference.h
KDSoapEndpointReference
Definition KDSoapEndpointReference.h:28
KDSoapEndpointReference::setMetadata
void setMetadata(const KDSoapValueList &metadata)
Definition KDSoapEndpointReference.cpp:63
KDSoapEndpointReference::KDSoapEndpointReference
KDSoapEndpointReference(const QString &address=QString())
Definition KDSoapEndpointReference.cpp:27
KDSoapEndpointReference::~KDSoapEndpointReference
~KDSoapEndpointReference()
Definition KDSoapEndpointReference.cpp:44
KDSoapEndpointReference::referenceParameters
KDSoapValueList referenceParameters() const
Definition KDSoapEndpointReference.cpp:73
KDSoapEndpointReference::isEmpty
bool isEmpty() const
Definition KDSoapEndpointReference.cpp:68
KDSoapEndpointReference::operator=
KDSoapEndpointReference & operator=(const KDSoapEndpointReference &other)
Definition KDSoapEndpointReference.cpp:38
KDSoapEndpointReference::metadata
KDSoapValueList metadata() const
Definition KDSoapEndpointReference.cpp:58
KDSoapEndpointReference::setAddress
void setAddress(const QString &address)
Definition KDSoapEndpointReference.cpp:53
KDSoapEndpointReference::setReferenceParameters
void setReferenceParameters(const KDSoapValueList &referenceParameters)
Definition KDSoapEndpointReference.cpp:78
KDSoapEndpointReference::address
QString address() const
Definition KDSoapEndpointReference.cpp:48
KDSoapValueList
Definition KDSoapValue.h:321
QSharedData
QString

© 2010-2024 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Sun Jan 7 2024 11:47:36 for KD SOAP API Documentation by doxygen 1.9.8