#include <zorba/annotation.h>
Public Member Functions | |
void | addReference () const |
virtual void | free () |
virtual Item | getLiteral (unsigned int i) const =0 |
Returns the requested literal. | |
virtual unsigned int | getLiteralsCount () const =0 |
Returns the number of literals that are associated with the annotation, e.g. | |
virtual Item | getQName () const =0 |
Returns the QName of the annotation. | |
long | getRefCount () const |
void | removeReference () |
virtual | ~Annotation () |
Destructor. | |
Protected Attributes | |
unsigned int | theRefCount |
virtual zorba::Annotation::~Annotation | ( | ) | [inline, virtual] |
Destructor.
Definition at line 30 of file annotation.h.
void zorba::SmartObject::addReference | ( | ) | const [inline, inherited] |
Definition at line 40 of file smart_ptr.h.
virtual void zorba::SmartObject::free | ( | ) | [virtual, inherited] |
virtual Item zorba::Annotation::getLiteral | ( | unsigned int | i | ) | const [pure virtual] |
Returns the requested literal.
E.g. for the annotation
annotation(Literal1, Literal2, ..., LiteralN)
the function will return the i-th literal.
virtual unsigned int zorba::Annotation::getLiteralsCount | ( | ) | const [pure virtual] |
Returns the number of literals that are associated with the annotation, e.g.
for the annotation:
annotation(Literal1, Literal2, ..., LiteralN)
the function will return N.
virtual Item zorba::Annotation::getQName | ( | ) | const [pure virtual] |
Returns the QName of the annotation.
long zorba::SmartObject::getRefCount | ( | ) | const [inline, inherited] |
Definition at line 38 of file smart_ptr.h.
void zorba::SmartObject::removeReference | ( | ) | [inline, inherited] |
Definition at line 42 of file smart_ptr.h.
unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited] |
Definition at line 27 of file smart_ptr.h.