tbx  0.7.3
Public Member Functions | List of all members
tbx::view::IndexItemViewStringValue< C > Class Template Reference

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

#include <stringviewvalue.h>

Inheritance diagram for tbx::view::IndexItemViewStringValue< C >:
tbx::view::ItemViewStringValue tbx::view::ItemViewValue< std::string >

Public Member Functions

 IndexItemViewStringValue (const C &collection)
 Construct with collection to index.
 
virtual std::string value (unsigned int index) const
 Return value for given index.
 

Detailed Description

template<class C>
class tbx::view::IndexItemViewStringValue< C >

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

C is the collection to return it from The collection items are converted to a string using the tbx::to_string method


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