OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TAutoVal Class Reference

Automation data element (same data as OLE/BASIC VARIANT) More...

#include <ocf/autodefs.h>

Public Member Functions

 TAutoVal ()
 
 TAutoVal (const TAutoVal &src)
 
const TAutoValoperator= (const TAutoVal &src)
 
 ~TAutoVal ()
 
 TAutoVal (unsigned char i)
 
 TAutoVal (signed char i)
 
 TAutoVal (char i)
 
 TAutoVal (unsigned char *p)
 
 TAutoVal (signed char *p)
 
 TAutoVal (char *p)
 
 TAutoVal (const char *p)
 
 TAutoVal (int i)
 
 TAutoVal (int *p)
 
 TAutoVal (unsigned int i)
 
 TAutoVal (unsigned int *p)
 
 TAutoVal (unsigned short i)
 
 TAutoVal (unsigned short *p)
 
 TAutoVal (long i)
 
 TAutoVal (long *p)
 
 TAutoVal (unsigned long i)
 
 TAutoVal (unsigned long *p)
 
 TAutoVal (short i)
 
 TAutoVal (short *p)
 
 TAutoVal (float i)
 
 TAutoVal (float *p)
 
 TAutoVal (double i)
 
 TAutoVal (double *p)
 
 TAutoVal (void *p)
 
 TAutoVal (owl::TBool i)
 
 TAutoVal (owl::TBool *p)
 
 TAutoVal (const owl::tstring &s)
 
 TAutoVal (TAutoString s)
 
 TAutoVal (owl::TString s)
 
 TAutoVal (TAutoCurrency i)
 
 TAutoVal (TAutoCurrency *p)
 
 TAutoVal (TAutoDate i)
 
 TAutoVal (TAutoDate *i)
 
 TAutoVal (IDispatch *ifc)
 
 TAutoVal (IDispatch **ifc)
 
 TAutoVal (IUnknown *ifc)
 
 TAutoVal (IUnknown **ifc)
 
 TAutoVal (IPictureDisp *ifc)
 
 TAutoVal (IFontDisp *ifc)
 
 TAutoVal (VARIANT &v)
 
 TAutoVal (const TNoArg &n)
 
 TAutoVal (BSTR *p)
 
 TAutoVal (TBSTR *p)
 
 TAutoVal (TAutoVal *p)
 
 TAutoVal (LARGE_INTEGER v)
 
 TAutoVal (ULARGE_INTEGER v)
 
 TAutoVal (SAFEARRAY *v)
 
 operator unsigned char ()
 
 operator signed char ()
 
 operator char ()
 
 operator unsigned char * ()
 
 operator signed char * ()
 
 operator char * ()
 
 operator int ()
 
 operator int * ()
 
 operator unsigned int ()
 
 operator short ()
 
 operator short * ()
 
 operator unsigned short ()
 
 operator unsigned short * ()
 
 operator long ()
 
 operator long * ()
 
 operator unsigned long ()
 
 operator unsigned long * ()
 
 operator float ()
 
 operator float * ()
 
 operator double ()
 
 operator double * ()
 
 operator void * ()
 
 operator owl::TBool ()
 
 operator owl::TBool * ()
 
 operator TAutoCurrency ()
 
 operator TAutoCurrency * ()
 
 operator TAutoDate ()
 
 operator TAutoDate * ()
 
 operator owl::tstring ()
 
 operator owl::TUString * ()
 
 operator owl::TString ()
 
 operator TAutoString ()
 
 operator IUnknown * ()
 
 operator IDispatch * ()
 
 operator IPictureDisp * ()
 
 operator IFontDisp * ()
 
 operator IPictureDisp & ()
 
 operator IFontDisp & ()
 
 operator IUnknown & ()
 
 operator IDispatch & ()
 
 operator BSTR ()
 
 operator BSTR * ()
 
 operator TBSTR * ()
 
 operator SAFEARRAY * ()
 
 operator IUnknown ** ()
 
 operator IDispatch ** ()
 
 operator TAutoVal * ()
 
 operator LARGE_INTEGER ()
 
 operator ULARGE_INTEGER ()
 
void operator= (unsigned char i)
 
void operator= (signed char i)
 
void operator= (char i)
 
void operator= (unsigned char *p)
 
void operator= (signed char *p)
 
void operator= (char *p)
 
void operator= (const char *p)
 
void operator= (int i)
 
void operator= (int *p)
 
void operator= (unsigned int i)
 
void operator= (unsigned int *p)
 
void operator= (unsigned short i)
 
void operator= (unsigned short *p)
 
void operator= (long i)
 
void operator= (long *p)
 
void operator= (unsigned long i)
 
void operator= (unsigned long *p)
 
void operator= (short i)
 
