scfArrayWrapConst< IF, Backend > Class Template Reference
[Containers]
Implementation for iArrayReadOnly<>-derived interfaces, backed by a reference to another array.
More...
#include <csutil/scfarray.h>
Inherits scfImplementation1<scfArrayWrapConst<IF, Backend>, IF>.
Public Member Functions | |
iArrayReadOnly<> implementation | |
| virtual size_t | Find (ContainedType const &which) const |
| virtual ContainedType const & | Get (size_t n) const |
| virtual void | GetAll (ContainedType *dest) const |
| virtual size_t | GetIndex (const ContainedType *which) const |
| virtual size_t | GetSize () const |
| virtual bool | IsEmpty () const |
| virtual ContainedType const & | Top () const |
| scfArrayWrapConst (const Backend &storage, iBase *scfParent) | |
| Initialize with a reference to the given storage. | |
| scfArrayWrapConst (const Backend &storage) | |
| Initialize with a reference to the given storage. | |
Public Attributes | |
| const Backend & | storage |
| Reference to the array storage. | |
Detailed Description
template<typename IF, typename Backend>
class scfArrayWrapConst< IF, Backend >
Implementation for iArrayReadOnly<>-derived interfaces, backed by a reference to another array.
The IF template parameter denotes the array interface to be implemented, the Backend template parameter the array type used for storage.
- Warning:
- It must be ensured that the referenced array used for storage is alive as long as any instance of scfArrayWrap exists!
Definition at line 239 of file scfarray.h.
Constructor & Destructor Documentation
template<typename IF, typename Backend>
| scfArrayWrapConst< IF, Backend >::scfArrayWrapConst | ( | const Backend & | storage | ) | [inline] |
template<typename IF, typename Backend>
| scfArrayWrapConst< IF, Backend >::scfArrayWrapConst | ( | const Backend & | storage, | |
| iBase * | scfParent | |||
| ) | [inline] |
Member Data Documentation
template<typename IF, typename Backend>
| const Backend& scfArrayWrapConst< IF, Backend >::storage |
The documentation for this class was generated from the following file:
- csutil/scfarray.h
Generated for Crystal Space 1.4.0 by doxygen 1.5.8
