NWindows::NCOM::CPropVariant Class Reference

#include <PropVariant.h>

Inheritance diagram for NWindows::NCOM::CPropVariant:

tagPROPVARIANT

List of all members.

Public Member Functions

 CPropVariant ()
 ~CPropVariant ()
 CPropVariant (const PROPVARIANT &varSrc)
 CPropVariant (const CPropVariant &varSrc)
 CPropVariant (BSTR bstrSrc)
 CPropVariant (LPCOLESTR lpszSrc)
 CPropVariant (bool bSrc)
 CPropVariant (UInt32 value)
 CPropVariant (UInt64 value)
 CPropVariant (const FILETIME &value)
 CPropVariant (Int32 value)
 CPropVariant (Byte value)
 CPropVariant (Int16 value)
CPropVariantoperator= (const CPropVariant &varSrc)
CPropVariantoperator= (const PROPVARIANT &varSrc)
CPropVariantoperator= (BSTR bstrSrc)
CPropVariantoperator= (LPCOLESTR lpszSrc)
CPropVariantoperator= (bool bSrc)
CPropVariantoperator= (UInt32 value)
CPropVariantoperator= (UInt64 value)
CPropVariantoperator= (const FILETIME &value)
CPropVariantoperator= (Int32 value)
CPropVariantoperator= (Byte value)
CPropVariantoperator= (Int16 value)
HRESULT Clear ()
HRESULT Copy (const PROPVARIANT *pSrc)
HRESULT Attach (PROPVARIANT *pSrc)
HRESULT Detach (PROPVARIANT *pDest)
HRESULT InternalClear ()
void InternalCopy (const PROPVARIANT *pSrc)
int Compare (const CPropVariant &a1)


Detailed Description

Definition at line 14 of file PropVariant.h.


Constructor & Destructor Documentation

NWindows::NCOM::CPropVariant::CPropVariant (  )  [inline]

Definition at line 17 of file PropVariant.h.

References tagPROPVARIANT::vt, and VT_EMPTY.

NWindows::NCOM::CPropVariant::~CPropVariant (  )  [inline]

Definition at line 18 of file PropVariant.h.

References Clear().

NWindows::NCOM::CPropVariant::CPropVariant ( const PROPVARIANT varSrc  ) 

Definition at line 14 of file PropVariant.cpp.

References InternalCopy(), tagPROPVARIANT::vt, and VT_EMPTY.

NWindows::NCOM::CPropVariant::CPropVariant ( const CPropVariant varSrc  ) 

Definition at line 20 of file PropVariant.cpp.

References InternalCopy(), tagPROPVARIANT::vt, and VT_EMPTY.

NWindows::NCOM::CPropVariant::CPropVariant ( BSTR  bstrSrc  ) 

Definition at line 26 of file PropVariant.cpp.

References tagPROPVARIANT::vt, and VT_EMPTY.

NWindows::NCOM::CPropVariant::CPropVariant ( LPCOLESTR  lpszSrc  ) 

Definition at line 32 of file PropVariant.cpp.

References tagPROPVARIANT::vt, and VT_EMPTY.

NWindows::NCOM::CPropVariant::CPropVariant ( bool  bSrc  )  [inline]

NWindows::NCOM::CPropVariant::CPropVariant ( UInt32  value  )  [inline]

Definition at line 24 of file PropVariant.h.

References tagPROPVARIANT::ulVal, tagPROPVARIANT::vt, and VT_UI4.

NWindows::NCOM::CPropVariant::CPropVariant ( UInt64  value  )  [inline]

Definition at line 25 of file PropVariant.h.

References tagPROPVARIANT::uhVal, tagPROPVARIANT::vt, and VT_UI8.

NWindows::NCOM::CPropVariant::CPropVariant ( const FILETIME value  )  [inline]

Definition at line 26 of file PropVariant.h.

References tagPROPVARIANT::filetime, tagPROPVARIANT::vt, and VT_FILETIME.

NWindows::NCOM::CPropVariant::CPropVariant ( Int32  value  )  [inline]

Definition at line 27 of file PropVariant.h.

References tagPROPVARIANT::lVal, tagPROPVARIANT::vt, and VT_I4.

NWindows::NCOM::CPropVariant::CPropVariant ( Byte  value  )  [inline]

Definition at line 28 of file PropVariant.h.

References tagPROPVARIANT::bVal, tagPROPVARIANT::vt, and VT_UI1.

NWindows::NCOM::CPropVariant::CPropVariant ( Int16  value  )  [inline]

Definition at line 29 of file PropVariant.h.

References tagPROPVARIANT::iVal, tagPROPVARIANT::vt, and VT_I2.


Member Function Documentation

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( const CPropVariant varSrc  ) 

Definition at line 38 of file PropVariant.cpp.

References InternalCopy().

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( const PROPVARIANT varSrc  ) 

Definition at line 43 of file PropVariant.cpp.

References InternalCopy().

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( BSTR  bstrSrc  ) 

Definition at line 49 of file PropVariant.cpp.

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( LPCOLESTR  lpszSrc  ) 

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( bool  bSrc  ) 

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( UInt32  value  ) 

Definition at line 79 of file PropVariant.cpp.

References InternalClear(), tagPROPVARIANT::ulVal, tagPROPVARIANT::vt, and VT_UI4.

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( UInt64  value  ) 

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( const FILETIME value  ) 

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( Int32  value  ) 

Definition at line 112 of file PropVariant.cpp.

References InternalClear(), tagPROPVARIANT::lVal, tagPROPVARIANT::vt, and VT_I4.

CPropVariant& NWindows::NCOM::CPropVariant::operator= ( Byte  value  ) 

CPropVariant & NWindows::NCOM::CPropVariant::operator= ( Int16  value  ) 

Definition at line 135 of file PropVariant.cpp.

References InternalClear(), tagPROPVARIANT::iVal, tagPROPVARIANT::vt, and VT_I2.

HRESULT NWindows::NCOM::CPropVariant::Clear (  ) 

HRESULT NWindows::NCOM::CPropVariant::Copy ( const PROPVARIANT pSrc  ) 

HRESULT NWindows::NCOM::CPropVariant::Attach ( PROPVARIANT pSrc  ) 

Definition at line 204 of file PropVariant.cpp.

References Clear(), FAILED, hr, HRESULT, S_OK, tagPROPVARIANT::vt, and VT_EMPTY.

HRESULT NWindows::NCOM::CPropVariant::Detach ( PROPVARIANT pDest  ) 

HRESULT NWindows::NCOM::CPropVariant::InternalClear (  ) 

Definition at line 224 of file PropVariant.cpp.

References Clear(), FAILED, hr, HRESULT, tagPROPVARIANT::scode, tagPROPVARIANT::vt, and VT_ERROR.

Referenced by operator=().

void NWindows::NCOM::CPropVariant::InternalCopy ( const PROPVARIANT pSrc  ) 

Definition at line 235 of file PropVariant.cpp.

References Copy(), FAILED, hr, HRESULT, tagPROPVARIANT::scode, tagPROPVARIANT::vt, and VT_ERROR.

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

int NWindows::NCOM::CPropVariant::Compare ( const CPropVariant a1  ) 


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

Generated on Sun May 25 00:21:48 2008 by  doxygen 1.5.6