Revision 12288d0e src/eventlog/event.cc

View differences:

src/eventlog/event.cc
306 306
    return (Event *)nextEvent;
307 307
}
308 308

  
309
Event *Event::getPreviousEventRealTime()
310
{
311
    if (eventLog->getFirstEventRealTime() == this) {
312
        return NULL;
313
    }
314
    Assert(previousEventRealTime != NULL);
315
    return (Event*)previousEventRealTime;
316
}
317

  
318
Event *Event::getNextEventRealTime()
319
{
320
    if (eventLog->getLastEventRealTime() == this) {
321
        return NULL;
322
    }
323
    Assert(nextEventRealTime != NULL);
324
    return (Event*)nextEventRealTime;
325
}
326

  
309 327
Event *Event::getCauseEvent()
310 328
{
311 329
    int causeEventNumber = getCauseEventNumber();

Also available in: Unified diff