comstl/shims/access/string/guid.hpp File Reference


Detailed Description

[C++] Definition of the string access shims for GUID (String Access Shims Concept).

#include <comstl/comstl.h>
#include <comstl/string/BSTR_functions.h>
#include <stlsoft/shims/access/string.hpp>
#include <wchar.h>

Go to the source code of this file.

Namespaces

namespace  comstl

Classes

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

Functions

size_t guid2string_w (GUID const &guid, wchar_t buff[1+COMSTL_CCH_GUID])
size_t guid2string_a (GUID const &guid, char buff[1+COMSTL_CCH_GUID])
template<typename C>
bool operator== (C const *lhs, c_str_ptr_GUID_proxy< C > const &rhs)
template<typename C>
bool operator== (c_str_ptr_GUID_proxy< C > const &lhs, C const *rhs)
template<typename C>
bool operator!= (C const *lhs, c_str_ptr_GUID_proxy< C > const &rhs)
template<typename C>
bool operator!= (c_str_ptr_GUID_proxy< C > const &lhs, C const *rhs)
template<typename C, typename S>
S & operator<< (S &s, c_str_ptr_GUID_proxy< C > const &shim)
c_str_ptr_GUID_proxy< TCHAR > c_str_data (GUID const &guid)
 Returns the corresponding possibly unterminated C-string pointer of the GUID guid.
size_t c_str_len (GUID const &)
 Returns the length (in characters) of the GUID guid, not including the null-terminating character.
c_str_ptr_GUID_proxy< TCHAR > c_str_ptr (GUID const &guid)
 Returns the corresponding C-string pointer of the GUID guid.
c_str_ptr_GUID_proxy< TCHAR > c_str_ptr_null (GUID const &guid)
 Returns the corresponding C-string pointer of the GUID guid.


Generated on Thu Jun 10 08:57:56 2010 for STLSoft by  doxygen 1.5.6