void operator= (short *p)
 
void operator= (float i)
 
void operator= (float *p)
 
void operator= (double i)
 
void operator= (double *p)
 
void operator= (void *p)
 
void operator= (owl::TBool i)
 
void operator= (owl::TBool *p)
 
void operator= (const owl::tstring &s)
 
void operator= (TAutoString s)
 
void operator= (owl::TString s)
 
void operator= (TAutoCurrency i)
 
void operator= (TAutoCurrency *p)
 
void operator= (TAutoDate i)
 
void operator= (TAutoDate *i)
 
void operator= (IUnknown *ifc)
 
void operator= (IDispatch *ifc)
 
void operator= (IPictureDisp *ifc)
 
void operator= (IFontDisp *ifc)
 
void operator= (VARIANT &v)
 
void operator= (TObjectDescriptor od)
 
void operator= (TAutoVoid)
 
void operator= (const TNoArg &n)
 
void operator= (BSTR *p)
 
void operator= (TBSTR *p)
 
void operator= (IUnknown **p)
 
void operator= (IDispatch **p)
 
void operator= (TAutoVal *p)
 
void operator= (LARGE_INTEGER v)
 
void operator= (ULARGE_INTEGER v)
 
void operator= (SAFEARRAY *p)
 
int GetDataType () const
 
void Init ()
 
void Clear ()
 
void Restore ()
 
void Copy (const TAutoVal &copy)
 
HRESULT ChangeType (VARTYPE type, TAutoVal *src=0)
 Converts TAutoVal/VARIANT to another type.
 
bool IsRef () const
 Is TAutoVal Object (i.e. VARIANT) passing data by reference.
 
TAutoValDereferenceVariant ()
 
void SetLocale (TLocaleId)
 
TLocaleId GetLocale () const
 
owl::TLangId GetLanguage () const
 
owl::TString StrVal ()
 
bool GetObjDesc (TObjectDescriptor &)
 
SAFEARRAYGetArray ()
 
voidSetByRef (AutoDataType)
 

Detailed Description

Automation data element (same data as OLE/BASIC VARIANT)

This class simply duplicates and adds access methods to the system VARIANT Data members or virtual functions cannot be added. We rely on the fact that we can cast a VARIANT safely to/from a TAutoVal.

Definition at line 526 of file autodefs.h.

Constructor & Destructor Documentation

◆ TAutoVal() [1/49]

TAutoVal::TAutoVal ( )
inline

Definition at line 1564 of file autodefs.h.

References Init().

◆ TAutoVal() [2/49]

TAutoVal::TAutoVal ( const TAutoVal & src)
inline

Definition at line 1578 of file autodefs.h.

References Init().

◆ ~TAutoVal()

TAutoVal::~TAutoVal ( )
inline

Definition at line 1571 of file autodefs.h.

References Clear().

◆ TAutoVal() [3/49]

ocf::TAutoVal::TAutoVal ( unsigned char i)
inline

Definition at line 538 of file autodefs.h.

◆ TAutoVal() [4/49]

ocf::TAutoVal::TAutoVal ( signed char i)
inline

Definition at line 539 of file autodefs.h.

◆ TAutoVal() [5/49]

ocf::TAutoVal::TAutoVal ( char i)
inline

Definition at line 540 of file autodefs.h.

◆ TAutoVal() [6/49]

ocf::TAutoVal::TAutoVal ( unsigned char * p)
inlineexplicit

Definition at line 541 of file autodefs.h.

◆ TAutoVal() [7/49]

ocf::TAutoVal::TAutoVal ( signed char * p)
inlineexplicit

Definition at line 542 of file autodefs.h.

◆ TAutoVal() [8/49]

ocf::TAutoVal::TAutoVal ( char * p)
inlineexplicit

Definition at line 543 of file autodefs.h.

◆ TAutoVal() [9/49]

ocf::TAutoVal::TAutoVal ( const char * p)
inline

Definition at line 544 of file autodefs.h.

◆ TAutoVal() [10/49]

ocf::TAutoVal::TAutoVal ( int i)
inline

Definition at line 545 of file autodefs.h.

◆ TAutoVal() [11/49]

ocf::TAutoVal::TAutoVal ( int * p)
inline

Definition at line 546 of file autodefs.h.

◆ TAutoVal() [12/49]

ocf::TAutoVal::TAutoVal ( unsigned int i)
inline

Definition at line 547 of file autodefs.h.

◆ TAutoVal() [13/49]

ocf::TAutoVal::TAutoVal ( unsigned int * p)
inline

Definition at line 548 of file autodefs.h.

◆ TAutoVal() [14/49]

ocf::TAutoVal::TAutoVal ( unsigned short i)
inline

Definition at line 549 of file autodefs.h.

