c_str_ptr_null_CWindow_proxy Struct Reference
[String Access Shims]

#include <atlstl/shims/access/string/cwindow.hpp>

List of all members.


Detailed Description

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

Public Member Functions

 c_str_ptr_null_CWindow_proxy (CWindow const &w)
 Constructs an instance of the proxy from the given CWindow instance.
 c_str_ptr_null_CWindow_proxy (class_type const &rhs)
 ~c_str_ptr_null_CWindow_proxy () throw ()
 Releases any storage aquired by the proxy.
 operator LPCTSTR () const
 Returns a null-terminated string representing the window contents, or NULL if the window contains no text.

Constructor & Destructor Documentation

c_str_ptr_null_CWindow_proxy ( CWindow const &  w  )  [inline, explicit]

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

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

~c_str_ptr_null_CWindow_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 NULL if the window contains no text.


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

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