Poco::XSD::Types

class Content

Library: XSD/Types
Package: XSDTypes
Header: Poco/XSD/Types/Content.h

Description

Super class for all different types of Content that can be stored in a ComplexType.

Inheritance

Direct Base Classes: AnnotatedObject

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

Known Derived Classes: AbstractGroup, All, Choice, CollectionContent, ElementImpl, Group, Order, ElementRef, OrderContent, GroupRef, AbstractElementImpl, Any, Element, ElementTypeRef, Sequence

Member Summary

Member Functions: fixup, iterator, types

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

Types

Ptr

typedef AutoPtr < Content > Ptr;

Constructors

Content

Content();

Creates the Content.

Content

Content(
    const std::string & id
);

Creates the Content.

Destructor

~Content virtual

virtual ~Content();

Destroys the Content.

Member Functions

fixup virtual

virtual void fixup() = 0;

Resolves references to actual types.

iterator virtual

virtual OrderIterator iterator() const = 0;

Creates an iterator for the given order type.

types virtual

virtual const std::vector < const Type * > & types() const = 0;

Returns the type referenced by the content. Can be null.