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: AbstractElementImpl, All, Choice, CollectionContent, Sequence, AbstractGroup, Element, GroupRef, ElementImpl, ElementRef, ElementTypeRef, OrderContent, Any, Group, Order

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.