Poco::XSD::Types

class Message

Library: XSD/Types
Package: WSDL
Header: Poco/XSD/Types/Message.h

Description

This class represents a WSDL message.

Inheritance

Direct Base Classes: AnnotatedObject

All Base Classes: Poco::RefCountedObject, AnnotatedObject, Visitable

Member Summary

Member Functions: accept, addElementPart, addTypePart, name, parts, setName

Inherited Functions: accept, addAnnotation, duplicate, getAnnotations, id, referenceCount, release

Nested Classes

struct Part

 more...

Types

Parts

typedef std::vector < Part > Parts;

Ptr

typedef Poco::AutoPtr < Message > Ptr;

Constructors

Message

Message();

Creates the Message.

Message

Message(
    const std::string & name
);

Creates the Message.

Destructor

~Message virtual

~Message();

Destroys the Message.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

addElementPart

void addElementPart(
    const std::string & name,
    const Poco::XML::Name & elementName
);

Adds a new part to the message.

addTypePart

void addTypePart(
    const std::string & name,
    const Poco::XML::Name & typeName
);

Adds a new part to the message.

name inline

const std::string & name() const;

Returns the name.

parts inline

const Parts & parts() const;

Returns the message parts.

setName inline

void setName(
    const std::string & name
);

Sets the name.