tbx
0.7.6
|
Convenience template to return a member of the class in a collection of pointers as the value for a view. More...
#include <viewvalue.h>
Public Member Functions | |
MethodItemPtrViewValue (C *collection, T(I::*method)() const) | |
Construct for the given collection with the given data retrieval method. | |
virtual T | value (unsigned int index) const |
Get the value for the index by calling the method from the constructor on the object. | |
Convenience template to return a member of the class in a collection of pointers as the value for a view.
T is the type returned C is the collection to return from I is the type of the items in the collection