c_str_ptr_null_HWND_proxy Class Template Reference
[String Access Shims]

#include <winstl/shims/access/string/HWND.hpp>

List of all members.


Detailed Description

template<typename C>
class winstl::c_str_ptr_null_HWND_proxy< C >

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 Types

typedef C char_type
 The character type.
typedef
c_str_ptr_null_HWND_proxy< C > 
class_type
 This type.

Public Member Functions

 c_str_ptr_null_HWND_proxy (HWND h)
 Constructs an instance of the proxy from the given HWND.
 c_str_ptr_null_HWND_proxy (class_type const &rhs)
 ~c_str_ptr_null_HWND_proxy () throw ()
 Releases any storage aquired by the proxy.
 operator char_type const * () const
 Returns a null-terminated string representing the window contents, or the empty string "" if the window contains no text.

Member Typedef Documentation

typedef C char_type

The character type.

This type.


Constructor & Destructor Documentation

c_str_ptr_null_HWND_proxy ( HWND  h  )  [inline, explicit]

Constructs an instance of the proxy from the given HWND.

Parameters:
h The HWND from which the text will be retrieved

~c_str_ptr_null_HWND_proxy (  )  throw () [inline]

Releases any storage aquired by the proxy.


Member Function Documentation

operator char_type const * (  )  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:59:36 2010 for STLSoft by  doxygen 1.5.6