◆ TAutoVal() [15/49]

ocf::TAutoVal::TAutoVal ( unsigned short * p)
inline

Definition at line 550 of file autodefs.h.

◆ TAutoVal() [16/49]

ocf::TAutoVal::TAutoVal ( long i)
inline

Definition at line 551 of file autodefs.h.

◆ TAutoVal() [17/49]

ocf::TAutoVal::TAutoVal ( long * p)
inline

Definition at line 552 of file autodefs.h.

◆ TAutoVal() [18/49]

ocf::TAutoVal::TAutoVal ( unsigned long i)
inline

Definition at line 553 of file autodefs.h.

◆ TAutoVal() [19/49]

ocf::TAutoVal::TAutoVal ( unsigned long * p)
inline

Definition at line 554 of file autodefs.h.

◆ TAutoVal() [20/49]

ocf::TAutoVal::TAutoVal ( short i)
inline

Definition at line 555 of file autodefs.h.

◆ TAutoVal() [21/49]

ocf::TAutoVal::TAutoVal ( short * p)
inline

Definition at line 556 of file autodefs.h.

◆ TAutoVal() [22/49]

ocf::TAutoVal::TAutoVal ( float i)
inline

Definition at line 557 of file autodefs.h.

◆ TAutoVal() [23/49]

ocf::TAutoVal::TAutoVal ( float * p)
inline

Definition at line 558 of file autodefs.h.

◆ TAutoVal() [24/49]

ocf::TAutoVal::TAutoVal ( double i)
inline

Definition at line 559 of file autodefs.h.

◆ TAutoVal() [25/49]

ocf::TAutoVal::TAutoVal ( double * p)
inline

Definition at line 560 of file autodefs.h.

◆ TAutoVal() [26/49]

ocf::TAutoVal::TAutoVal ( void * p)
inline

Definition at line 561 of file autodefs.h.

◆ TAutoVal() [27/49]

ocf::TAutoVal::TAutoVal ( owl::TBool i)
inline

Definition at line 562 of file autodefs.h.

◆ TAutoVal() [28/49]

ocf::TAutoVal::TAutoVal ( owl::TBool * p)
inline

Definition at line 563 of file autodefs.h.

◆ TAutoVal() [29/49]

ocf::TAutoVal::TAutoVal ( const owl::tstring & s)
inline

Definition at line 564 of file autodefs.h.

◆ TAutoVal() [30/49]

ocf::TAutoVal::TAutoVal ( TAutoString s)
inline

Definition at line 566 of file autodefs.h.

◆ TAutoVal() [31/49]

ocf::TAutoVal::TAutoVal ( owl::TString s)
inline

Definition at line 568 of file autodefs.h.

◆ TAutoVal() [32/49]

ocf::TAutoVal::TAutoVal ( TAutoCurrency i)
inline

Definition at line 569 of file autodefs.h.

◆ TAutoVal() [33/49]

ocf::TAutoVal::TAutoVal ( TAutoCurrency * p)
inline

Definition at line 570 of file autodefs.h.

◆ TAutoVal() [34/49]

ocf::TAutoVal::TAutoVal ( TAutoDate i)
inline

Definition at line 571 of file autodefs.h.

◆ TAutoVal() [35/49]

ocf::TAutoVal::TAutoVal ( TAutoDate * i)
inline

Definition at line 572 of file autodefs.h.

◆ TAutoVal() [36/49]

ocf::TAutoVal::TAutoVal ( IDispatch * ifc)
inline

Definition at line 573 of file autodefs.h.

◆ TAutoVal() [37/49]

ocf::TAutoVal::TAutoVal ( IDispatch ** ifc)
inline

Definition at line 574 of file autodefs.h.

◆ TAutoVal() [38/49]

ocf::TAutoVal::TAutoVal ( IUnknown * ifc)
inline

Definition at line 575 of file autodefs.h.

◆ TAutoVal() [39/49]

ocf::TAutoVal::TAutoVal ( IUnknown ** ifc)
inline

Definition at line 576 of file autodefs.h.

◆ TAutoVal() [40/49]

ocf::TAutoVal::TAutoVal ( IPictureDisp * ifc)
inline

Definition at line 577 of file autodefs.h.

◆ TAutoVal() [41/49]

ocf::TAutoVal::TAutoVal ( IFontDisp * ifc)
inline

Definition at line 578 of file autodefs.h.

◆ TAutoVal() [42/49]

ocf::TAutoVal::TAutoVal ( VARIANT & v)
inline

Definition at line 579 of file autodefs.h.

◆ TAutoVal() [43/49]

ocf::TAutoVal::TAutoVal ( const TNoArg & n)
inline

Definition at line 580 of file autodefs.h.

◆ TAutoVal() [44/49]

