STLSoft - ... Robust, Lightweight, Cross-platform, Template Software ... ATLSTL - Template Software for the Active Template Library COMSTL - The Standard Template Library meets the Component Object Model .netSTL - Standard Template Library meets the Microsoft.NET Common Language Runtime InetSTL - The Standard Template Library meets WinInet MFCSTL - Template Software for the Microsoft Foundation Classes UNIXSTL - Template Software for the UNIX Operating System WinSTL - where the Standard Template Library meets the Win32 API

Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

c_str_ptr_null_HWND_proxy Class Template Reference
[String Access Shims (WinSTL)]

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. More...

#include <winstl_string_access.h>

List of all members.

Public Methods

 c_str_ptr_null_HWND_proxy (HWND h)
 Constructs an instance of the proxy from the given HWND.

 ~c_str_ptr_null_HWND_proxy ()
 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.


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.


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   [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:

STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004