Poco::XSD::Types

class Visitable

File Information

Library: XSD/Types
Package: Visitor
Header: Poco/XSD/Types/Visitable.h

Description

Interface class Visitable, used to implement visitor pattern.

Inheritance

Direct Base Classes: Poco::RefCountedObject

All Base Classes: Poco::RefCountedObject

Known Derived Classes: ElementTypeRef, ListTypeRef, OrderContent, SimpleRestrictionInlineType, AttributeContent, AnnotatedObject, Binding, CollectionContent, List, Schema, Any, All, AttributeRef, Order, SimpleTypeInheritance, AbstractAttributeGroup, ElementRef, Group, Operation, Type, Attribute, ComplexType, Content, Message, PortType, Sequence, Union, AbstractElementImpl, Annotation, AbstractGroup, AttributeGroup, AttributeGroupRef, AttributeTypeRef, InheritanceInfo, Definitions, Documentation, Element, SimpleType, AnnotationContent, ElementImpl, Service, AbstractAttribute, AbstractList, AnyAttribute, AppInfo, GroupRef, Choice, Notation, SimpleRestriction

Member Summary

Member Functions: accept, id

Inherited Functions: duplicate, referenceCount, release

Constructors

Visitable

Visitable();

Creates the Visitable.

Visitable

Visitable(
    const std::string & id
);

Creates the Visitable with the given ID.

Destructor

~Visitable virtual

virtual ~Visitable();

Destroys the Visitable.

Member Functions

accept virtual

virtual void accept(
    Visitor & v
) const = 0;

Implements the visitor pattern. Each subclass must implement it as v.visit(*this);

id inline

const std::string & id() const;

Returns the id of the object

Securely control IoT edge devices from anywhere   Connect a Device