c_str_VARIANT_proxy_w Class Reference
[String Access Shims]

#include <comstl/shims/access/string/variant.hpp>

List of all members.


Detailed Description

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.

Public Types

typedef c_str_VARIANT_proxy_w class_type

Public Member Functions

 c_str_VARIANT_proxy_w (BSTR &s)
 Constructs an instance of the proxy from the given BSTR.
 c_str_VARIANT_proxy_w (class_type const &rhs)
 ~c_str_VARIANT_proxy_w () throw ()
 Releases any storage aquired by the proxy.
 operator LPCOLESTR () const
 Returns a null-terminated string representing the VARIANT contents.

Constructor & Destructor Documentation

c_str_VARIANT_proxy_w ( BSTR &  s  )  [inline, explicit]

Constructs an instance of the proxy from the given BSTR.

Parameters:
s The BSTR from which the text will be retrieved

~c_str_VARIANT_proxy_w (  )  throw () [inline]

Releases any storage aquired by the proxy.


Member Function Documentation

operator LPCOLESTR (  )  const [inline]

Returns a null-terminated string representing the VARIANT contents.


The documentation for this class was generated from the following file:

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