ocf::TAutoVal::TAutoVal ( BSTR * p)
inline

Definition at line 584 of file autodefs.h.

◆ TAutoVal() [45/49]

ocf::TAutoVal::TAutoVal ( TBSTR * p)
inline

Definition at line 585 of file autodefs.h.

◆ TAutoVal() [46/49]

ocf::TAutoVal::TAutoVal ( TAutoVal * p)
inline

Definition at line 586 of file autodefs.h.

◆ TAutoVal() [47/49]

ocf::TAutoVal::TAutoVal ( LARGE_INTEGER v)
inline

Definition at line 587 of file autodefs.h.

◆ TAutoVal() [48/49]

ocf::TAutoVal::TAutoVal ( ULARGE_INTEGER v)
inline

Definition at line 588 of file autodefs.h.

◆ TAutoVal() [49/49]

ocf::TAutoVal::TAutoVal ( SAFEARRAY * v)
inline

Definition at line 589 of file autodefs.h.

Member Function Documentation

◆ ChangeType()

HRESULT TAutoVal::ChangeType ( VARTYPE varType,
TAutoVal * src = 0 )
inline

Converts TAutoVal/VARIANT to another type.

Note
Converts in-place if source is not specified

Definition at line 1735 of file autodefs.h.

◆ Clear()

void TAutoVal::Clear ( )
inline

Definition at line 1697 of file autodefs.h.

References ocf::atByRef, ocf::atLoanedBSTR, ocf::atString, bstrVal, pbstrVal, and s.

◆ Copy()

void TAutoVal::Copy ( const TAutoVal & copy)
inline

Definition at line 1722 of file autodefs.h.

References ocf::atObject, ocf::atString, ocf::atUnknown, bstrVal, p, punkVal, and owl::SysAllocString().

◆ DereferenceVariant()

TAutoVal * TAutoVal::DereferenceVariant ( )
inline

Definition at line 1747 of file autodefs.h.

References ocf::atByRef, ocf::atVariant, and pvarVal.

◆ GetArray()

SAFEARRAY * TAutoVal::GetArray ( )
inline

Definition at line 1771 of file autodefs.h.

References ocf::atByRef, ocf::atSafeArray, parray, and pparray.

◆ GetDataType()

int TAutoVal::GetDataType ( ) const
inline

Definition at line 1684 of file autodefs.h.

◆ GetLanguage()

TLangId TAutoVal::GetLanguage ( ) const

Definition at line 106 of file autoval.cpp.

References ocf::atObject, ocf::atString, ocf::atVoid, and p.

◆ GetLocale()

TLocaleId TAutoVal::GetLocale ( ) const

Definition at line 91 of file autoval.cpp.

References ocf::atObject, ocf::atString, ocf::atVoid, and p.

◆ GetObjDesc()

◆ Init()

void TAutoVal::Init ( )
inline

Definition at line 1690 of file autodefs.h.

◆ IsRef()

bool TAutoVal::IsRef ( ) const
inline

Is TAutoVal Object (i.e. VARIANT) passing data by reference.

Definition at line 1741 of file autodefs.h.

References ocf::atByRef.

◆ operator BSTR()

◆ operator BSTR *()

TAutoVal::operator BSTR * ( )

Definition at line 718 of file autoval.cpp.

References ocf::atString, and pbstrVal.

◆ operator char()

TAutoVal::operator char ( )
inline

Definition at line 1606 of file autodefs.h.

◆ operator char *()

TAutoVal::operator char * ( )
inline

Definition at line 1607 of file autodefs.h.

◆ operator double()

◆ operator double *()

TAutoVal::operator double * ( )

Definition at line 534 of file autoval.cpp.

References ocf::atDouble.

◆ operator float()

◆ operator float *()

TAutoVal::operator float * ( )

Definition at line 526 of file autoval.cpp.

References ocf::atFloat.

◆ operator IDispatch &()

TAutoVal::operator IDispatch & ( )

◆ operator IDispatch *()

TAutoVal::operator IDispatch * ( )

◆ operator IDispatch **()

TAutoVal::operator IDispatch ** ( )

◆ operator IFontDisp &()

TAutoVal::operator IFontDisp & ( )

Definition at line 675 of file autoval.cpp.

References STATIC_CAST.

◆ operator IFontDisp *()

TAutoVal::operator IFontDisp * ( )

Definition at line 609 of file autoval.cpp.

References STATIC_CAST.

◆ operator int()

TAutoVal::operator int ( )
inline

Definition at line 1600 of file autodefs.h.

◆ operator int *()

TAutoVal::operator int * ( )
inline

Definition at line 1602 of file autodefs.h.

◆ operator IPictureDisp &()

TAutoVal::operator IPictureDisp & ( )

