24 #include "unknown.cpp" 25 #include "separatista/debug/debug.h" 27 #ifndef SEPARATISTA_ENUMVARIANT_H 28 #define SEPARATISTA_ENUMVARIANT_H 36 STDMETHOD(Next)(
unsigned long celt, VARIANT FAR* rgvar,
unsigned long FAR* pceltFetched);
37 STDMETHOD(Skip)(
unsigned long celt);
39 STDMETHOD(Clone)(IEnumVARIANT FAR* FAR* ppenum);
45 HRESULT
Add(
const VARIANT &vt);
69 VARIANT&
Get(std::size_t index);
71 typedef std::array<VARIANT, VariantBlockSize> VariantBlockType;
72 typedef std::vector<VariantBlockType*> VariantBlockList;
80 VariantBlockList m_objects;
97 #endif // !defined SEPARATISTA_ENUMVARIANT_H HRESULT Grow()
Definition: enumvariant.cpp:148
Definition: enumvariant.h:30
VARIANT & Get(std::size_t index)
Definition: enumvariant.cpp:168
HRESULT Add(const VARIANT &vt)
Definition: enumvariant.cpp:124
~EnumVariant()
Definition: enumvariant.cpp:36
static const std::size_t VariantBlockSize
Definition: enumvariant.h:59