Poco::XSD::Parser

class Utility

File Information

Library: XSD/Parser
Package: XSDParser
Header: Poco/XSD/Parser/Utility.h

Description

Utility class, used to extract attribute values.

Member Summary

Member Functions: getAnyAttrProcessStyle, getAnyProcessStyle, getAttrUsage, getBlock, getBool, getFinal, getFinalDefault, getMaxOccurs, getMinOccurs, getQualified, getSimpleTypeFinal, getString

Constructors

Destructor

~Utility protected

~Utility();

Member Functions

getAnyAttrProcessStyle static

static Poco::XSD::Types::AnyAttribute::ProcessStyle getAnyAttrProcessStyle(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr
);

getAnyProcessStyle static

static Poco::XSD::Types::Any::ProcessStyle getAnyProcessStyle(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr
);

getAttrUsage static

static Poco::XSD::Types::AbstractAttribute::Usage getAttrUsage(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    Poco::XSD::Types::AbstractAttribute::Usage def
);

getBlock static

static void getBlock(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    bool & blockRestriction,
    bool & blockExtension,
    bool & blockSubstitution
);

if itAttr == itEnd, blockRestriction and blockExtension and blockSubstitution will not be changed!

getBool static inline

static bool getBool(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    bool defaultValue
);

getFinal static

static void getFinal(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    bool & finalRestriction,
    bool & finalExtension
);

if itAttr == itEnd, finalRestriction and finalExtension will not be changed!

getFinalDefault static

static void getFinalDefault(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    bool & finalRestriction,
    bool & finalExtension,
    bool & finalList,
    bool & finalUnion
);

getMaxOccurs static

static Poco::UInt32 getMaxOccurs(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr
);

getMinOccurs static

static Poco::UInt32 getMinOccurs(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr
);

getQualified static inline

static bool getQualified(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    bool defaultValue
);

getSimpleTypeFinal static

static void getSimpleTypeFinal(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    bool & finalRestriction,
    bool & finalList,
    bool & finalUnion
);

if itAttr == itEnd, finalRestriction, finalUnion and finalList will not be changed!

getString static inline

static const std::string & getString(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr,
    const std::string & defaultValue
);

For optional string attributes

getString static

static const std::string & getString(
    const CompactAttributes::const_iterator & itEnd,
    const CompactAttributes::const_iterator & itAttr
);

For mandatory attributes

Securely control IoT edge devices from anywhere   Connect a Device