QuercusVL Programming Manual
3.18. HistoricIncidences Class
Record of incidences of a unit.
3.18.1. Properties
●
Current
C++:
Incidence get_Current()
C:
int VL_HistoricIncidences_get_Current(int h)
Returns the selected incidence from the record. To change the selected incidence use
the methods MoveFirst, MoveNext, MovePrevious and MoveLast. The selected incidence
will always comply with the applied filter (see the method SetFilter of HistoricIncidences
class).
In C++, if there is no available incidence returns and invalid one (see IsValid from
Incidence class) .
In C, the parameter “h” is a handler of incidences record (HistoricIncidences). Returns a
handler of the incidence (Incidence).
In C, when the object is no more needed, the function VL_Incidence_Release must be
called (see Release method from Incidence class).
In C, if there is no available incidence, returns null.
3.18.2. Methods
●
MoveFirst
C++:
void MoveFirst()
C:
void VL_HistoricIncidences_MoveFirst(int h)
Assigns to Current property, the information of the record's first incidence, that
complies with the applied filter (see the method SetFilter from HistoricIncidences
class).
In C the parameter “h” is a handler of incidences record (HistoricIncidences).
●
MoveNext
C++:
bool MoveNext()
C:
int VL_HistoricIncidences_MoveNext(int h)
Assigns to Current property, the information of the record's next incidence, that
Quercus Technologies
53