Poco::XSD::Types

class BindingProperties

File Information

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

Description

This class stores binding information for Operation and PortType objects.

Note: Property names should be multi-level, e.g., "soap.body.use" for the "use" attribute in the <soap:body> element.

Member Summary

Member Functions: get, has, set

Types

Map

typedef std::map < std::string, std::string > Map;

Constructors

BindingProperties

BindingProperties();

Creates the BindingProperties.

Destructor

~BindingProperties

~BindingProperties();

Destroys the BindingProperties.

Member Functions

get inline

const std::string & get(
    const std::string & name
) const;

Returns the value of the property with the given name. Throws a Poco::NotFoundException if the property has not been set.

get

const std::string & get(
    const std::string & name,
    const std::string & deflt
) const;

Returns the valuie of the property with the given name, or the given default value if the property has not been set.

has inline

bool has(
    const std::string & name
) const;

Returns true if a property with the given name has been defined.

set inline

void set(
    const std::string & name,
    const std::string & value
);

Sets a binding property.