|
STDMETHOD() | Next (unsigned long celt, VARIANT FAR *rgvar, unsigned long FAR *pceltFetched) |
|
STDMETHOD() | Skip (unsigned long celt) |
|
STDMETHOD() | Reset () |
|
STDMETHOD() | Clone (IEnumVARIANT FAR *FAR *ppenum) |
|
HRESULT | Add (const VARIANT &vt) |
|
| SepaControlUnknown () |
|
HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID iid, void **pvvObject) |
|
ULONG STDMETHODCALLTYPE | AddRef () |
|
ULONG STDMETHODCALLTYPE | Release () |
|
|
typedef std::array< VARIANT, VariantBlockSize > | VariantBlockType |
|
typedef std::vector< VariantBlockType * > | VariantBlockList |
|
◆ ~EnumVariant()
EnumVariant::~EnumVariant |
( |
| ) |
|
|
protected |
Destructor with protected access. This object has to be freed through Release method since it uses reference counting. Calls VariantClear on all objects in the internal list.
- See also
- Release()
◆ Add()
HRESULT EnumVariant::Add |
( |
const VARIANT & |
vt | ) |
|
Add a variant to the intenal list.
◆ Get()
VARIANT & EnumVariant::Get |
( |
std::size_t |
index | ) |
|
|
protected |
◆ Grow()
HRESULT EnumVariant::Grow |
( |
| ) |
|
|
protected |
Adds one VARIANT block to the objects list.
◆ VariantBlockSize
const std::size_t EnumVariant::VariantBlockSize = 10 |
|
staticprotected |
The count of VARIANT structures in the objects array
- See also
- m_objects;
The documentation for this class was generated from the following files:
- /home/okkel/Projects/Cpp/separatista/win32/SeparatistaControl/enumvariant.h
- /home/okkel/Projects/Cpp/separatista/win32/SeparatistaControl/enumvariant.cpp