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 (ATLSTL)
[ATLSTLString Access Shims]

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

Compounds

class  c_str_ptr_CWindow_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_CWindow_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_CWindow_proxy c_str_ptr_null (::ATL::CWindow const &w)
 Returns the corresponding C-string pointer of the CWindow w, or a null pointer.

LPCOLESTR c_str_ptr_null (::ATL::CComBSTR const &s)
 Returns the corresponding C-string pointer of the CComBSTR s, or a null pointer.

c_str_ptr_CWindow_proxy c_str_ptr (::ATL::CWindow const &w)
 Returns the corresponding C-string pointer of the CWindow w.

LPCOLESTR c_str_ptr (::ATL::CComBSTR const &s)
 Returns the corresponding C-string pointer of the CComBSTR s.

as_size_t c_str_len (::ATL::CWindow const &w)
 Returns the length (in characters) of the contents of the window w, not including the null-terminating character.

as_size_t c_str_len (::ATL::CComBSTR const &s)
 Returns the length (in characters) of the CComBSTR s, not including the null-terminating character.

as_size_t c_str_size (::ATL::CWindow const &w)
 Returns the size (in bytes) of the contents of the window w, not including the null-terminating character.

as_size_t c_str_size (::ATL::CComBSTR const &s)
 Returns the size (in bytes) of the CComBSTR s, not including the null-terminating character.


Detailed Description

These shims retrieve the C-string for arbitrary types.


Function Documentation

as_size_t c_str_len ::ATL::CComBSTR const &    s [inline]
 

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

as_size_t c_str_len ::ATL::CWindow const &    w [inline]
 

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

LPCOLESTR c_str_ptr ::ATL::CComBSTR const &    s [inline]
 

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

c_str_ptr_CWindow_proxy c_str_ptr ::ATL::CWindow const &    w [inline]
 

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

LPCOLESTR c_str_ptr_null ::ATL::CComBSTR const &    s [inline]
 

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

c_str_ptr_null_CWindow_proxy c_str_ptr_null ::ATL::CWindow const &    w [inline]
 

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

as_size_t c_str_size ::ATL::CComBSTR const &    s [inline]
 

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

as_size_t c_str_size ::ATL::CWindow const &    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