Library: XSD/Types
Package: Visitor
Header: Poco/XSD/Types/Visitable.h
Interface class Visitable, used to implement visitor pattern.
Direct Base Classes: Poco::RefCountedObject
All Base Classes: Poco::RefCountedObject
Known Derived Classes: AbstractAttribute, AbstractAttributeGroup, AbstractGroup, AbstractElementImpl, All, AbstractList, AnyAttribute, AnnotatedObject, AnnotationContent, Annotation, Any, Attribute, AttributeContent, AppInfo, AttributeGroupRef, AttributeGroup, AttributeTypeRef, AttributeRef, Choice, Binding, Content, CollectionContent, ComplexType, Definitions, Documentation, Element, ElementImpl, ElementRef, ElementTypeRef, GroupRef, InheritanceInfo, Group, Message, ListTypeRef, List, Notation, Order, Operation, OrderContent, PortType, Schema, Sequence, Service, SimpleRestriction, SimpleRestrictionInlineType, SimpleType, SimpleTypeInheritance, Type, Union
Inherited Functions: duplicate, referenceCount, release
Visitable();
Creates the Visitable.
Visitable(
const std::string & id
);
Creates the Visitable with the given ID.
virtual ~Visitable();
Destroys the Visitable.
virtual void accept(
Visitor & v
) const = 0;
Implements the visitor pattern. Each subclass must implement it as v.visit(*this);
const std::string & id() const;
Returns the id of the object