File Information
Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Definitions.h
Description
This class represents an entire WSDL definition.
Inheritance
Direct Base Classes: AnnotatedObject
All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable
Member Summary
Member Functions: accept, addBinding, addMessage, addOperation, addPortType, addService, bindings, messages, portTypes, services, targetNamespace
Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release
Types Aliases
Bindings
using Bindings = std::map < std::string, Binding::Ptr >;
Messages
using Messages = std::map < std::string, Message::Ptr >;
PortTypes
using PortTypes = std::map < std::string, PortType::Ptr >;
Ptr
using Ptr = Poco::AutoPtr < Definitions >;
Services
using Services = std::map < std::string, Service::Ptr >;
Constructors
Definitions
Definitions(
const std::string & targetNS
);
Creates the Definitions.
Destructor
~Definitions
~Definitions();
Destroys the Definitions.
Member Functions
accept
void accept(
Visitor & v
) const;
See also: Poco::XSD::Types::Visitable::accept()
addBinding
void addBinding(
Binding::Ptr pPortType
);
Adds a WSDL binding.
addMessage
void addMessage(
Message::Ptr pMessage
);
Adds a WSDL Message.
addOperation
void addOperation(
Operation::Ptr pOperation
);
Adds a WSDL Operation.
addPortType
void addPortType(
PortType::Ptr pPortType
);
Adds a WSDL port type.
addService
void addService(
Service::Ptr pService
);
Adds a WSDL service.
bindings
const Definitions::Bindings & bindings() const;
Returns all WSDL bindings.
messages
const Definitions::Messages & messages() const;
Returns all WSDL messages.
portTypes
const Definitions::PortTypes & portTypes() const;
Returns all WSDL port types.
services
const Definitions::Services & services() const;
Returns all WSDL services.
targetNamespace
const std::string & targetNamespace() const;
The target namespace of the WSDL.