Public Member Functions | Protected Attributes | List of all members
zorba::Annotation Class Referenceabstract

#include <zorba/annotation.h>

Inheritance diagram for zorba::Annotation:
Inheritance graph
[legend]
Collaboration diagram for zorba::Annotation:
Collaboration graph
[legend]

Public Member Functions

void addReference () const
 
virtual void free ()
 
virtual Item getLiteral (unsigned int i) const =0
 Returns the requested literal. More...
 
virtual unsigned int getLiteralsCount () const =0
 Returns the number of literals that are associated with the annotation, e.g. More...
 
virtual Item getQName () const =0
 Returns the QName of the annotation. More...
 
long getRefCount () const
 
void removeReference ()
 
virtual ~Annotation ()
 Destructor. More...
 

Protected Attributes

unsigned int theRefCount
 

Detailed Description

Definition at line 25 of file annotation.h.

Constructor & Destructor Documentation

virtual zorba::Annotation::~Annotation ( )
inlinevirtual

Destructor.

Definition at line 30 of file annotation.h.

Member Function Documentation

void zorba::SmartObject::addReference ( ) const
inlineinherited

Definition at line 40 of file smart_ptr.h.

virtual void zorba::SmartObject::free ( )
virtualinherited
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
inlineinherited

Definition at line 38 of file smart_ptr.h.

void zorba::SmartObject::removeReference ( )
inlineinherited

Definition at line 42 of file smart_ptr.h.

Member Data Documentation

unsigned int zorba::SmartObject::theRefCount
mutableprotectedinherited

Definition at line 27 of file smart_ptr.h.


The documentation for this class was generated from the following file: