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 (WinSTL)
[WinSTLString Access Shims]

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

Compounds

class  c_str_ptr_HWND_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_LSA_UNICODE_STRING_proxy
 This class provides an intermediary object that may be returned by the c_str_ptr_null() function, such that the text of a given LSA_UNICODE_STRING string may be accessed as a null-terminated string. More...

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

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


Functions

c_str_ptr_null_HWND_proxy<
ws_char_a_t > 
c_str_ptr_null_a (HWND h)
 Returns the corresponding C-string pointer of the window h, or a null pointer.

c_str_ptr_null_HWND_proxy<
ws_char_w_t > 
c_str_ptr_null_w (HWND h)
 Returns the corresponding C-string pointer of the window h, or a null pointer.

c_str_ptr_null_HWND_proxy<
TCHAR > 
c_str_ptr_null (HWND h)
 Returns the corresponding C-string pointer of the window h, or a null pointer.

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

c_str_ptr_HWND_proxy< ws_char_a_t > c_str_ptr_a (HWND h)
 Returns the corresponding C-string pointer of the window h.

c_str_ptr_HWND_proxy< ws_char_w_t > c_str_ptr_w (HWND h)
 Returns the corresponding C-string pointer of the window h.

c_str_ptr_HWND_proxy< TCHAR > c_str_ptr (HWND h)
 Returns the corresponding C-string pointer of the window h.

c_str_ptr_LSA_UNICODE_STRING_proxy c_str_ptr (const LSA_UNICODE_STRING &s)
 Returns the corresponding C-string pointer of the LSA_UNICODE_STRING s.

ws_size_t c_str_len (HWND h)
 Returns the length (in characters) of the string of s, not including the null-terminating character.

ws_size_t c_str_len_a (HWND h)
 Returns the length (in characters) of the string of s, not including the null-terminating character.

ws_size_t c_str_len_w (HWND h)
 Returns the length (in characters) of the string of s, not including the null-terminating character.

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

ws_size_t c_str_size_a (HWND h)
 Returns the size (in bytes) of the string of h, not including the null-terminating character.

ws_size_t c_str_size_w (HWND h)
 Returns the size (in bytes) of the string of h, not including the null-terminating character.

ws_size_t c_str_size (HWND h)
 Returns the size (in bytes) of the string of h, not including the null-terminating character.

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

template<typename C, typename T> C const * c_str_ptr_null (basic_system_directory< C, T > const &sd)
 Returns the corresponding C-string pointer of the basic_system_directory sd, or a null pointer.

template<typename C, typename T> C const * c_str_ptr (basic_system_directory< C, T > const &sd)
 Returns the corresponding C-string pointer of the basic_system_directory sd.

template<typename C, typename T> ws_size_t c_str_len (basic_system_directory< C, T > const &sd)
 Returns the length (in characters) of the basic_system_directory sd, not including the null-terminating character.

template<typename C, typename T> ws_size_t c_str_size (basic_system_directory< C, T > const &sd)
 Returns the size (in bytes) of the basic_system_directory sd, not including the null-terminating character.

template<typename C, typename T> C const * c_str_ptr_null (basic_windows_directory< C, T > const &sd)
 Returns the corresponding C-string pointer of the basic_windows_directory sd, or a null pointer.

template<typename C, typename T> C const * c_str_ptr (basic_windows_directory< C, T > const &sd)
 Returns the corresponding C-string pointer of the basic_windows_directory sd.

template<typename C, typename T> ws_size_t c_str_len (basic_windows_directory< C, T > const &sd)
 Returns the length (in characters) of the basic_windows_directory sd, not including the null-terminating character.

template<typename C, typename T> ws_size_t c_str_size (basic_windows_directory< C, T > const &sd)
 Returns the size (in bytes) of the basic_windows_directory sd, not including the null-terminating character.


Detailed Description

These shims retrieve the C-string for arbitrary types.


Function Documentation

ws_size_t c_str_len basic_windows_directory< C, T > const &    sd [inline]
 

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

ws_size_t c_str_len basic_system_directory< C, T > const &    sd [inline]
 

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

ws_size_t c_str_len const LSA_UNICODE_STRING &    s [inline]
 

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

ws_size_t c_str_len HWND    h [inline]
 

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

ws_size_t c_str_len_a HWND    h [inline]
 

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

ws_size_t c_str_len_w HWND    h [inline]
 

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

C const* c_str_ptr basic_windows_directory< C, T > const &    sd [inline]
 

Returns the corresponding C-string pointer of the basic_windows_directory sd.

C const* c_str_ptr basic_system_directory< C, T > const &    sd [inline]
 

Returns the corresponding C-string pointer of the basic_system_directory sd.

c_str_ptr_LSA_UNICODE_STRING_proxy c_str_ptr const LSA_UNICODE_STRING &    s [inline]
 

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

c_str_ptr_HWND_proxy<TCHAR> c_str_ptr HWND    h [inline]
 

Returns the corresponding C-string pointer of the window h.

c_str_ptr_HWND_proxy<ws_char_a_t> c_str_ptr_a HWND    h [inline]
 

Returns the corresponding C-string pointer of the window h.

C const* c_str_ptr_null basic_windows_directory< C, T > const &    sd [inline]
 

Returns the corresponding C-string pointer of the basic_windows_directory sd, or a null pointer.

C const* c_str_ptr_null basic_system_directory< C, T > const &    sd [inline]
 

Returns the corresponding C-string pointer of the basic_system_directory sd, or a null pointer.

c_str_ptr_null_LSA_UNICODE_STRING_proxy c_str_ptr_null const LSA_UNICODE_STRING &    s [inline]
 

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

c_str_ptr_null_HWND_proxy<TCHAR> c_str_ptr_null HWND    h [inline]
 

Returns the corresponding C-string pointer of the window h, or a null pointer.

c_str_ptr_null_HWND_proxy<ws_char_a_t> c_str_ptr_null_a HWND    h [inline]
 

Returns the corresponding C-string pointer of the window h, or a null pointer.

c_str_ptr_null_HWND_proxy<ws_char_w_t> c_str_ptr_null_w HWND    h [inline]
 

Returns the corresponding C-string pointer of the window h, or a null pointer.

c_str_ptr_HWND_proxy<ws_char_w_t> c_str_ptr_w HWND    h [inline]
 

Returns the corresponding C-string pointer of the window h.

ws_size_t c_str_size basic_windows_directory< C, T > const &    sd [inline]
 

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

ws_size_t c_str_size basic_system_directory< C, T > const &    sd [inline]
 

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

ws_size_t c_str_size const LSA_UNICODE_STRING &    s [inline]
 

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

ws_size_t c_str_size HWND    h [inline]
 

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

ws_size_t c_str_size_a HWND    h [inline]
 

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

ws_size_t c_str_size_w HWND    h [inline]
 

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


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