Definition at line 668 of file autoval.cpp.

References STATIC_CAST.

◆ operator IPictureDisp *()

TAutoVal::operator IPictureDisp * ( )

Definition at line 601 of file autoval.cpp.

References STATIC_CAST.

◆ operator IUnknown &()

TAutoVal::operator IUnknown & ( )

◆ operator IUnknown *()

TAutoVal::operator IUnknown * ( )

◆ operator IUnknown **()

TAutoVal::operator IUnknown ** ( )

◆ operator LARGE_INTEGER()

TAutoVal::operator LARGE_INTEGER ( )

Definition at line 771 of file autoval.cpp.

References hVal, ocf::TXAuto::Raise(), and ocf::TXAuto::xConversionFailure.

◆ operator long()

◆ operator long *()

TAutoVal::operator long * ( )

Definition at line 502 of file autoval.cpp.

References ocf::atLong.

◆ operator owl::TBool()

ocf::TAutoVal::operator owl::TBool ( )

◆ operator owl::TBool *()

ocf::TAutoVal::operator owl::TBool * ( )

◆ operator owl::tstring()

◆ operator owl::TString()

ocf::TAutoVal::operator owl::TString ( )

◆ operator owl::TUString *()

ocf::TAutoVal::operator owl::TUString * ( )

◆ operator SAFEARRAY *()

TAutoVal::operator SAFEARRAY * ( )

◆ operator short()

TAutoVal::operator short ( )

case atLong: if (lVal>0x7FFFL || lVal <0xFFFF8000L) break; return (short)lVal;

case atByRef+atLong: if (*plVal>0x7FFFL || *plVal <0xFFFF8000L) break; return (short)*plVal;

Definition at line 151 of file autoval.cpp.

References ocf::atBool, ocf::atByRef, ocf::atByte, ocf::atCurrency, ocf::atDatetime, ocf::atDouble, ocf::atFloat, ocf::atLong, ocf::atObject, ocf::atShort, ocf::atString, ocf::TXAuto::Raise(), and ocf::TXAuto::xConversionFailure.

◆ operator short *()

TAutoVal::operator short * ( )

Definition at line 486 of file autoval.cpp.

References ocf::atShort.

◆ operator signed char()

TAutoVal::operator signed char ( )
inline

Definition at line 1605 of file autodefs.h.

◆ operator signed char *()

TAutoVal::operator signed char * ( )
inline

Definition at line 1608 of file autodefs.h.

◆ operator TAutoCurrency()

◆ operator TAutoCurrency *()

TAutoVal::operator TAutoCurrency * ( )

Definition at line 558 of file autoval.cpp.

References ocf::atCurrency.

◆ operator TAutoDate()

◆ operator TAutoDate *()

TAutoVal::operator TAutoDate * ( )

Definition at line 550 of file autoval.cpp.

References ocf::atDatetime.

◆ operator TAutoString()

TAutoVal::operator TAutoString ( )

Definition at line 450 of file autoval.cpp.

◆ operator TAutoVal *()

TAutoVal::operator TAutoVal * ( )

Definition at line 766 of file autoval.cpp.

◆ operator TBSTR *()

TAutoVal::operator TBSTR * ( )

Definition at line 724 of file autoval.cpp.

References ocf::atString, and pbstrVal.

◆ operator ULARGE_INTEGER()

TAutoVal::operator ULARGE_INTEGER ( )

Definition at line 782 of file autoval.cpp.

References ocf::TXAuto::Raise(), uhVal, and ocf::TXAuto::xConversionFailure.

◆ operator unsigned char()

◆ operator unsigned char *()

TAutoVal::operator unsigned char * ( )

Definition at line 478 of file autoval.cpp.

References ocf::atByte.

◆ operator unsigned int()

TAutoVal::operator unsigned int ( )
inline

Definition at line 1601 of file autodefs.h.

◆ operator unsigned long()

TAutoVal::operator unsigned long ( )
inline

Definition at line 1594 of file autodefs.h.

◆ operator unsigned long *()

TAutoVal::operator unsigned long * ( )

Definition at line 510 of file autoval.cpp.

References ocf::atLong.

◆ operator unsigned short()

TAutoVal::operator unsigned short ( )

Definition at line 467 of file autoval.cpp.

References ocf::TXAuto::Raise(), and ocf::TXAuto::xConversionFailure.

◆ operator unsigned short *()

TAutoVal::operator unsigned short * ( )

Definition at line 494 of file autoval.cpp.

References ocf::atShort.

◆ operator void *()

TAutoVal::operator void * ( )

Definition at line 542 of file autoval.cpp.

References ocf::atVoid.

◆ operator=() [1/50]

void TAutoVal::operator= ( BSTR * p)
inline

Definition at line 1659 of file autodefs.h.

