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 (UNIXSTL)
[UNIXSTLString Access Shims]

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

Functions

us_char_a_t const * c_str_ptr_null (struct dirent const *d)
 Returns the corresponding C-string pointer of the dirent structure d, or NULL if d is empty.

us_char_a_t const * c_str_ptr_null (struct dirent const &d)
 Returns the corresponding C-string pointer of the dirent structure d, or NULL if d is empty.

us_char_a_t const * c_str_ptr (struct dirent const *d)
 Returns the corresponding C-string pointer of the dirent structure d.

us_char_a_t const * c_str_ptr (struct dirent const &d)
 Returns the corresponding C-string pointer of the dirent structure d.

us_size_t c_str_len (struct dirent const *d)
 Returns the length (in characters) of the dirent structure d, not including the null-terminating character.

us_size_t c_str_len (struct dirent const &d)
 Returns the length (in characters) of the dirent structure d, not including the null-terminating character.

us_size_t c_str_size (struct dirent const *d)
 Returns the size (in bytes) of the dirent structure d, not including the null-terminating character.

us_size_t c_str_size (struct dirent const &d)
 Returns the size (in bytes) of the dirent structure d, not including the null-terminating character.


Detailed Description

These shims retrieve the C-string for arbitrary types.


Function Documentation

us_size_t c_str_len struct dirent const &    d [inline]
 

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

us_size_t c_str_len struct dirent const *    d [inline]
 

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

us_char_a_t const* c_str_ptr struct dirent const &    d [inline]
 

Returns the corresponding C-string pointer of the dirent structure d.

us_char_a_t const* c_str_ptr struct dirent const *    d [inline]
 

Returns the corresponding C-string pointer of the dirent structure d.

us_char_a_t const* c_str_ptr_null struct dirent const &    d [inline]
 

Returns the corresponding C-string pointer of the dirent structure d, or NULL if d is empty.

us_char_a_t const* c_str_ptr_null struct dirent const *    d [inline]
 

Returns the corresponding C-string pointer of the dirent structure d, or NULL if d is empty.

us_size_t c_str_size struct dirent const &    d [inline]
 

Returns the size (in bytes) of the dirent structure d, not including the null-terminating character.

us_size_t c_str_size struct dirent const *    d [inline]
 

Returns the size (in bytes) of the dirent structure d, not including the null-terminating character.


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