Poco::XSD::Types

class List

File Information

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

Description

class List that references an existing item type.

Inheritance

Direct Base Classes: AbstractList

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

Member Summary

Member Functions: accept, fixup, setType, types

Inherited Functions: accept, addAnnotation, duplicate, fixup, getAnnotations, id, isList, isRestriction, isUnion, referenceCount, release, types

Types

Ptr

typedef AutoPtr < List > Ptr;

Constructors

List

List(
    const std::string & id
);

Creates the List.

Destructor

~List virtual

virtual ~List();

Destroys the List.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

fixup virtual

void fixup();

Replaces type references with the referenced type object.

setType

void setType(
    SimpleType::Ptr pSimple
);

Sets the simple type.

types virtual inline

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

Returns the type that we inherit from.