References ocf::atByRef, ocf::atString, p, and pbstrVal.

◆ operator=() [2/50]

void TAutoVal::operator= ( char * p)
inline

Definition at line 1632 of file autodefs.h.

References ocf::atByRef, ocf::atByte, p, and pbVal.

◆ operator=() [3/50]

void TAutoVal::operator= ( char i)
inline

Definition at line 1619 of file autodefs.h.

References ocf::atByte, and bVal.

◆ operator=() [4/50]

void TAutoVal::operator= ( const char * p)

◆ operator=() [5/50]

void TAutoVal::operator= ( const owl::tstring & s)

◆ operator=() [6/50]

const TAutoVal & TAutoVal::operator= ( const TAutoVal & src)
inline

Definition at line 1586 of file autodefs.h.

◆ operator=() [7/50]

void TAutoVal::operator= ( const TNoArg & n)
inline

Definition at line 1628 of file autodefs.h.

References ocf::atError, and scode.

◆ operator=() [8/50]

void TAutoVal::operator= ( double * p)
inline

Definition at line 1637 of file autodefs.h.

References ocf::atByRef, ocf::atDouble, p, and pdblVal.

◆ operator=() [9/50]

void TAutoVal::operator= ( double i)
inline

Definition at line 1623 of file autodefs.h.

References ocf::atDouble, and dblVal.

◆ operator=() [10/50]

void TAutoVal::operator= ( float * p)
inline

Definition at line 1636 of file autodefs.h.

References ocf::atByRef, ocf::atFloat, p, and pfltVal.

◆ operator=() [11/50]

void TAutoVal::operator= ( float i)
inline

Definition at line 1622 of file autodefs.h.

References ocf::atFloat, and fltVal.

◆ operator=() [12/50]

void TAutoVal::operator= ( IDispatch ** p)
inline

Definition at line 1662 of file autodefs.h.

References ocf::atByRef, ocf::atObject, p, and ppdispVal.

◆ operator=() [13/50]

void TAutoVal::operator= ( IDispatch * ifc)
inline

Definition at line 1611 of file autodefs.h.

References ocf::atObject, and pdispVal.

◆ operator=() [14/50]

void TAutoVal::operator= ( IFontDisp * ifc)
inline

Definition at line 1614 of file autodefs.h.

References ocf::atObject, and pdispVal.

◆ operator=() [15/50]

void TAutoVal::operator= ( int * p)
inline

Definition at line 1653 of file autodefs.h.

References ocf::atByRef, ocf::atLong, p, and plVal.

◆ operator=() [16/50]

void TAutoVal::operator= ( int i)
inline

Definition at line 1652 of file autodefs.h.

References ocf::atLong, and lVal.

◆ operator=() [17/50]

void TAutoVal::operator= ( IPictureDisp * ifc)
inline

Definition at line 1613 of file autodefs.h.

References ocf::atObject, and pdispVal.

◆ operator=() [18/50]

void TAutoVal::operator= ( IUnknown ** p)
inline

Definition at line 1661 of file autodefs.h.

References ocf::atByRef, ocf::atUnknown, p, and ppunkVal.

◆ operator=() [19/50]

void TAutoVal::operator= ( IUnknown * ifc)
inline

Definition at line 1610 of file autodefs.h.

References ocf::atUnknown, and punkVal.

◆ operator=() [20/50]

void TAutoVal::operator= ( LARGE_INTEGER v)
inline

Definition at line 1664 of file autodefs.h.

References hVal.

◆ operator=() [21/50]

void TAutoVal::operator= ( long * p)
inline

Definition at line 1634 of file autodefs.h.

References ocf::atByRef, ocf::atLong, p, and plVal.

◆ operator=() [22/50]

void TAutoVal::operator= ( long i)
inline

Definition at line 1621 of file autodefs.h.

References ocf::atLong, and lVal.

◆ operator=() [23/50]

void TAutoVal::operator= ( owl::TBool * p)
inline

Definition at line 1635 of file autodefs.h.

References ocf::atBool, ocf::atByRef, p, and pbool.

◆ operator=() [24/50]

void TAutoVal::operator= ( owl::TBool i)
inline

Definition at line 1624 of file autodefs.h.

References ocf::atBool, and boolVal.

◆ operator=() [25/50]

void TAutoVal::operator= ( owl::TString s)

◆ operator=() [26/50]

void TAutoVal::operator= ( SAFEARRAY * p)
inline

Definition at line 1666 of file autodefs.h.

References p, and parray.

◆ operator=() [27/50]

void TAutoVal::operator= ( short * p)
inline

Definition at line 1633 of file autodefs.h.

References ocf::atByRef, ocf::atShort, p, and piVal.

◆ operator=() [28/50]

