Flutter Engine
The Flutter Engine
|
#include <scoped_variant.h>
Public Member Functions | |
ScopedVariant () | |
ScopedVariant (const wchar_t *str) | |
ScopedVariant (const wchar_t *str, UINT length) | |
ScopedVariant (long value, VARTYPE vt=VT_I4) | |
ScopedVariant (int value) | |
ScopedVariant (bool value) | |
ScopedVariant (double value, VARTYPE vt=VT_R8) | |
ScopedVariant (IDispatch *dispatch) | |
ScopedVariant (IUnknown *unknown) | |
ScopedVariant (SAFEARRAY *safearray) | |
ScopedVariant (const VARIANT &var) | |
ScopedVariant (ScopedVariant &&var) | |
~ScopedVariant () | |
VARTYPE | type () const |
void | Reset (const VARIANT &var=kEmptyVariant) |
VARIANT | Release () |
void | Swap (ScopedVariant &var) |
VARIANT | Copy () const |
int | Compare (const VARIANT &other, bool ignore_case=false) const |
VARIANT * | Receive () |
void | Set (const wchar_t *str) |
void | Set (int8_t i8) |
void | Set (uint8_t ui8) |
void | Set (int16_t i16) |
void | Set (uint16_t ui16) |
void | Set (int32_t i32) |
void | Set (uint32_t ui32) |
void | Set (int64_t i64) |
void | Set (uint64_t ui64) |
void | Set (float r32) |
void | Set (double r64) |
void | Set (bool b) |
void | Set (const VARIANT &var) |
void | Set (IDispatch *disp) |
void | Set (IUnknown *unk) |
void | Set (SAFEARRAY *array) |
void | SetDate (DATE date) |
const VARIANT * | ptr () const |
ScopedVariant & | operator= (ScopedVariant &&var) |
ScopedVariant & | operator= (const VARIANT &var) |
VARIANT * | AsInput () const |
operator const VARIANT & () const | |
Static Public Member Functions | |
static bool | IsLeakableVarType (VARTYPE vt) |
Static Public Attributes | |
static const VARIANT | kEmptyVariant = {{{VT_EMPTY}}} |
Protected Attributes | |
VARIANT | var_ |
Definition at line 26 of file scoped_variant.h.
|
inline |
Definition at line 32 of file scoped_variant.h.
|
explicit |
Definition at line 33 of file scoped_variant.cc.
base::win::ScopedVariant::ScopedVariant | ( | const wchar_t * | str, |
UINT | length | ||
) |
Definition at line 38 of file scoped_variant.cc.
|
explicit |
Definition at line 43 of file scoped_variant.cc.
|
explicit |
Definition at line 48 of file scoped_variant.cc.
|
explicit |
Definition at line 53 of file scoped_variant.cc.
|
explicit |
Definition at line 58 of file scoped_variant.cc.
|
explicit |
Definition at line 64 of file scoped_variant.cc.
|
explicit |
Definition at line 69 of file scoped_variant.cc.
|
explicit |
Definition at line 74 of file scoped_variant.cc.
|
explicit |
Definition at line 79 of file scoped_variant.cc.
base::win::ScopedVariant::ScopedVariant | ( | ScopedVariant && | var | ) |
Definition at line 23 of file scoped_variant.cc.
base::win::ScopedVariant::~ScopedVariant | ( | ) |
Definition at line 28 of file scoped_variant.cc.
|
inline |
Definition at line 162 of file scoped_variant.h.
int base::win::ScopedVariant::Compare | ( | const VARIANT & | other, |
bool | ignore_case = false |
||
) | const |
Definition at line 114 of file scoped_variant.cc.
VARIANT base::win::ScopedVariant::Copy | ( | ) | const |
Definition at line 108 of file scoped_variant.cc.
|
static |
Definition at line 308 of file scoped_variant.cc.
|
inline |
Definition at line 170 of file scoped_variant.h.
ScopedVariant & base::win::ScopedVariant::operator= | ( | const VARIANT & | var | ) |
Definition at line 300 of file scoped_variant.cc.
ScopedVariant & base::win::ScopedVariant::operator= | ( | ScopedVariant && | var | ) |
Definition at line 294 of file scoped_variant.cc.
|
inline |
Definition at line 148 of file scoped_variant.h.
VARIANT * base::win::ScopedVariant::Receive | ( | ) |
Definition at line 103 of file scoped_variant.cc.
VARIANT base::win::ScopedVariant::Release | ( | ) |
Definition at line 91 of file scoped_variant.cc.
void base::win::ScopedVariant::Reset | ( | const VARIANT & | var = kEmptyVariant | ) |
Definition at line 84 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | bool | b | ) |
Definition at line 261 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | const VARIANT & | var | ) |
Definition at line 286 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | const wchar_t * | str | ) |
Definition at line 181 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | double | r64 | ) |
Definition at line 241 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | float | r32 | ) |
Definition at line 235 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | IDispatch * | disp | ) |
Definition at line 253 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | int16_t | i16 | ) |
Definition at line 199 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | int32_t | i32 | ) |
Definition at line 211 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | int64_t | i64 | ) |
Definition at line 223 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | int8_t | i8 | ) |
Definition at line 187 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | IUnknown * | unk | ) |
Definition at line 267 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | SAFEARRAY * | array | ) |
Definition at line 275 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | uint16_t | ui16 | ) |
Definition at line 205 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | uint32_t | ui32 | ) |
Definition at line 217 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | uint64_t | ui64 | ) |
Definition at line 229 of file scoped_variant.cc.
void base::win::ScopedVariant::Set | ( | uint8_t | ui8 | ) |
Definition at line 193 of file scoped_variant.cc.
void base::win::ScopedVariant::SetDate | ( | DATE | date | ) |
Definition at line 247 of file scoped_variant.cc.
void base::win::ScopedVariant::Swap | ( | ScopedVariant & | var | ) |
Definition at line 97 of file scoped_variant.cc.
|
inline |
Definition at line 78 of file scoped_variant.h.
|
static |
Definition at line 29 of file scoped_variant.h.
|
protected |
Definition at line 176 of file scoped_variant.h.