Home | History | Annotate | Download | only in win

Lines Matching defs:ScopedVariant

23 class BASE_EXPORT ScopedVariant {
29 ScopedVariant() {
37 explicit ScopedVariant(const wchar_t* str);
40 ScopedVariant(const wchar_t* str, UINT length);
44 explicit ScopedVariant(int value, VARTYPE vt = VT_I4);
48 explicit ScopedVariant(double value, VARTYPE vt = VT_R8);
51 explicit ScopedVariant(IDispatch* dispatch);
54 explicit ScopedVariant(IUnknown* unknown);
57 explicit ScopedVariant(SAFEARRAY* safearray);
60 explicit ScopedVariant(const VARIANT& var);
62 ~ScopedVariant();
68 // Give ScopedVariant ownership over an already allocated VARIANT.
74 // Swap two ScopedVariant's.
75 void Swap(ScopedVariant& var);
131 ScopedVariant& operator=(const VARIANT& var);
143 // Allows the ScopedVariant instance to be passed to functions either by value
156 // Comparison operators for ScopedVariant are not supported at this point.
158 bool operator==(const ScopedVariant& var) const;
159 bool operator!=(const ScopedVariant& var) const;
160 DISALLOW_COPY_AND_ASSIGN(ScopedVariant);