CMyComBSTR Class Reference

#include <MyCom.h>

List of all members.

Public Member Functions

 CMyComBSTR ()
 CMyComBSTR (LPCOLESTR pSrc)
 CMyComBSTR (const CMyComBSTR &src)
 ~CMyComBSTR ()
CMyComBSTRoperator= (const CMyComBSTR &src)
CMyComBSTRoperator= (LPCOLESTR pSrc)
unsigned int Length () const
 operator BSTR () const
BSTRoperator & ()
BSTR MyCopy () const
void Attach (BSTR src)
BSTR Detach ()
void Empty ()
bool operator! () const

Public Attributes

BSTR m_str


Detailed Description

Definition at line 69 of file MyCom.h.


Constructor & Destructor Documentation

CMyComBSTR::CMyComBSTR (  )  [inline]

Definition at line 73 of file MyCom.h.

References m_str, and NULL.

CMyComBSTR::CMyComBSTR ( LPCOLESTR  pSrc  )  [inline]

Definition at line 74 of file MyCom.h.

References m_str, and SysAllocString().

CMyComBSTR::CMyComBSTR ( const CMyComBSTR src  )  [inline]

Definition at line 77 of file MyCom.h.

References m_str, and MyCopy().

CMyComBSTR::~CMyComBSTR (  )  [inline]

Definition at line 79 of file MyCom.h.

References m_str, and SysFreeString().


Member Function Documentation

CMyComBSTR& CMyComBSTR::operator= ( const CMyComBSTR src  )  [inline]

Definition at line 80 of file MyCom.h.

References m_str, MyCopy(), and SysFreeString().

CMyComBSTR& CMyComBSTR::operator= ( LPCOLESTR  pSrc  )  [inline]

Definition at line 90 of file MyCom.h.

References m_str, SysAllocString(), and SysFreeString().

unsigned int CMyComBSTR::Length (  )  const [inline]

Definition at line 96 of file MyCom.h.

References m_str, and SysStringLen().

CMyComBSTR::operator BSTR (  )  const [inline]

Definition at line 97 of file MyCom.h.

References m_str.

BSTR* CMyComBSTR::operator & (  )  [inline]

Definition at line 98 of file MyCom.h.

References m_str.

BSTR CMyComBSTR::MyCopy (  )  const [inline]

Definition at line 99 of file MyCom.h.

References m_str, NULL, SysAllocStringByteLen(), and SysStringByteLen().

Referenced by CMyComBSTR(), and operator=().

void CMyComBSTR::Attach ( BSTR  src  )  [inline]

Definition at line 106 of file MyCom.h.

References m_str.

BSTR CMyComBSTR::Detach (  )  [inline]

Definition at line 107 of file MyCom.h.

References m_str, NULL, and simple_client::s.

void CMyComBSTR::Empty (  )  [inline]

Definition at line 113 of file MyCom.h.

References m_str, NULL, and SysFreeString().

bool CMyComBSTR::operator! (  )  const [inline]

Definition at line 118 of file MyCom.h.

References m_str, and NULL.


Member Data Documentation


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

Generated on Sun May 25 00:20:49 2008 by  doxygen 1.5.6