winIDEA SDK
isys::CProfilerTimelineIterator Class Reference

Description

This class implements iterator for profiler 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.

Python example: profiler_data.py

#include <CProfilerData2.h>

Public Member Functions

bool hasNext ()
 Returns true, if there is at least one more time-line item available. More...
 
CProfilerTimeEvent next ()
 Returns the next time-line item. More...
 

Member Function Documentation

◆ hasNext()

bool isys::CProfilerTimelineIterator::hasNext ( )

Returns true, if there is at least one more time-line item available.

Python example: profiler_data.py

◆ next()

CProfilerTimeEvent isys::CProfilerTimelineIterator::next ( )

Returns the next time-line item.

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

Python example: profiler_data.py