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


Detailed Description

[C++] Definition of the string access shims for VARIANT (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_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_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...
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...

Functions

bool operator== (LPCOLESTR lhs, c_str_null_VARIANT_proxy const &rhs)
bool operator== (c_str_null_VARIANT_proxy const &lhs, LPCOLESTR rhs)
bool operator!= (LPCOLESTR lhs, c_str_null_VARIANT_proxy const &rhs)
bool operator!= (c_str_null_VARIANT_proxy const &lhs, LPCOLESTR rhs)
bool operator== (LPCSTR lhs, c_str_VARIANT_proxy_a const &rhs)
bool operator== (c_str_VARIANT_proxy_a const &lhs, LPCSTR rhs)
bool operator!= (LPCSTR lhs, c_str_VARIANT_proxy_a const &rhs)
bool operator!= (c_str_VARIANT_proxy_a const &lhs, LPCSTR rhs)
bool operator== (LPCOLESTR lhs, c_str_VARIANT_proxy_w const &rhs)
bool operator== (c_str_VARIANT_proxy_w const &lhs, LPCOLESTR rhs)
bool operator!= (LPCOLESTR lhs, c_str_VARIANT_proxy_w const &rhs)
bool operator!= (c_str_VARIANT_proxy_w const &lhs, LPCOLESTR rhs)
template<typename S>
S & operator<< (S &s, c_str_null_VARIANT_proxy const &shim)
template<typename S>
S & operator<< (S &s, c_str_VARIANT_proxy_w const &shim)
template<typename S>
S & operator<< (S &s, c_str_VARIANT_proxy_a const &shim)
c_str_VARIANT_proxy_a c_str_data (VARIANT const &v)
 Returns the corresponding possibly unterminated C-string pointer of the VARIANT v.
size_t c_str_len_a (VARIANT const &v)
 Returns the length (in characters) of the VARIANT v, not including the null-terminating character.
size_t c_str_len_w (VARIANT const &v)
 Returns the length (in characters) of the VARIANT v, not including the null-terminating character.
size_t c_str_len (VARIANT const &v)
 Returns the length (in characters) of the VARIANT v, not including the null-terminating character.
c_str_VARIANT_proxy_a c_str_ptr (VARIANT const &v)
 Returns the corresponding C-string pointer of the VARIANT v.
c_str_null_VARIANT_proxy c_str_ptr_null_w (VARIANT const &v)
 Returns the corresponding ANSI C-string pointer of the VARIANT v, or a null pointer.


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