CrystalSpace

Public API Reference

iArrayChangeElements< T > Struct Template Reference
[Containers]

Array interface template, elements are changeable. More...

#include <iutil/array.h>

Inheritance diagram for iArrayChangeElements< T >:

List of all members.


Detailed Description

template<typename T>
struct iArrayChangeElements< T >

Array interface template, elements are changeable.

Extents iArrayReadOnly to also support modifying the existing elements; however, new elements can not be added or existing elements removed or reordered.

This template can't be used as-is in another interface; rather, it must be derived and specialized before it can be used. Example:

 struct csBar { ... };
 struct iBarArray : public iArrayChangeElements<csBar>
 {
   SCF_IARRAYCHANGEELEMENTS_INTERFACE(iBarArray);
 };

Standard implementations for this interface are scfArray and scfArrayWrap.

Definition at line 115 of file array.h.


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

Generated for Crystal Space 2.0 by doxygen 1.6.1