Lumiera  0.pre.03
»edit your freedom«
RefArrayVectorWrapper< B, IM > Class Template Reference

#include "lib/ref-array-impl.hpp"

Description

template<class B, class IM = B>
class lib::RefArrayVectorWrapper< B, IM >

Wrap a vector holding objects of a subtype and provide array-like access using the interface type.

Definition at line 60 of file ref-array-impl.hpp.

Public Member Functions

 RefArrayVectorWrapper (Tab toWrap)
 
virtual B const & operator[] (size_t i) const
 
virtual size_t size () const
 
- Public Member Functions inherited from RefArray< B >
virtual ~RefArray ()
 this is an interface
 

Private Types

typedef vector< IM > const & Tab
 

Private Attributes

Tab table_
 
+ Inheritance diagram for RefArrayVectorWrapper< B, IM >:
+ Collaboration diagram for RefArrayVectorWrapper< B, IM >:

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