void TAutoVal::operator= ( short i)
inline

Definition at line 1620 of file autodefs.h.

References ocf::atShort, and iVal.

◆ operator=() [29/50]

void TAutoVal::operator= ( signed char * p)
inline

Definition at line 1631 of file autodefs.h.

References ocf::atByRef, ocf::atByte, p, and pbVal.

◆ operator=() [30/50]

void TAutoVal::operator= ( signed char i)
inline

Definition at line 1618 of file autodefs.h.

References ocf::atByte, and bVal.

◆ operator=() [31/50]

void TAutoVal::operator= ( TAutoCurrency * p)
inline

Definition at line 1640 of file autodefs.h.

References ocf::atByRef, ocf::atCurrency, p, and pcyVal.

◆ operator=() [32/50]

void TAutoVal::operator= ( TAutoCurrency i)
inline

Definition at line 1626 of file autodefs.h.

References ocf::atCurrency, and cyVal.

◆ operator=() [33/50]

void TAutoVal::operator= ( TAutoDate * i)
inline

Definition at line 1639 of file autodefs.h.

References ocf::atByRef, ocf::atDatetime, p, and pdate.

◆ operator=() [34/50]

void TAutoVal::operator= ( TAutoDate i)
inline

Definition at line 1625 of file autodefs.h.

References ocf::atDatetime, and date.

◆ operator=() [35/50]

void TAutoVal::operator= ( TAutoString s)

◆ operator=() [36/50]

void TAutoVal::operator= ( TAutoVal * p)
inline

Definition at line 1663 of file autodefs.h.

References ocf::atByRef, ocf::atVariant, p, and pvarVal.

◆ operator=() [37/50]

void TAutoVal::operator= ( TAutoVoid )
inline

Definition at line 1627 of file autodefs.h.

References ocf::atVoid.

◆ operator=() [38/50]

void TAutoVal::operator= ( TBSTR * p)
inline

Definition at line 1660 of file autodefs.h.

References ocf::atByRef, ocf::atString, p, and pbstrVal.

◆ operator=() [39/50]

◆ operator=() [40/50]

void TAutoVal::operator= ( ULARGE_INTEGER v)
inline

Definition at line 1665 of file autodefs.h.

References uhVal.

◆ operator=() [41/50]

void TAutoVal::operator= ( unsigned char * p)
inline

Definition at line 1630 of file autodefs.h.

References ocf::atByRef, ocf::atByte, p, and pbVal.

◆ operator=() [42/50]

void TAutoVal::operator= ( unsigned char i)
inline

Definition at line 1617 of file autodefs.h.

References ocf::atByte, and bVal.

◆ operator=() [43/50]

void TAutoVal::operator= ( unsigned int * p)
inline

Definition at line 1655 of file autodefs.h.

References operator=(), and p.

◆ operator=() [44/50]

void TAutoVal::operator= ( unsigned int i)
inline

Definition at line 1654 of file autodefs.h.

References operator=().

◆ operator=() [45/50]

void TAutoVal::operator= ( unsigned long * p)
inline

Definition at line 1645 of file autodefs.h.

References ocf::atByRef, ocf::atLong, p, and plVal.

◆ operator=() [46/50]

void TAutoVal::operator= ( unsigned long i)
inline

Definition at line 1644 of file autodefs.h.

References ocf::atLong, and lVal.

◆ operator=() [47/50]

void TAutoVal::operator= ( unsigned short * p)
inline

Definition at line 1643 of file autodefs.h.

References ocf::atByRef, ocf::atShort, p, and piVal.

◆ operator=() [48/50]

void TAutoVal::operator= ( unsigned short i)
inline

Definition at line 1642 of file autodefs.h.

References ocf::atLong, and lVal.

◆ operator=() [49/50]

void TAutoVal::operator= ( VARIANT & v)
inline

Definition at line 1616 of file autodefs.h.

References ocf::atVariant, and pvarVal.

◆ operator=() [50/50]

void TAutoVal::operator= ( void * p)
inline

Definition at line 1638 of file autodefs.h.

References ocf::atByRef, ocf::atVoid, byref, and p.

◆ Restore()

void TAutoVal::Restore ( )
inline

Definition at line 1708 of file autodefs.h.

References ocf::atBool, ocf::atByRef, ocf::atLoanedBSTR, ocf::atString, bstrVal, pbool, pbstrVal, and s.

◆ SetByRef()

void * TAutoVal::SetByRef ( AutoDataType datatype)
inline

Definition at line 1791 of file autodefs.h.

References ocf::atVariant, and byref.

◆ SetLocale()

void TAutoVal::SetLocale ( TLocaleId locale)

Definition at line 77 of file autoval.cpp.

References ocf::atObject, ocf::atString, ocf::atVoid, and p.

