Commit 16ed5613 authored by Gozutok, Recep's avatar Gozutok, Recep
Browse files

Upload New File

parent c2c08ccf
/* soapStub.h
Generated by gSOAP 2.8.28 from Service.h
gSOAP XML Web services tools
Copyright (C) 2000-2016, Robert van Engelen, Genivia Inc. All Rights Reserved.
The soapcpp2 tool and its generated software are released under the GPL.
This program is released under the GPL with the additional exemption that
compiling, linking, and/or using OpenSSL is allowed.
--------------------------------------------------------------------------------
A commercial use license is available from Genivia Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
#include <deque>
#include <list>
#include <vector>
#include <set>
#define SOAP_NAMESPACE_OF_ns1 "urn:reserve"
#define SOAP_NAMESPACE_OF_ns2 "urn://Ocpp/Cs/2012/06/"
#define SOAP_WSA_2005
#ifndef soapStub_H
#define soapStub_H
#include "stdsoap2.h"
#if GSOAP_VERSION != 20828
# error "GSOAP VERSION 20828 MISMATCH IN GENERATED CODE VERSUS LIBRARY CODE: PLEASE REINSTALL PACKAGE"
#endif
/******************************************************************************\
* *
* Enumerations *
* *
\******************************************************************************/
/* Service.h:247 */
#ifndef SOAP_TYPE_ns1__ReserveStatus
#define SOAP_TYPE_ns1__ReserveStatus (36)
/* ns1:ReserveStatus */
enum ns1__ReserveStatus
{
ns1__ReserveStatus__Accepted = 0,
ns1__ReserveStatus__Blocked = 1,
ns1__ReserveStatus__Expired = 2,
ns1__ReserveStatus__Invalid = 3,
ns1__ReserveStatus__ConcurrentTx = 4
};
#endif
/* Service.h:278 */
#ifndef SOAP_TYPE_ns2__AuthorizationStatus
#define SOAP_TYPE_ns2__AuthorizationStatus (39)
/* ns2:AuthorizationStatus */
enum ns2__AuthorizationStatus
{
ns2__AuthorizationStatus__Accepted = 0,
ns2__AuthorizationStatus__Blocked = 1,
ns2__AuthorizationStatus__Expired = 2,
ns2__AuthorizationStatus__Invalid = 3,
ns2__AuthorizationStatus__ConcurrentTx = 4
};
#endif
/* Service.h:362 */
#ifndef SOAP_TYPE_ns2__ReadingContext
#define SOAP_TYPE_ns2__ReadingContext (49)
/* ns2:ReadingContext */
enum ns2__ReadingContext
{
ns2__ReadingContext__Interruption_x002eBegin = 0,
ns2__ReadingContext__Interruption_x002eEnd = 1,
ns2__ReadingContext__Sample_x002eClock = 2,
ns2__ReadingContext__Sample_x002ePeriodic = 3,
ns2__ReadingContext__Transaction_x002eBegin = 4,
ns2__ReadingContext__Transaction_x002eEnd = 5
};
#endif
/* Service.h:375 */
#ifndef SOAP_TYPE_ns2__Measurand
#define SOAP_TYPE_ns2__Measurand (50)
/* ns2:Measurand */
enum ns2__Measurand
{
ns2__Measurand__Energy_x002eActive_x002eExport_x002eRegister = 0,
ns2__Measurand__Energy_x002eActive_x002eImport_x002eRegister = 1,
ns2__Measurand__Energy_x002eReactive_x002eExport_x002eRegister = 2,
ns2__Measurand__Energy_x002eReactive_x002eImport_x002eRegister = 3,
ns2__Measurand__Energy_x002eActive_x002eExport_x002eInterval = 4,
ns2__Measurand__Energy_x002eActive_x002eImport_x002eInterval = 5,
ns2__Measurand__Energy_x002eReactive_x002eExport_x002eInterval = 6,
ns2__Measurand__Energy_x002eReactive_x002eImport_x002eInterval = 7,
ns2__Measurand__Power_x002eActive_x002eExport = 8,
ns2__Measurand__Power_x002eActive_x002eImport = 9,
ns2__Measurand__Power_x002eReactive_x002eExport = 10,
ns2__Measurand__Power_x002eReactive_x002eImport = 11,
ns2__Measurand__Current_x002eExport = 12,
ns2__Measurand__Current_x002eImport = 13,
ns2__Measurand__Voltage = 14,
ns2__Measurand__Temperature = 15
};
#endif
/* Service.h:398 */
#ifndef SOAP_TYPE_ns2__ValueFormat
#define SOAP_TYPE_ns2__ValueFormat (51)
/* ns2:ValueFormat */
enum ns2__ValueFormat
{
ns2__ValueFormat__Raw = 0,
ns2__ValueFormat__SignedData = 1
};
#endif
/* Service.h:407 */
#ifndef SOAP_TYPE_ns2__UnitOfMeasure
#define SOAP_TYPE_ns2__UnitOfMeasure (52)
/* ns2:UnitOfMeasure */
enum ns2__UnitOfMeasure
{
ns2__UnitOfMeasure__W = 87,
ns2__UnitOfMeasure__Wh = 88,
ns2__UnitOfMeasure__kWh = 89,
ns2__UnitOfMeasure__varh = 90,
ns2__UnitOfMeasure__kvarh = 91,
ns2__UnitOfMeasure__kW = 92,
ns2__UnitOfMeasure__var = 93,
ns2__UnitOfMeasure__kvar = 94,
ns2__UnitOfMeasure__Amp = 95,
ns2__UnitOfMeasure__Volt = 96,
ns2__UnitOfMeasure__Celsius = 97
};
#endif
/* Service.h:425 */
#ifndef SOAP_TYPE_ns2__Location
#define SOAP_TYPE_ns2__Location (53)
/* ns2:Location */
enum ns2__Location
{
ns2__Location__Inlet = 0,
ns2__Location__Outlet = 1,
ns2__Location__Body = 2
};
#endif
/* Service.h:438 */
#ifndef SOAP_TYPE_ns2__RegistrationStatus
#define SOAP_TYPE_ns2__RegistrationStatus (54)
/* ns2:RegistrationStatus */
enum ns2__RegistrationStatus
{
ns2__RegistrationStatus__Accepted = 0,
ns2__RegistrationStatus__Rejected = 1
};
#endif
/* Service.h:450 */
#ifndef SOAP_TYPE_ns2__ChargePointErrorCode
#define SOAP_TYPE_ns2__ChargePointErrorCode (55)
/* ns2:ChargePointErrorCode */
enum ns2__ChargePointErrorCode
{
ns2__ChargePointErrorCode__ConnectorLockFailure = 0,
ns2__ChargePointErrorCode__HighTemperature = 1,
ns2__ChargePointErrorCode__Mode3Error = 2,
ns2__ChargePointErrorCode__NoError = 3,
ns2__ChargePointErrorCode__PowerMeterFailure = 4,
ns2__ChargePointErrorCode__PowerSwitchFailure = 5,
ns2__ChargePointErrorCode__ReaderFailure = 6,
ns2__ChargePointErrorCode__ResetFailure = 7,
ns2__ChargePointErrorCode__GroundFailure = 8,
ns2__ChargePointErrorCode__OverCurrentFailure = 9,
ns2__ChargePointErrorCode__UnderVoltage = 10,
ns2__ChargePointErrorCode__WeakSignal = 11,
ns2__ChargePointErrorCode__OtherError = 12
};
#endif
/* Service.h:473 */
#ifndef SOAP_TYPE_ns2__ChargePointStatus
#define SOAP_TYPE_ns2__ChargePointStatus (56)
/* ns2:ChargePointStatus */
enum ns2__ChargePointStatus
{
ns2__ChargePointStatus__Available = 0,
ns2__ChargePointStatus__Occupied = 1,
ns2__ChargePointStatus__Faulted = 2,
ns2__ChargePointStatus__Unavailable = 3,
ns2__ChargePointStatus__Reserved = 4
};
#endif
/* Service.h:488 */
#ifndef SOAP_TYPE_ns2__FirmwareStatus
#define SOAP_TYPE_ns2__FirmwareStatus (57)
/* ns2:FirmwareStatus */
enum ns2__FirmwareStatus
{
ns2__FirmwareStatus__Downloaded = 0,
ns2__FirmwareStatus__DownloadFailed = 1,
ns2__FirmwareStatus__InstallationFailed = 2,
ns2__FirmwareStatus__Installed = 3
};
#endif
/* Service.h:502 */
#ifndef SOAP_TYPE_ns2__DiagnosticsStatus
#define SOAP_TYPE_ns2__DiagnosticsStatus (58)
/* ns2:DiagnosticsStatus */
enum ns2__DiagnosticsStatus
{
ns2__DiagnosticsStatus__Uploaded = 0,
ns2__DiagnosticsStatus__UploadFailed = 1
};
#endif
/* Service.h:514 */
#ifndef SOAP_TYPE_ns2__DataTransferStatus
#define SOAP_TYPE_ns2__DataTransferStatus (59)
/* ns2:DataTransferStatus */
enum ns2__DataTransferStatus
{
ns2__DataTransferStatus__Accepted = 0,
ns2__DataTransferStatus__Rejected = 1,
ns2__DataTransferStatus__UnknownMessageId = 2,
ns2__DataTransferStatus__UnknownVendorId = 3
};
#endif
/* wsa5.h:94 */
#ifndef SOAP_TYPE_wsa5__RelationshipType
#define SOAP_TYPE_wsa5__RelationshipType (137)
/* wsa5:RelationshipType */
enum wsa5__RelationshipType
{
http_x003a_x002f_x002fwww_x002ew3_x002eorg_x002f2005_x002f08_x002faddressing_x002freply = 0
};
#endif
/* wsa5.h:102 */
#ifndef SOAP_TYPE_wsa5__FaultCodesType
#define SOAP_TYPE_wsa5__FaultCodesType (138)
/* wsa5:FaultCodesType */
enum wsa5__FaultCodesType
{
wsa5__InvalidAddressingHeader = 0,
wsa5__InvalidAddress = 1,
wsa5__InvalidEPR = 2,
wsa5__InvalidCardinality = 3,
wsa5__MissingAddressInEPR = 4,
wsa5__DuplicateMessageID = 5,
wsa5__ActionMismatch = 6,
wsa5__MessageAddressingHeaderRequired = 7,
wsa5__DestinationUnreachable = 8,
wsa5__ActionNotSupported = 9,
wsa5__EndpointUnavailable = 10
};
#endif
/* wsa5.h:252 */
#ifndef SOAP_TYPE__wsa5__IsReferenceParameter
#define SOAP_TYPE__wsa5__IsReferenceParameter (157)
/* wsa5:IsReferenceParameter */
enum _wsa5__IsReferenceParameter
{
_wsa5__IsReferenceParameter__false = 0,
_wsa5__IsReferenceParameter__true = 1
};
#endif
/******************************************************************************\
* *
* Types with Custom Serializers *
* *
\******************************************************************************/
/******************************************************************************\
* *
* Classes, Structs, and Unions *
* *
\******************************************************************************/
class ns1__ReserveNowRequest; /* Service.h:153 */
class ns1__ReserveNowResponse; /* Service.h:156 */
class ns2__IdTagInfo; /* Service.h:159 */
class ns2__AuthorizeRequest; /* Service.h:162 */
class ns2__AuthorizeResponse; /* Service.h:165 */
class ns2__StartTransactionRequest; /* Service.h:168 */
class ns2__StartTransactionResponse; /* Service.h:171 */
class ns2__TransactionData; /* Service.h:174 */
class ns2__StopTransactionRequest; /* Service.h:177 */
class ns2__StopTransactionResponse; /* Service.h:180 */
class ns2__HeartbeatRequest; /* Service.h:183 */
class ns2__HeartbeatResponse; /* Service.h:186 */
class _ns2__MeterValue_value; /* Service.h:859 */
class ns2__MeterValue; /* Service.h:189 */
class ns2__MeterValuesRequest; /* Service.h:192 */
class ns2__MeterValuesResponse; /* Service.h:195 */
class ns2__BootNotificationRequest; /* Service.h:198 */
class ns2__BootNotificationResponse; /* Service.h:201 */
class ns2__StatusNotificationRequest; /* Service.h:204 */
class ns2__StatusNotificationResponse; /* Service.h:207 */
class ns2__FirmwareStatusNotificationRequest; /* Service.h:210 */
class ns2__FirmwareStatusNotificationResponse; /* Service.h:213 */
class ns2__DiagnosticsStatusNotificationRequest; /* Service.h:216 */
class ns2__DiagnosticsStatusNotificationResponse; /* Service.h:219 */
class ns2__DataTransferRequest; /* Service.h:222 */
class ns2__DataTransferResponse; /* Service.h:225 */
struct __ns1__ReserveNow; /* Service.h:1494 */
struct __ns2__Authorize; /* Service.h:1582 */
struct __ns2__StartTransaction; /* Service.h:1652 */
struct __ns2__StopTransaction; /* Service.h:1722 */
struct __ns2__Heartbeat; /* Service.h:1792 */
struct __ns2__MeterValues; /* Service.h:1862 */
struct __ns2__BootNotification; /* Service.h:1932 */
struct __ns2__StatusNotification; /* Service.h:2002 */
struct __ns2__FirmwareStatusNotification; /* Service.h:2072 */
struct __ns2__DiagnosticsStatusNotification; /* Service.h:2142 */
struct __ns2__DataTransfer; /* Service.h:2212 */
struct wsa5__EndpointReferenceType; /* wsa5.h:63 */
struct wsa5__ReferenceParametersType; /* wsa5.h:66 */
struct wsa5__MetadataType; /* wsa5.h:69 */
struct wsa5__ProblemActionType; /* wsa5.h:84 */
struct wsa5__RelatesToType; /* wsa5.h:72 */
struct chan__ChannelInstanceType; /* wsa5.h:258 */
/* Service.h:153 */
#ifndef SOAP_TYPE_ns1__ReserveNowRequest
#define SOAP_TYPE_ns1__ReserveNowRequest (11)
/* ns1:ReserveNowRequest complex type: */
class SOAP_CMAC ns1__ReserveNowRequest
{
public:
int connectorId; /* required element of XSD type xsd:int */
time_t expiryDate; /* required element of XSD type xsd:dateTime */
int reservationId; /* required element of XSD type xsd:int */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns1__ReserveNowRequest (11)
virtual int soap_type(void) const { return 11; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns1__ReserveNowRequest, default initialized and not managed by a soap context
virtual ns1__ReserveNowRequest *soap_alloc(void) const { return SOAP_NEW(ns1__ReserveNowRequest); }
ns1__ReserveNowRequest() { ns1__ReserveNowRequest::soap_default(NULL); }
virtual ~ns1__ReserveNowRequest() { }
friend SOAP_FMAC1 ns1__ReserveNowRequest * SOAP_FMAC2 soap_instantiate_ns1__ReserveNowRequest(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:156 */
#ifndef SOAP_TYPE_ns1__ReserveNowResponse
#define SOAP_TYPE_ns1__ReserveNowResponse (12)
/* ns1:ReserveNowResponse complex type: */
class SOAP_CMAC ns1__ReserveNowResponse
{
public:
enum ns1__ReserveStatus status; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of XSD type ns1:ReserveStatus */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns1__ReserveNowResponse (12)
virtual int soap_type(void) const { return 12; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns1__ReserveNowResponse, default initialized and not managed by a soap context
virtual ns1__ReserveNowResponse *soap_alloc(void) const { return SOAP_NEW(ns1__ReserveNowResponse); }
ns1__ReserveNowResponse() { ns1__ReserveNowResponse::soap_default(NULL); }
virtual ~ns1__ReserveNowResponse() { }
friend SOAP_FMAC1 ns1__ReserveNowResponse * SOAP_FMAC2 soap_instantiate_ns1__ReserveNowResponse(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:159 */
#ifndef SOAP_TYPE_ns2__IdTagInfo
#define SOAP_TYPE_ns2__IdTagInfo (13)
/* ns2:IdTagInfo complex type: */
class SOAP_CMAC ns2__IdTagInfo
{
public:
enum ns2__AuthorizationStatus status; /* required element of XSD type ns2:AuthorizationStatus */
time_t *expiryDate; /* optional element of XSD type xsd:dateTime */
std::string *parentIdTag; /* optional element of XSD type ns2:IdToken */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__IdTagInfo (13)
virtual int soap_type(void) const { return 13; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns2__IdTagInfo, default initialized and not managed by a soap context
virtual ns2__IdTagInfo *soap_alloc(void) const { return SOAP_NEW(ns2__IdTagInfo); }
ns2__IdTagInfo() { ns2__IdTagInfo::soap_default(NULL); }
virtual ~ns2__IdTagInfo() { }
friend SOAP_FMAC1 ns2__IdTagInfo * SOAP_FMAC2 soap_instantiate_ns2__IdTagInfo(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:162 */
#ifndef SOAP_TYPE_ns2__AuthorizeRequest
#define SOAP_TYPE_ns2__AuthorizeRequest (14)
/* ns2:AuthorizeRequest complex type: */
class SOAP_CMAC ns2__AuthorizeRequest
{
public:
std::string idTag; /* required element of XSD type ns2:IdToken */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__AuthorizeRequest (14)
virtual int soap_type(void) const { return 14; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns2__AuthorizeRequest, default initialized and not managed by a soap context
virtual ns2__AuthorizeRequest *soap_alloc(void) const { return SOAP_NEW(ns2__AuthorizeRequest); }
ns2__AuthorizeRequest() { ns2__AuthorizeRequest::soap_default(NULL); }
virtual ~ns2__AuthorizeRequest() { }
friend SOAP_FMAC1 ns2__AuthorizeRequest * SOAP_FMAC2 soap_instantiate_ns2__AuthorizeRequest(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:165 */
#ifndef SOAP_TYPE_ns2__AuthorizeResponse
#define SOAP_TYPE_ns2__AuthorizeResponse (15)
/* ns2:AuthorizeResponse complex type: */
class SOAP_CMAC ns2__AuthorizeResponse
{
public:
ns2__IdTagInfo *idTagInfo; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of XSD type ns2:IdTagInfo */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__AuthorizeResponse (15)
virtual int soap_type(void) const { return 15; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns2__AuthorizeResponse, default initialized and not managed by a soap context
virtual ns2__AuthorizeResponse *soap_alloc(void) const { return SOAP_NEW(ns2__AuthorizeResponse); }
ns2__AuthorizeResponse() { ns2__AuthorizeResponse::soap_default(NULL); }
virtual ~ns2__AuthorizeResponse() { }
friend SOAP_FMAC1 ns2__AuthorizeResponse * SOAP_FMAC2 soap_instantiate_ns2__AuthorizeResponse(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:168 */
#ifndef SOAP_TYPE_ns2__StartTransactionRequest
#define SOAP_TYPE_ns2__StartTransactionRequest (16)
/* ns2:StartTransactionRequest complex type: */
class SOAP_CMAC ns2__StartTransactionRequest
{
public:
int connectorId; /* required element of XSD type xsd:int */
std::string idTag; /* required element of XSD type ns2:IdToken */
time_t timestamp; /* required element of XSD type xsd:dateTime */
int meterStart; /* required element of XSD type xsd:int */
int *reservationId; /* optional element of XSD type xsd:int */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__StartTransactionRequest (16)
virtual int soap_type(void) const { return 16; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns2__StartTransactionRequest, default initialized and not managed by a soap context
virtual ns2__StartTransactionRequest *soap_alloc(void) const { return SOAP_NEW(ns2__StartTransactionRequest); }
ns2__StartTransactionRequest() { ns2__StartTransactionRequest::soap_default(NULL); }
virtual ~ns2__StartTransactionRequest() { }
friend SOAP_FMAC1 ns2__StartTransactionRequest * SOAP_FMAC2 soap_instantiate_ns2__StartTransactionRequest(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:171 */
#ifndef SOAP_TYPE_ns2__StartTransactionResponse
#define SOAP_TYPE_ns2__StartTransactionResponse (17)
/* ns2:StartTransactionResponse complex type: */
class SOAP_CMAC ns2__StartTransactionResponse
{
public:
int transactionId; /* SOAP 1.2 RPC return element (when namespace qualified) */ /* required element of XSD type xsd:int */
ns2__IdTagInfo *idTagInfo; /* required element of XSD type ns2:IdTagInfo */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__StartTransactionResponse (17)
virtual int soap_type(void) const { return 17; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns2__StartTransactionResponse, default initialized and not managed by a soap context
virtual ns2__StartTransactionResponse *soap_alloc(void) const { return SOAP_NEW(ns2__StartTransactionResponse); }
ns2__StartTransactionResponse() { ns2__StartTransactionResponse::soap_default(NULL); }
virtual ~ns2__StartTransactionResponse() { }
friend SOAP_FMAC1 ns2__StartTransactionResponse * SOAP_FMAC2 soap_instantiate_ns2__StartTransactionResponse(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:174 */
#ifndef SOAP_TYPE_ns2__TransactionData
#define SOAP_TYPE_ns2__TransactionData (18)
/* ns2:TransactionData complex type: */
class SOAP_CMAC ns2__TransactionData
{
public:
std::vector<ns2__MeterValue *> values; /* optional element of XSD type ns2:MeterValue */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__TransactionData (18)
virtual int soap_type(void) const { return 18; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;
/// Output object in XML, compliant with SOAP 1.1 encoding style, return error code or SOAP_OK
virtual int soap_put(struct soap*, const char *tag, const char *type) const;
/// Output object in XML, with tag and optional id attribute and xsi:type, return error code or SOAP_OK
virtual int soap_out(struct soap*, const char *tag, int id, const char *type) const;
/// Get object from XML, compliant with SOAP 1.1 encoding style, return pointer to object or NULL on error
virtual void *soap_get(struct soap*, const char *tag, const char *type);
/// Get object from XML, with matching tag and type (NULL matches any tag and type), return pointer to object or NULL on error
virtual void *soap_in(struct soap*, const char *tag, const char *type);
/// Return a new object of type ns2__TransactionData, default initialized and not managed by a soap context
virtual ns2__TransactionData *soap_alloc(void) const { return SOAP_NEW(ns2__TransactionData); }
ns2__TransactionData() { ns2__TransactionData::soap_default(NULL); }
virtual ~ns2__TransactionData() { }
friend SOAP_FMAC1 ns2__TransactionData * SOAP_FMAC2 soap_instantiate_ns2__TransactionData(struct soap*, int, const char*, const char*, size_t*);
};
#endif
/* Service.h:177 */
#ifndef SOAP_TYPE_ns2__StopTransactionRequest
#define SOAP_TYPE_ns2__StopTransactionRequest (19)
/* ns2:StopTransactionRequest complex type: */
class SOAP_CMAC ns2__StopTransactionRequest
{
public:
int transactionId; /* required element of XSD type xsd:int */
std::string *idTag; /* optional element of XSD type ns2:IdToken */
time_t timestamp; /* required element of XSD type xsd:dateTime */
int meterStop; /* required element of XSD type xsd:int */
std::vector<ns2__TransactionData *> transactionData; /* optional element of XSD type ns2:TransactionData */
struct soap *soap; /* transient (not serialized) */
public:
/// Return the unique type ID value SOAP_TYPE_ns2__StopTransactionRequest (19)
virtual int soap_type(void) const { return 19; }
/// Set object's data members to default values
virtual void soap_default(struct soap*);
/// Serialize object to prepare for SOAP 1.1/1.2 encoded output (or with SOAP_XML_GRAPH) by analyzing its (cyclic) structures
virtual void soap_serialize(struct soap*) const;