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 (COMSTL)
[COMSTLString Access Shims]

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

Compounds

class  c_str_null_VARIANT_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 variant may be accessed as a null-terminated string. More...

class  c_str_ptr_GUID_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 GUID may be accessed as a null-terminated string. More...

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

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


Functions

c_str_ptr_GUID_proxy< cs_char_a_t > c_str_ptr_null_a (GUID const &guid)
 Returns the corresponding ANSI C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy< cs_char_w_t > c_str_ptr_null_w (GUID const &guid)
 Returns the corresponding Unicode C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy< cs_char_o_t > c_str_ptr_null_o (GUID const &guid)
 Returns the corresponding C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy< cs_char_o_t > c_str_ptr_null (GUID const &guid)
 Returns the corresponding C-string pointer of the GUID guid.

c_str_null_VARIANT_proxy c_str_ptr_null (VARIANT const &v)
 Returns the corresponding ANSI C-string pointer of the VARIANT v, or a null pointer.

c_str_ptr_GUID_proxy< cs_char_a_t > c_str_ptr_a (GUID const &guid)
 Returns the corresponding ANSI C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy< cs_char_w_t > c_str_ptr_w (GUID const &guid)
 Returns the corresponding Unicode C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy< cs_char_o_t > c_str_ptr_o (GUID const &guid)
 Returns the corresponding C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy< cs_char_o_t > c_str_ptr (GUID const &guid)
 Returns the corresponding C-string pointer of the GUID guid.

c_str_VARIANT_proxy_a c_str_ptr_a (VARIANT const &v)
 Returns the corresponding ANSI C-string pointer of the VARIANT v.

c_str_VARIANT_proxy_w c_str_ptr_w (VARIANT const &v)
 Returns the corresponding Unicode C-string pointer of the VARIANT v.

c_str_VARIANT_proxy_w c_str_ptr (VARIANT const &v)
 Returns the corresponding C-string pointer of the VARIANT v.

cs_size_t c_str_len_a (GUID const &)
 Returns the length (in characters) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_len_w (GUID const &)
 Returns the length (in characters) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_len_o (GUID const &)
 Returns the length (in characters) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_len (GUID const &)
 Returns the length (in characters) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_len (VARIANT const &v)
 Returns the length (in characters) of the VARIANT v, not including the null-terminating character.

cs_size_t c_str_len_a (VARIANT const &v)
 Returns the length (in characters) of the VARIANT v, not including the null-terminating character.

cs_size_t c_str_len_w (VARIANT const &v)
 Returns the length (in characters) of the VARIANT v, not including the null-terminating character.

cs_size_t c_str_size_a (GUID const &guid)
 Returns the size (in bytes) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_size_w (GUID const &guid)
 Returns the size (in bytes) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_size_o (GUID const &guid)
 Returns the size (in bytes) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_size (GUID const &guid)
 Returns the size (in bytes) of the GUID guid, not including the null-terminating character.

cs_size_t c_str_size_a (VARIANT const &v)
 Returns the size (in bytes) of the VARIANT v, not including the null-terminating character.

cs_size_t c_str_size_w (VARIANT const &v)
 Returns the size (in bytes) of the VARIANT v, not including the null-terminating character.

cs_size_t c_str_size (VARIANT const &v)
 Returns the size (in bytes) of the VARIANT v, not including the null-terminating character.

 c_str_ptr_GUID_proxy (GUID const &guid)
 Constructs an instance of the proxy from the given GUID instance.


Detailed Description

These shims retrieve the C-string for arbitrary types.


Function Documentation

cs_size_t c_str_len VARIANT const &    v [inline]
 

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

cs_size_t c_str_len GUID const &    [inline]
 

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

cs_size_t c_str_len_a VARIANT const &    v [inline]
 

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

cs_size_t c_str_len_a GUID const &    [inline]
 

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

cs_size_t c_str_len_o GUID const &    [inline]
 

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

cs_size_t c_str_len_w VARIANT const &    v [inline]
 

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

cs_size_t c_str_len_w GUID const &    [inline]
 

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

c_str_VARIANT_proxy_w c_str_ptr VARIANT const &    v [inline]
 

Returns the corresponding C-string pointer of the VARIANT v.

c_str_ptr_GUID_proxy<cs_char_o_t> c_str_ptr GUID const &    guid [inline]
 

Returns the corresponding C-string pointer of the GUID guid.

c_str_VARIANT_proxy_a c_str_ptr_a VARIANT const &    v [inline]
 

Returns the corresponding ANSI C-string pointer of the VARIANT v.

c_str_ptr_GUID_proxy<cs_char_a_t> c_str_ptr_a GUID const &    guid [inline]
 

Returns the corresponding ANSI C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy GUID const &    guid [inline, explicit, inherited]
 

Constructs an instance of the proxy from the given GUID instance.

Parameters:
guid  The GUID instance from which the text will be retrieved

c_str_null_VARIANT_proxy c_str_ptr_null VARIANT const &    v [inline]
 

Returns the corresponding ANSI C-string pointer of the VARIANT v, or a null pointer.

c_str_ptr_GUID_proxy<cs_char_o_t> c_str_ptr_null GUID const &    guid [inline]
 

Returns the corresponding C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy<cs_char_a_t> c_str_ptr_null_a GUID const &    guid [inline]
 

Returns the corresponding ANSI C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy<cs_char_o_t> c_str_ptr_null_o GUID const &    guid [inline]
 

Returns the corresponding C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy<cs_char_w_t> c_str_ptr_null_w GUID const &    guid [inline]
 

Returns the corresponding Unicode C-string pointer of the GUID guid.

c_str_ptr_GUID_proxy<cs_char_o_t> c_str_ptr_o GUID const &    guid [inline]
 

Returns the corresponding C-string pointer of the GUID guid.

c_str_VARIANT_proxy_w c_str_ptr_w VARIANT const &    v [inline]
 

Returns the corresponding Unicode C-string pointer of the VARIANT v.

c_str_ptr_GUID_proxy<cs_char_w_t> c_str_ptr_w GUID const &    guid [inline]
 

Returns the corresponding Unicode C-string pointer of the GUID guid.

cs_size_t c_str_size VARIANT const &    v [inline]
 

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

cs_size_t c_str_size GUID const &    guid [inline]
 

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

cs_size_t c_str_size_a VARIANT const &    v [inline]
 

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

cs_size_t c_str_size_a GUID const &    guid [inline]
 

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

cs_size_t c_str_size_o GUID const &    guid [inline]
 

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

cs_size_t c_str_size_w VARIANT const &    v [inline]
 

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

cs_size_t c_str_size_w GUID const &    guid [inline]
 

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


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