120TAutoVal::operator
unsigned char()
133 case atBool:
return (
unsigned char)(boolVal ? 1 : 0);
155 case atByte:
return (
short)bVal;
188 case atByte:
return (
long)bVal;
189 case atShort:
return (
long)iVal;
197 case atBool:
return boolVal ? 1L : 0
L;
215TAutoVal::operator
TBool()
223 case atCurrency:
return static_cast<TBool>(cyVal.Lo!=0 || cyVal.Hi != 0);
227 case atBool:
return static_cast<TBool>(boolVal != 0);
472 return (
unsigned short)
temp;
478TAutoVal::operator
unsigned char* ()
486TAutoVal::operator
short* ()
494TAutoVal::operator
unsigned short* ()
497 return (
unsigned short*)piVal;
502TAutoVal::operator
long* ()
510TAutoVal::operator
unsigned long* ()
513 return (
unsigned long*)plVal;
518TAutoVal::operator
TBool* ()
521 return (
TBool*)pbool;
526TAutoVal::operator
float* ()
534TAutoVal::operator
double* ()
542TAutoVal::operator
void* ()
566void TAutoVal::ConvRef(
int type)
591 (*ppdispVal)->AddRef();
616TAutoVal::operator IUnknown*()
625 (*ppunkVal)->AddRef();
635 (*ppdispVal)->AddRef();
644TAutoVal::operator IUnknown&()
738TAutoVal::operator IUnknown**()
745 (*ppunkVal)->AddRef();
759 (*ppdispVal)->AddRef();
OLE Automation Class Definitions.
Based on reference counted TString with added automation functionality.
Automation data element (same data as OLE/BASIC VARIANT)
struct ocf::TAutoVal::@47::@50 s
LARGE_INTEGER hVal
Also support LARGE_INTEGER.
struct ocf::TAutoVal::@47::@49 p
TLocaleId GetLocale() const
void SetLocale(TLocaleId)
ULARGE_INTEGER uhVal
Also support ULARGE_INTEGER.
const TAutoVal & operator=(const TAutoVal &src)
owl::TLangId GetLanguage() const
static void Raise(TError err)
Reference to reference counted string object TUString Lightweight reference object consisting of a po...
System string (BSTR) encapsulation.
Privately used by TString to manage string pointers This is a reference counted union of various stri...
static TUString * Create(const char *str)
Derived from xmsg, TXBase is the base class for ObjectWindows and ObjectComponents exception-handling...
Include for OC, gets common headers when precompiled headers are enabled.
Object Component Framework (COM encapsulation)
const owl::uint16 atSafeArray
TCHAR * GetAutoExceptionMsg(TXAuto::TError err)
const owl::uint16 atByRef
Object Windows Library (OWLNext Core)
owl::uint16 TLangId
Holds a language ID, a predefined number that represents a base language and dialect.
const TLangId LangUserDefault
BSTR SysAllocString(const char *str)
#define STATIC_CAST(targetType, object)
static TLangId NativeLangId
The base language ID of non-localized strings.