ISLEman
Classes | Public Member Functions | Static Public Member Functions | Friends | List of all members
TemplateList Class Reference

Default implementation of a context value of type list. More...

#include <template.h>

Inheritance diagram for TemplateList:
TemplateListIntf

Classes

class  Private
 Private data of a template list object. More...
 

Public Member Functions

virtual int count () const
 Returns the number of elements in the list.
 
virtual TemplateVariant at (int index) const
 Returns the element at index position index. More...
 
virtual TemplateListIntf::ConstIteratorcreateIterator () const
 Creates a new iterator for this list. More...
 
virtual int addRef ()
 Increase object's reference count.
 
virtual int release ()
 Decreases object's referenc count, destroy object if 0.
 
virtual void append (const TemplateVariant &v)
 Appends element v to the end of the list.
 
- Public Member Functions inherited from TemplateListIntf
virtual ~TemplateListIntf ()
 Destroys the list.
 

Static Public Member Functions

static TemplateListalloc ()
 Creates an instance with ref count set to 0.
 

Friends

class TemplateListConstIterator
 

Detailed Description

Default implementation of a context value of type list.

Member Function Documentation

§ at()

TemplateVariant TemplateList::at ( int  index) const
virtual

Returns the element at index position index.

Implements TemplateListIntf.

§ createIterator()

TemplateListIntf::ConstIterator * TemplateList::createIterator ( ) const
virtual

Creates a new iterator for this list.

Note
the user should call delete on the returned pointer.

Implements TemplateListIntf.


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