Poco::XSD::Types

class Annotation

File Information

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

Description

This class represents an Annotation in an XML Schema.

Inheritance

Direct Base Classes: Visitable

All Base Classes: Poco::RefCountedObject, Visitable

Member Summary

Member Functions: accept, annotationContent, id, operator =, swap

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

Types Aliases

Ptr

using Ptr = Poco::AutoPtr < Annotation >;

Constructors

Annotation

Annotation(
    const std::string & id
);

Creates the Annotation.

Annotation

Annotation(
    const Annotation & ann
);

Copy constructor

Destructor

~Annotation virtual

~Annotation();

Destroys the Annotation.

Member Functions

accept virtual

void accept(
    Visitor & v
) const;

annotationContent inline

const std::vector < AnnotationContent::Ptr > & annotationContent() const;

Returns the annotation content read-only

annotationContent

std::vector < AnnotationContent::Ptr > & annotationContent();

Returns the annotation content writable

id inline

const std::string & id() const;

Returns the id

operator =

Annotation & operator = (
    const Annotation & ann
);

Assignement operator

swap

void swap(
    Annotation & ann
);

Swap implementation

Securely control IoT edge devices from anywhere   Connect a Device