-
Notifications
You must be signed in to change notification settings - Fork 3
Mesure object
philippe edited this page Apr 7, 2020
·
1 revision
Mesure include a list of data to define a mesure.
The Mesure object is composed of the following arguments :
- Nom : Character string
- list of Serie define with
- Series : list of Serie
- NbSer : Number of Serie in the list
- LenSer : Number of values for all Serie in the list
- list of attributes (String) define with
- Strs : list of String
- NameStrs : list of String (name of each String)
- NbStr : Number of attributes String
- list of attributes (Float) define with
- Atts : list of Float
- NameAtts : list of String (name of each Float)
- NbAtt : Number of attributes Float
-
constructor : Several creation modes are possible
- Empty Mesure
- Mesure with number and lenght of data but without names
- Mesure with number, lenght and name of data
-
operators : The operators [] is used to access to the values of the series.
-
update : The functions are as follows:
- refresh(): Add a new value and delete the oldest for all series
- init(): initialization for names and values
- initNoms(): initialization for names
- initSeries(): initialization for values of series
- setVal(): value setter for string and float
-
getters : The functions are as follows:
- getString(): value of string attribute
- getFloat(): value of float attribute
- getNom(): name of the series
- pr(): display of the mesure
- json(): display of the mesure with Json structure
See the examples given on the use of the Mesure object.