Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
MutableAbstractCollection< T > Class Template Referenceabstract

#include <elm/dyndata/AbstractCollection.h>

+ Inheritance diagram for MutableAbstractCollection< T >:

Public Member Functions

virtual ~MutableAbstractCollection (void)
 
virtual void clear (void)=0
 
virtual void add (const T &item)=0
 
virtual void addAll (const AbstractCollection< T > &items)=0
 
virtual void remove (const T &item)=0
 
virtual void removeAll (const AbstractCollection< T > &items)=0
 
virtual void remove (const Iter< T > &iter)=0
 
- Public Member Functions inherited from AbstractCollection< T >
virtual ~AbstractCollection (void)
 
virtual int count (void)=0
 
virtual bool contains (const T &item) const =0
 
virtual bool isEmpty (void) const =0
 
 operator bool (void) const
 
virtual Iter< T > items (void) const =0
 
Iter< T > operator* (void) const
 

Detailed Description

template<class T>
class elm::dyndata::MutableAbstractCollection< T >

Provide interface in Dynamic Data module implementing the concept::MutableCollection concept.

Parameters
TType of values in the collection.

Constructor & Destructor Documentation

◆ ~MutableAbstractCollection()

virtual ~MutableAbstractCollection ( void  )
inlinevirtual

Member Function Documentation

◆ add()

virtual void add ( const T &  item)
pure virtual

Implemented in MutableCollection< T, C >.

◆ addAll()

virtual void addAll ( const AbstractCollection< T > &  items)
pure virtual

Implemented in MutableCollection< T, C >.

◆ clear()

virtual void clear ( void  )
pure virtual

Implemented in MutableCollection< T, C >.

◆ remove() [1/2]

virtual void remove ( const Iter< T > &  iter)
pure virtual

Implemented in MutableCollection< T, C >.

◆ remove() [2/2]

virtual void remove ( const T &  item)
pure virtual

Implemented in MutableCollection< T, C >.

◆ removeAll()

virtual void removeAll ( const AbstractCollection< T > &  items)
pure virtual

Implemented in MutableCollection< T, C >.


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