CanEasy COM-Help
CanEasy::IRecordIterator Interface Reference

Inherits IDispatch.

Detailed Description

Iterator to process the record

interface IRecordIterator : IDispatch
{
HRESULT RecordEntry([out, retval] IRecordEntry** ppRecordEntry);
HRESULT Next([out, retval] VARIANT_BOOL* pValid);
HRESULT Previous([out, retval] VARIANT_BOOL* pValid);
HRESULT First();
HRESULT Last();
HRESULT Compare([in] IRecordIterator* pIterator, [out, retval] VARIANT_BOOL* pEqual);
HRESULT IsFirst([out, retval] VARIANT_BOOL *pVal);
HRESULT IsLast([out, retval] VARIANT_BOOL *pVal);
//VSTAHidden
#ifdef _WIN64
HRESULT gethIterator([out, retval] LONG_PTR * hIterator); /* FIXME_64Bit */
#else
HRESULT gethIterator([out, retval] long * hIterator);
#endif
HRESULT Seek([in] double dTimestamp, [out, retval] VARIANT_BOOL*);
};

Definition at line 6118 of file cand_tlb.idl.

Member Function Documentation

◆ Compare()

HRESULT CanEasy::IRecordIterator::Compare ( [in] IRecordIterator pIterator,
[out, retval] VARIANT_BOOL *  pEqual 
)

Returns true if passed iterator point to the same position

◆ First()

HRESULT CanEasy::IRecordIterator::First ( )

Moves the iterator to the first entry

◆ gethIterator()

HRESULT CanEasy::IRecordIterator::gethIterator ( [out, retval] long *  hIterator)

Returns pointer to internal iterator

◆ Last()

HRESULT CanEasy::IRecordIterator::Last ( )

Moves the iterator to the last entry

◆ Next()

HRESULT CanEasy::IRecordIterator::Next ( [out, retval] VARIANT_BOOL *  pValid)

Moves the iterator to the next entry

◆ Previous()

HRESULT CanEasy::IRecordIterator::Previous ( [out, retval] VARIANT_BOOL *  pValid)

Moves the iterator to the previous entry

◆ Seek()

HRESULT CanEasy::IRecordIterator::Seek ( [in] double  dTimestamp,
[out, retval] VARIANT_BOOL *   
)

Moves the iterator to the passed timestamp

Parameters
dTimestampTimestamp in hours
Returns
True if position was changed

Property Documentation

◆ IsFirst

VARIANT_BOOL CanEasy::IRecordIterator::IsFirst
get

Returns true if iterator points to the first entry

◆ IsLast

VARIANT_BOOL CanEasy::IRecordIterator::IsLast
get

Returns true if iterator points to the last entry

◆ RecordEntry

IRecordEntry CanEasy::IRecordIterator::RecordEntry
get

Returns the record entry which gives access to the stored information

CanEasy::IRecordIterator::IsLast
VARIANT_BOOL IsLast
CanEasy::IRecordIterator::First
HRESULT First()
CanEasy::IRecordIterator::Seek
HRESULT Seek([in] double dTimestamp, [out, retval] VARIANT_BOOL *)
CanEasy::IRecordIterator::Compare
HRESULT Compare([in] IRecordIterator *pIterator, [out, retval] VARIANT_BOOL *pEqual)
CanEasy::IRecordIterator::RecordEntry
IRecordEntry RecordEntry
CanEasy::IRecordIterator::Last
HRESULT Last()
CanEasy::IRecordIterator::IsFirst
VARIANT_BOOL IsFirst
CanEasy::IRecordIterator::Previous
HRESULT Previous([out, retval] VARIANT_BOOL *pValid)
CanEasy::IRecordIterator::Next
HRESULT Next([out, retval] VARIANT_BOOL *pValid)
CanEasy::IRecordIterator::gethIterator
HRESULT gethIterator([out, retval] long *hIterator)