◆ StrVal()

owl::TString TAutoVal::StrVal ( )
inline

Definition at line 1753 of file autodefs.h.

References ocf::atString, and bstrVal.

Member Data Documentation

◆ boolVal

VARIANT_BOOL ocf::TAutoVal::boolVal

Definition at line 745 of file autodefs.h.

◆ bstrVal

BSTR ocf::TAutoVal::bstrVal

Definition at line 749 of file autodefs.h.

◆ bVal

unsigned char ocf::TAutoVal::bVal

Definition at line 740 of file autodefs.h.

◆ byref

void* ocf::TAutoVal::byref

Definition at line 767 of file autodefs.h.

◆ cyVal

TAutoCurrency ocf::TAutoVal::cyVal

Definition at line 747 of file autodefs.h.

◆ date

DATE ocf::TAutoVal::date

Definition at line 748 of file autodefs.h.

◆ dblVal

double ocf::TAutoVal::dblVal

Definition at line 744 of file autodefs.h.

◆ fltVal

float ocf::TAutoVal::fltVal

Definition at line 743 of file autodefs.h.

◆ Holder

owl::TUString* ocf::TAutoVal::Holder

String holder sharing current BSTR.

Definition at line 780 of file autodefs.h.

◆ hVal

LARGE_INTEGER ocf::TAutoVal::hVal

Also support LARGE_INTEGER.

Definition at line 785 of file autodefs.h.

◆ iVal

short ocf::TAutoVal::iVal

Definition at line 741 of file autodefs.h.

◆ Locale

LCID ocf::TAutoVal::Locale

Unused 4 bytes for pointer types.

Definition at line 775 of file autodefs.h.

◆ lVal

long ocf::TAutoVal::lVal

Definition at line 742 of file autodefs.h.

◆ ObjDesc

TObjectDescBase ocf::TAutoVal::ObjDesc

Temporary space for returning object.

Definition at line 783 of file autodefs.h.

◆ [struct]

struct { ... } ocf::TAutoVal::p

◆ parray

SAFEARRAY* ocf::TAutoVal::parray

Definition at line 752 of file autodefs.h.

◆ pbool

VARIANT_BOOL* ocf::TAutoVal::pbool

Definition at line 758 of file autodefs.h.

◆ pbstrVal

BSTR* ocf::TAutoVal::pbstrVal

Definition at line 762 of file autodefs.h.

◆ pbVal

unsigned char* ocf::TAutoVal::pbVal

Definition at line 753 of file autodefs.h.

◆ pcyVal

TAutoCurrency* ocf::TAutoVal::pcyVal

Definition at line 760 of file autodefs.h.

◆ pdate

DATE* ocf::TAutoVal::pdate

Definition at line 761 of file autodefs.h.

◆ pdblVal

double* ocf::TAutoVal::pdblVal

Definition at line 757 of file autodefs.h.

◆ pdispVal

IDispatch* ocf::TAutoVal::pdispVal

Definition at line 751 of file autodefs.h.

◆ pfltVal

float* ocf::TAutoVal::pfltVal

Definition at line 756 of file autodefs.h.

◆ piVal

short* ocf::TAutoVal::piVal

Definition at line 754 of file autodefs.h.

◆ plVal

long* ocf::TAutoVal::plVal

Definition at line 755 of file autodefs.h.

◆ pparray

SAFEARRAY* * ocf::TAutoVal::pparray

Definition at line 765 of file autodefs.h.

◆ ppdispVal

IDispatch* * ocf::TAutoVal::ppdispVal

Definition at line 764 of file autodefs.h.

◆ ppunkVal

IUnknown* * ocf::TAutoVal::ppunkVal

Definition at line 763 of file autodefs.h.

◆ pscode

SCODE* ocf::TAutoVal::pscode

Definition at line 759 of file autodefs.h.

◆ punkVal

IUnknown* ocf::TAutoVal::punkVal

Definition at line 750 of file autodefs.h.

◆ pvarVal

VARIANT* ocf::TAutoVal::pvarVal

Definition at line 766 of file autodefs.h.

◆ [struct]

struct { ... } ocf::TAutoVal::s

◆ scode

SCODE ocf::TAutoVal::scode

Definition at line 746 of file autodefs.h.

◆ uhVal

ULARGE_INTEGER ocf::TAutoVal::uhVal

Also support ULARGE_INTEGER.

Definition at line 786 of file autodefs.h.

◆ Val [1/2]

void* ocf::TAutoVal::Val

< Added locale info for BSTR/IDispatch

Definition at line 774 of file autodefs.h.

◆ Val [2/2]

BSTR ocf::TAutoVal::Val

< Added info when loaned BSTR ownership

Definition at line 779 of file autodefs.h.


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