|
The LTPDA toolbox restrict access of the properties.
The get access is 'public' and thus it is possible to get the values with the dot-command (similar to structures).
For example:The set access is 'protected' and thus it is only possible to assign a value to a property with a set-method.
val = obj.prop(2).prop;
For example: obj2 = obj1.setName('my name') % This command creates a copy of obj1 (obj1 ~= obj2) obj.setName('my name'); % This command applies to obj
Properties | Description | Defined in class |
---|---|---|
startT |
TIME object of the start time |
timespan |
endT |
TIME object of the end time |
timespan |
timeformat |
Time format of the start/end time objects |
timespan |
timezone |
Timezone of the start/end time objects |
timespan |
interval |
Interval string of the start/end time |
timespan |
hist |
History object associated with this object |
ltpda_uoh |
name |
Name of the object |
ltpda_uo |
created |
Time object which stores the creation time of the object |
ltpda_uo |
creator |
Creator of the object |
ltpda_uo |
version |
CVS version string of the constructor |
ltpda_obj |
|
Methods | Description | Defined in class |
---|---|---|
TIMESPAN timespan object class constructor. |
timespan |
Methods | Description | Defined in class |
---|---|---|
ISPROP tests if the given field is one of the object properties. |
ltpda_obj |
|
SETNAME Set the property 'name'. |
ltpda_uoh |
|
SETENDT Set the property 'endT'. |
timespan |
|
SETSTARTT Set the property 'startT'. |
timespan |
|
SETTIMEFORMAT Set the property 'timeformat'. |
timespan |
|
SETTIMEZONE Set the property 'timezone'. |
timespan |
Methods | Description | Defined in class |
---|---|---|
ADDHISTORY Add a history-object to the ltpda_uo object. |
ltpda_uoh |
|
COPY Make copy of time objects depending of the second input |
timespan |
Methods | Description | Defined in class |
---|---|---|
SAVE overloads save operator for ltpda objects. |
ltpda_uo |
|
TYPE converts the input objects to MATLAB functions. |
ltpda_uoh |
|
CHAR convert a timespan object into a string. |
timespan |
|
DISPLAY overloads display functionality for timespan objects. |
timespan |
|
STRING writes a command string that can be used to recreate the input timespan object. |
timespan |
Methods | Description | Defined in class |
---|---|---|
EQ overloads the == operator for ltpda objects. |
ltpda_obj |
|
NE overloads the ~= operator for ltpda objects. |
ltpda_obj |