listview_inserter Struct Template Reference
[Windows Controls Library]

#include <winstl/controls/commctrl_functionals.hpp>

Inheritance diagram for listview_inserter:

unary_function_output_iterator_adaptor

List of all members.


Detailed Description

template<bool BACK = true>
struct winstl::listview_inserter< BACK >

A function class used to insert items into list views.

Public Types

enum  { image_none = -2 }
typedef listview_inserter class_type
 This type.

Public Member Functions

 listview_inserter (HWND hwndListview, int iImage=image_none)
 Construct with the target list-view window.
 listview_inserter (class_type const &rhs)
template<typename S>
int operator() (S const &s)
 Function call operator taking the item string.
int operator() (char const *s)
 Function call operator taking the item string.
int operator() (wchar_t const *s)
 Function call operator taking the item string.

Member Typedef Documentation

This type.

Reimplemented from unary_function_output_iterator_adaptor.


Constructor & Destructor Documentation

listview_inserter ( HWND  hwndListview,
int  iImage = image_none 
) [inline, explicit]

Construct with the target list-view window.


Member Function Documentation

int operator() ( S const &  s  )  [inline]

Function call operator taking the item string.

References stlsoft_ns_qual.

int operator() ( char const *  s  )  [inline]

Function call operator taking the item string.

int operator() ( wchar_t const *  s  )  [inline]

Function call operator taking the item string.


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

Generated on Thu Jun 10 08:59:16 2010 for STLSoft by  doxygen 1.5.6