GEpisode Class Reference

[libgfc Index] [libgfc Hierarchy] [Headers]


The unit of a time series. More...

#include <src/gtseries.h>

Inherits: GTimestamp

Public Members


Detailed Description

This class represents an episode (or an event) in a time series. GEpisode is the unit of time series. Each episode has a timestamp and an event descriptor which is not interpreted by this class.


GEpisode* nextEpisode(void) const [public]

return pointer to the next episode

GEpisode* prevEpisode(void) const [public]

return previous episode (the one whose timestamp is smaller/earlier)

char* desc(void) [public]

return the event descriptor; desc must be preallocated w/ >= 8 bytes.

void setDesc(const char* desc) [public]

set the event descriptor

void setDate(int year, int mon, int day, int hour=0, int min=0, int sec=0) [public]

set the specific date

void setTimestamp(const GTimestamp& st) [public]

set the timestamp


Documentation generated by lqian@lqian-sun on Wed Jul 14 09:36:10 EDT 1999
Kdoc