KD SOAP
KDSoapEndpointReference.h
1 /****************************************************************************
2 ** Copyright (C) 2015-2016 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
3 ** All rights reserved.
4 **
5 ** This file is part of the KD Soap library.
6 **
7 ** Licensees holding valid commercial KD Soap licenses may use this file in
8 ** accordance with the KD Soap Commercial License Agreement provided with
9 ** the Software.
10 **
11 **
12 ** This file may be distributed and/or modified under the terms of the
13 ** GNU Lesser General Public License version 2.1 and version 3 as published by the
14 ** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
15 **
16 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 **
19 ** Contact info@kdab.com if any conditions of this licensing are not
20 ** clear to you.
21 **
22 **********************************************************************/
23 
24 #ifndef KDSOAPENDPOINTREFERENCE_H
25 #define KDSOAPENDPOINTREFERENCE_H
26 
27 #include "KDSoapGlobal.h"
28 #include "KDSoapValue.h"
29 #include <QString>
30 #include <QSharedDataPointer>
31 
32 class KDSoapEndpointReferenceData;
40 class KDSOAP_EXPORT KDSoapEndpointReference
41 {
42 public:
43 
48  explicit KDSoapEndpointReference(const QString &address = QString());
49 
54 
58  KDSoapEndpointReference &operator =(const KDSoapEndpointReference &other);
59 
64 
68  QString address() const;
69 
74  void setAddress(const QString &address);
75 
80  KDSoapValueList referenceParameters() const;
81 
85  void setReferenceParameters(const KDSoapValueList &referenceParameters);
86 
91  KDSoapValueList metadata() const;
92 
96  void setMetadata(const KDSoapValueList &metadata);
97 
101  bool isEmpty() const;
102 
103 private:
104  QSharedDataPointer<KDSoapEndpointReferenceData> d;
105 };
106 
107 #endif // KDSOAPENDPOINTREFERENCE_H
108 
Definition: KDSoapEndpointReference.h:40
Definition: KDSoapValue.h:279

Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-soap/