tbx  0.7.6
Public Member Functions | List of all members
tbx::view::IndexItemViewValue< T, C > Class Template Reference

Convenience template to return an item of a collection as the value for a view. More...

#include <viewvalue.h>

Inheritance diagram for tbx::view::IndexItemViewValue< T, C >:
tbx::view::ItemViewValue< T >

Public Member Functions

 IndexItemViewValue (const C &collection)
 Construct with collection to index.
 
virtual T value (unsigned int index) const
 Return value for given index.
 

Detailed Description

template<class T, class C>
class tbx::view::IndexItemViewValue< T, C >

Convenience template to return an item of a collection as the value for a view.

T is the type to return C is the collection to return it from


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