c_str_ptr_CWnd_proxy Class Reference
[String Access Shims]

#include <mfcstl/shims/access/string/cwnd.hpp>

List of all members.


Detailed Description

This class provides an intermediary object that may be returned by the c_str_ptr() function, such that the window text of a given window may be accessed as a null-terminated string.

Public Member Functions

template<typename W>
 c_str_ptr_CWnd_proxy (W const &w)
 Constructs an instance of the proxy from the given CWnd instance.
 c_str_ptr_CWnd_proxy (class_type const &rhs)
 ~c_str_ptr_CWnd_proxy () throw ()
 Releases any storage aquired by the proxy.
 operator LPCTSTR () const
 Returns a null-terminated string representing the window contents, or the empty string "" if the window contains no text.

Constructor & Destructor Documentation

c_str_ptr_CWnd_proxy ( W const &  w  )  [inline]

Constructs an instance of the proxy from the given CWnd instance.

Parameters:
w The CWnd instance from which the text will be retrieved

~c_str_ptr_CWnd_proxy (  )  throw () [inline]

Releases any storage aquired by the proxy.


Member Function Documentation

operator LPCTSTR (  )  const [inline]

Returns a null-terminated string representing the window contents, or the empty string "" if the window contains no text.


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

Generated on Thu Jun 10 08:58:32 2010 for STLSoft by  doxygen 1.5.6