Drive Engine  1.0.0
Plateforme de reconstruction 3D
DriveEngine::IImageList Class Referenceabstract

Interface of list of images. More...

#include <IImageList.h>

Inheritance diagram for DriveEngine::IImageList:
DriveEngine::IList DriveEngine::ICollection IExportable DriveEngine::DefaultImageList

Public Member Functions

virtual IImageGetIImage (Index index) const =0
 Gets a image. More...
 
virtual void Add (IImage &image)=0
 Adds a image. More...
 
virtual void Remove (IImage &image)=0
 Removes a image. More...
 
- Public Member Functions inherited from DriveEngine::IList
virtual IExportableGetElement (Index index) const =0
 Gets an element. More...
 
virtual const IExportableGetConstElement (Index index) const =0
 Gets a constant element. More...
 
virtual void Add (IExportable &element)=0
 Adds an element. More...
 
virtual void Remove (IExportable &element)=0
 Removes an element. More...
 
virtual void AddList (const IList &list)=0
 Adds every element of a list. More...
 
virtual void RemoveList (const IList &list)=0
 Remove every element of a list. More...
 
- Public Member Functions inherited from DriveEngine::ICollection
virtual Size GetSize () const =0
 Gets the size, that is the number of elements contained in the collection. More...
 
virtual bool IsEmpty () const =0
 Verify if the collection is empty. More...
 
virtual IEnumeratorGetEnumerator () const =0
 Gets an enumerator. More...
 
virtual IConstEnumeratorGetConstEnumerator () const =0
 Gets a constant enumerator. More...
 
virtual void Clear ()=0
 Remove every element contained in the collection. More...
 
- Public Member Functions inherited from IExportable
virtual void Delete () const =0
 Deletes the current object. Needed for memory management. More...
 

Detailed Description

Interface of list of images.

Member Function Documentation

virtual void DriveEngine::IImageList::Add ( IImage image)
pure virtual

Adds a image.

If the image already exist, replace it.

Exception safety : Strong exception safety. This member function throws exceptions.

Parameters
imageThe image to add. It must not be null.
virtual IImage* DriveEngine::IImageList::GetIImage ( Index  index) const
pure virtual

Gets a image.

Exception safety : Strong exception safety. This member function throws exceptions.

Parameters
indexThe image name.
Returns
Return the image. If the index doesn't exist, return a null pointer.
virtual void DriveEngine::IImageList::Remove ( IImage image)
pure virtual

Removes a image.

Ignore it if it is not contained in the list.

Exception safety : Strong exception safety. This member function throws exceptions.

Parameters
imageThe image to remove. It must not be null.

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