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  

window_traits Struct Template Reference
[Registry Library]

Traits for accessing the correct registry functions for a given character type. More...

#include <winstl_window_traits.h>

List of all members.

Public Types

typedef C char_type
 The character type.

typedef ws_size_t size_type
 The size type.

typedef ws_ptrdiff_t difference_type
 The difference type.


Static Public Methods

char_typestr_copy (char_type *dest, char_type const *src)
 Copies the contents of src to dest.

char_typestr_cat (char_type *dest, char_type const *src)
 Appends the contents of src to dest.

ws_int_t str_compare (char_type *dest, char_type const *src)
 Comparies the contents of src and dest.

size_type str_len (char_type const *src)
 Evaluates the length of src.

ws_int_t get_window_text_length (HWND hwnd)
 Gets the number of characters of text for the given window.

ws_int_t get_window_text (HWND hwnd, char_type *buffer, ws_int_t cchBuff)
 Retrieves the text for the given window.

ws_bool_t set_window_text (HWND hwnd, char_type const *buffer)
 Sets the text for the given window.


Detailed Description

template<typename C>
struct winstl::window_traits< C >

Traits for accessing the correct registry functions for a given character type.

window_traits is a traits class for determining the correct registry structures and functions for a given character type.

Parameters:
C  The character type


Member Typedef Documentation

typedef C char_type
 

The character type.

typedef ws_ptrdiff_t difference_type
 

The difference type.

typedef ws_size_t size_type
 

The size type.


Member Function Documentation

ws_int_t get_window_text HWND    hwnd,
char_type   buffer,
ws_int_t    cchBuff
[static]
 

Retrieves the text for the given window.

ws_int_t get_window_text_length HWND    hwnd [static]
 

Gets the number of characters of text for the given window.

ws_bool_t set_window_text HWND    hwnd,
char_type const *    buffer
[static]
 

Sets the text for the given window.

char_type* str_cat char_type   dest,
char_type const *    src
[static]
 

Appends the contents of src to dest.

ws_int_t str_compare char_type   dest,
char_type const *    src
[static]
 

Comparies the contents of src and dest.

char_type* str_copy char_type   dest,
char_type const *    src
[static]
 

Copies the contents of src to dest.

size_type str_len char_type const *    src [static]
 

Evaluates the length of src.


The documentation for this struct was generated from the following file:

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