OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
ocf::TAutoIterator Class Referenceabstract

automation collection iterator More...

#include <ocf/autodefs.h>

Inheritance diagram for ocf::TAutoIterator:

Public Member Functions

HRESULT _IFUNC QueryInterface (const GUID &iid, void **pif)
 
unsigned long _IFUNC AddRef ()
 
unsigned long _IFUNC Release ()
 
HRESULT _IFUNC Next (unsigned long count, VARIANT *retvals, unsigned long *retcount)
 
HRESULT _IFUNC Skip (unsigned long count)
 
HRESULT _IFUNC Reset ()
 
HRESULT _IFUNC Clone (IEnumVARIANT **retiter)
 
virtual void Init ()=0
 
virtual bool Test ()=0
 
virtual void Step ()=0
 
virtual void Return (TAutoVal &v)=0
 
virtual TAutoIteratorCopy ()=0
 
TAutoSymbolGetSymbol ()
 
void SetSymbol (TAutoSymbol *sym)
 
 operator IUnknown * ()
 
virtual ~TAutoIterator ()
 

Public Attributes

TAutoClassClass
 

Protected Member Functions

 TAutoIterator (TAutoCreator &creator, IUnknown *owner, owl::TLangId lang)
 
 TAutoIterator (TAutoIterator &copy)
 

Protected Attributes

TAutoSymbolSymbol
 
TAutoCreatorCreator
 
IUnknown * Owner
 
unsigned RefCnt
 
owl::TLangId Lang
 

Detailed Description

automation collection iterator

Definition at line 1186 of file autodefs.h.

Constructor & Destructor Documentation

◆ ~TAutoIterator()

ocf::TAutoIterator::~TAutoIterator ( )
virtual

Definition at line 39 of file autoiter.cpp.

References Owner.

◆ TAutoIterator() [1/2]

ocf::TAutoIterator::TAutoIterator ( TAutoCreator & creator,
IUnknown * owner,
owl::TLangId lang )
protected

Definition at line 18 of file autoiter.cpp.

◆ TAutoIterator() [2/2]

ocf::TAutoIterator::TAutoIterator ( TAutoIterator & copy)
protected

Definition at line 29 of file autoiter.cpp.

References Owner.

Member Function Documentation

◆ AddRef()

unsigned long _IFUNC ocf::TAutoIterator::AddRef ( )

Definition at line 62 of file autoiter.cpp.

References RefCnt.

◆ Clone()

HRESULT _IFUNC ocf::TAutoIterator::Clone ( IEnumVARIANT ** retiter)

Definition at line 133 of file autoiter.cpp.

References Copy(), HR_NOERROR, and HR_OUTOFMEMORY.

◆ Copy()

virtual TAutoIterator * ocf::TAutoIterator::Copy ( )
pure virtual

◆ GetSymbol()

TAutoSymbol * ocf::TAutoIterator::GetSymbol ( )
inline

Definition at line 1903 of file autodefs.h.

References Symbol.

◆ Init()

virtual void ocf::TAutoIterator::Init ( )
pure virtual

◆ Next()

◆ operator IUnknown *()

ocf::TAutoIterator::operator IUnknown * ( )
inline

Definition at line 1902 of file autodefs.h.

◆ QueryInterface()

HRESULT _IFUNC ocf::TAutoIterator::QueryInterface ( const GUID & iid,
void ** pif )

Definition at line 48 of file autoiter.cpp.

References HR_NOERROR, HR_NOINTERFACE, and RefCnt.

◆ Release()

unsigned long _IFUNC ocf::TAutoIterator::Release ( )

Definition at line 70 of file autoiter.cpp.

References RefCnt.

◆ Reset()

HRESULT _IFUNC ocf::TAutoIterator::Reset ( )

Definition at line 124 of file autoiter.cpp.

References HR_NOERROR, and Init().

◆ Return()

virtual void ocf::TAutoIterator::Return ( TAutoVal & v)
pure virtual

◆ SetSymbol()

void ocf::TAutoIterator::SetSymbol ( TAutoSymbol * sym)
inline

Definition at line 1904 of file autodefs.h.

References Symbol.

◆ Skip()

HRESULT _IFUNC ocf::TAutoIterator::Skip ( unsigned long count)

Definition at line 111 of file autoiter.cpp.

References HR_FALSE, HR_NOERROR, Step(), and Test().

◆ Step()

virtual void ocf::TAutoIterator::Step ( )
pure virtual

◆ Test()

virtual bool ocf::TAutoIterator::Test ( )
pure virtual

Member Data Documentation

◆ Class

TAutoClass* ocf::TAutoIterator::Class

Definition at line 1211 of file autodefs.h.

◆ Creator

TAutoCreator& ocf::TAutoIterator::Creator
protected

Definition at line 1214 of file autodefs.h.

◆ Lang

owl::TLangId ocf::TAutoIterator::Lang
protected

Definition at line 1217 of file autodefs.h.

◆ Owner

IUnknown* ocf::TAutoIterator::Owner
protected

Definition at line 1215 of file autodefs.h.

◆ RefCnt

unsigned ocf::TAutoIterator::RefCnt
protected

Definition at line 1216 of file autodefs.h.

◆ Symbol

TAutoSymbol* ocf::TAutoIterator::Symbol
protected

Definition at line 1213 of file autodefs.h.


The documentation for this class was generated from the following files: