|
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 |
---|---|---|
key |
Key of the key/value pair |
param |
val |
Val of the key/value pair |
param |
version |
CVS version string of the constructor |
param |
|
Methods | Description | Defined in class |
---|---|---|
PARAM Parameter object class constructor. |
param |
Methods | Description | Defined in class |
---|---|---|
GET get a property of a object. |
ltpda_obj |
|
ISPROP tests if the given field is one of the object properties. |
ltpda_obj |
|
MUX concatenate params into a vector. |
param |
Methods | Description | Defined in class |
---|---|---|
SETKEY Set the property 'key'. |
param |
|
SETKEYVAL Set the properties 'key' and 'val' |
param |
|
SETVAL Set the property 'val'. |
param |
Methods | Description | Defined in class |
---|---|---|
CHAR convert a param object into a string. |
param |
|
DISPLAY display a parameter |
param |
|
STRING writes a command string that can be used to recreate the input param object. |
param |
Methods | Description | Defined in class |
---|---|---|
EQ overloads the == operator for ltpda objects. |
ltpda_obj |
|
NE overloads the ~= operator for ltpda objects. |
ltpda_obj |