Poco::XSD::Types

class Definitions

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

Bindings

typedef std::map < std::string, Binding::Ptr > Bindings;

Messages

typedef std::map < std::string, Message::Ptr > Messages;

PortTypes

typedef std::map < std::string, PortType::Ptr > PortTypes;

Ptr

typedef Poco::AutoPtr < Definitions > Ptr;

Services

typedef std::map < std::string, Service::Ptr > Services;

Constructors

Definitions

Definitions(
    const std::string & targetNS
);

Creates the Definitions.

Destructor

~Definitions virtual

~Definitions();

Destroys the Definitions.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

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 inline

const Definitions::Bindings & bindings() const;

Returns all WSDL bindings.

messages inline

const Definitions::Messages & messages() const;

Returns all WSDL messages.

portTypes inline

const Definitions::PortTypes & portTypes() const;

Returns all WSDL port types.

services inline

const Definitions::Services & services() const;

Returns all WSDL services.

targetNamespace inline

const std::string & targetNamespace() const;

The target namespace of the WSDL.