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  

String Access Shims (MFCSTL)
[MFCSTLString Access Shims]

These shims retrieve the C-string for arbitrary types. More...

Compounds

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

class  c_str_ptr_null_CWnd_proxy
 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...


Functions

c_str_ptr_null_CWnd_proxy c_str_ptr_null (const CWnd &w)
 Returns the corresponding C-string pointer of the CWnd w, or a null pointer.

LPCTSTR c_str_ptr_null (const CString &s)
 Returns the corresponding C-string pointer of the CString s, or a null pointer.

c_str_ptr_CWnd_proxy c_str_ptr (const CWnd &w)
 Returns the corresponding C-string pointer of the CWnd w.

LPCTSTR c_str_ptr (const CString &s)
 Returns the corresponding C-string pointer of the CString s.

ms_size_t c_str_len (const CWnd &w)
 Returns the length (in characters) of the contents of the window w, not including the null-terminating character.

ms_size_t c_str_len (const CString &s)
 Returns the length (in characters) of the CString s, not including the null-terminating character.

ms_size_t c_str_size (const CWnd &w)
 Returns the size (in bytes) of the contents of the window w, not including the null-terminating character.

ms_size_t c_str_size (const CString &s)
 Returns the size (in bytes) of the CString s, not including the null-terminating character.


Detailed Description

These shims retrieve the C-string for arbitrary types.


Function Documentation

ms_size_t c_str_len const CString &    s [inline]
 

Returns the length (in characters) of the CString s, not including the null-terminating character.

ms_size_t c_str_len const CWnd &    w [inline]
 

Returns the length (in characters) of the contents of the window w, not including the null-terminating character.

LPCTSTR c_str_ptr const CString &    s [inline]
 

Returns the corresponding C-string pointer of the CString s.

c_str_ptr_CWnd_proxy c_str_ptr const CWnd &    w [inline]
 

Returns the corresponding C-string pointer of the CWnd w.

LPCTSTR c_str_ptr_null const CString &    s [inline]
 

Returns the corresponding C-string pointer of the CString s, or a null pointer.

c_str_ptr_null_CWnd_proxy c_str_ptr_null const CWnd &    w [inline]
 

Returns the corresponding C-string pointer of the CWnd w, or a null pointer.

ms_size_t c_str_size const CString &    s [inline]
 

Returns the size (in bytes) of the CString s, not including the null-terminating character.

ms_size_t c_str_size const CWnd &    w [inline]
 

Returns the size (in bytes) of the contents of the window w, not including the null-terminating character.


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