Lines Matching defs:VARIANT
18 // Scoped VARIANT class for automatically freeing a COM VARIANT at the
20 // encapsulated VARIANT easier to use.
21 // Instead of inheriting from VARIANT, we take the containment approach
27 static const VARIANT kEmptyVariant;
35 // Constructor to create a new VT_BSTR VARIANT.
44 // VARIANT.lVal (32 bit sized field).
61 explicit ScopedVariant(const VARIANT& var);
69 // Give ScopedVariant ownership over an already allocated VARIANT.
70 void Reset(const VARIANT& var = kEmptyVariant);
72 // Releases ownership of the VARIANT to the caller.
73 VARIANT Release();
79 VARIANT Copy() const;
83 int Compare(const VARIANT& var, bool ignore_case = false) const;
86 // Used to receive a VARIANT as an out argument (and take ownership).
89 VARIANT* Receive();
109 void Set(const VARIANT& var);
126 const VARIANT* operator&() const {
132 ScopedVariant& operator=(const VARIANT& var);
138 VARIANT* AsInput() const {
141 return const_cast<VARIANT*>(&var_);
146 operator const VARIANT&() const {
154 VARIANT var_;