winIDEA SDK
isys::CTraceTimelineIterator Class Reference

Description

This class implements iterator for trace time-line events.

Only one iterator may iterate the events at a time, because the events are not stored in memory, but are sequentially parsed from a file.

#include <CTraceData.h>

Public Member Functions

bool hasNext ()
 Returns true, if there is at least one more time-line item available.
 
CTraceTimeEvent next ()
 Returns the next time-line item by value. More...
 
CTraceTimeEventSPtr nextAsSPtr ()
 Returns the next time-line item. More...
 

Member Function Documentation

◆ next()

CTraceTimeEvent isys::CTraceTimelineIterator::next ( )

Returns the next time-line item by value.

This method is much slower than calling nextAsPtr().

Do not call this method if hasNext() returned false!

◆ nextAsSPtr()

CTraceTimeEventSPtr isys::CTraceTimelineIterator::nextAsSPtr ( )

Returns the next time-line item.

Each call to this method returns the same object, but filled with new data. It is faster than calling next().

Do not call this method if hasNext() returned false!