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 (STLSoft)
[STLSoftString Access Shims]

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

Functions

ss_char_a_t const * c_str_ptr_null_a (ss_char_a_t const *s)
 Returns the corresponding C-string pointer of s, or a null pointer.

ss_char_a_t const * c_str_ptr_null (ss_char_a_t const *s)
 Returns the corresponding C-string pointer of s, or a null pointer.

ss_char_w_t const * c_str_ptr_null_w (ss_char_w_t const *s)
 Returns the corresponding C-string pointer of s, or a null pointer.

ss_char_w_t const * c_str_ptr_null (ss_char_w_t const *s)
 Returns the corresponding C-string pointer of s, or a null pointer.

ss_char_a_t const * c_str_ptr_null_a (::std::string const &s)
 Returns the corresponding C-string pointer of s, or a null pointer.

ss_char_w_t const * c_str_ptr_null_w (_stlsoft_wstring_t const &s)
 Returns the corresponding C-string pointer of s, or a null pointer.

template<class C> C const * c_str_ptr_null (::std::basic_string< C > const &s)
 Returns the corresponding C-string pointer of s, or a null pointer.

ss_char_a_t const * c_str_ptr_a (ss_char_a_t const *s)
 Returns the corresponding C-string pointer of s.

ss_char_a_t const * c_str_ptr (ss_char_a_t const *s)
 Returns the corresponding C-string pointer of s.

ss_char_w_t const * c_str_ptr_w (ss_char_w_t const *s)
 Returns the corresponding C-string pointer of s.

ss_char_w_t const * c_str_ptr (ss_char_w_t const *s)
 Returns the corresponding C-string pointer of s.

ss_char_a_t const * c_str_ptr_a (::std::string const &s)
 Returns the corresponding C-string pointer of s.

ss_char_w_t const * c_str_ptr_w (_stlsoft_wstring_t const &s)
 Returns the corresponding C-string pointer of s.

template<class C> C const * c_str_ptr (::std::basic_string< C > const &s)
 Returns the corresponding C-string pointer of s.

ss_size_t c_str_len_a (ss_char_a_t const *s)
 Returns the length (in characters) of s, not including the null-terminating character.

ss_size_t c_str_len (ss_char_a_t const *s)
 Returns the length (in characters) of s, not including the null-terminating character.

ss_size_t c_str_len_w (ss_char_w_t const *s)
 Returns the length (in characters) of s, not including the null-terminating character.

ss_size_t c_str_len (ss_char_w_t const *s)
 Returns the length (in characters) of s, not including the null-terminating character.

ss_size_t c_str_len_a (::std::string const &s)
 Returns the length (in characters) of s, not including the null-terminating character.

ss_size_t c_str_len_w (_stlsoft_wstring_t const &s)
 Returns the length (in characters) of s, not including the null-terminating character.

template<class C> ss_size_t c_str_len (::std::basic_string< C > const &s)
 Returns the length (in characters) of s, not including the null-terminating character.

ss_size_t c_str_size_a (ss_char_a_t const *s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.

ss_size_t c_str_size (ss_char_a_t const *s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.

ss_size_t c_str_size_w (ss_char_w_t const *s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.

ss_size_t c_str_size (ss_char_w_t const *s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.

ss_size_t c_str_size_a (::std::string const &s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.

ss_size_t c_str_size_w (_stlsoft_wstring_t const &s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.

template<class C> ss_size_t c_str_size (::std::basic_string< C > const &s)
 Returns the size (in bytes) of the contents of s, not including the null-terminating character.


Detailed Description

These shims retrieve the C-string for arbitrary types.


Function Documentation

ss_size_t c_str_len ::std::basic_string< C > const &    s [inline]
 

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

ss_size_t c_str_len ss_char_w_t const *    s [inline]
 

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

ss_size_t c_str_len ss_char_a_t const *    s [inline]
 

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

ss_size_t c_str_len_a ::std::string const &    s [inline]
 

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

ss_size_t c_str_len_a ss_char_a_t const *    s [inline]
 

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

ss_size_t c_str_len_w _stlsoft_wstring_t const &    s [inline]
 

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

ss_size_t c_str_len_w ss_char_w_t const *    s [inline]
 

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

C const* c_str_ptr ::std::basic_string< C > const &    s [inline]
 

Returns the corresponding C-string pointer of s.

ss_char_w_t const* c_str_ptr ss_char_w_t const *    s [inline]
 

Returns the corresponding C-string pointer of s.

ss_char_a_t const* c_str_ptr ss_char_a_t const *    s [inline]
 

Returns the corresponding C-string pointer of s.

ss_char_a_t const* c_str_ptr_a ::std::string const &    s [inline]
 

Returns the corresponding C-string pointer of s.

ss_char_a_t const* c_str_ptr_a ss_char_a_t const *    s [inline]
 

Returns the corresponding C-string pointer of s.

C const* c_str_ptr_null ::std::basic_string< C > const &    s [inline]
 

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

ss_char_w_t const* c_str_ptr_null ss_char_w_t const *    s [inline]
 

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

ss_char_a_t const* c_str_ptr_null ss_char_a_t const *    s [inline]
 

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

ss_char_a_t const* c_str_ptr_null_a ::std::string const &    s [inline]
 

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

ss_char_a_t const* c_str_ptr_null_a ss_char_a_t const *    s [inline]
 

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

ss_char_w_t const* c_str_ptr_null_w _stlsoft_wstring_t const &    s [inline]
 

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

ss_char_w_t const* c_str_ptr_null_w ss_char_w_t const *    s [inline]
 

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

ss_char_w_t const* c_str_ptr_w _stlsoft_wstring_t const &    s [inline]
 

Returns the corresponding C-string pointer of s.

ss_char_w_t const* c_str_ptr_w ss_char_w_t const *    s [inline]
 

Returns the corresponding C-string pointer of s.

ss_size_t c_str_size ::std::basic_string< C > const &    s [inline]
 

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

ss_size_t c_str_size ss_char_w_t const *    s [inline]
 

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

ss_size_t c_str_size ss_char_a_t const *    s [inline]
 

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

ss_size_t c_str_size_a ::std::string const &    s [inline]
 

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

ss_size_t c_str_size_a ss_char_a_t const *    s [inline]
 

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

ss_size_t c_str_size_w _stlsoft_wstring_t const &    s [inline]
 

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

ss_size_t c_str_size_w ss_char_w_t const *    s [inline]
 

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


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