LTPDA Toolbox™ | contents | ![]() ![]() |
PLIST plist class object constructor. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: PLIST Parameter-List Object class object constructor. Create a plist object. SUPER CLASSES: ltpda_uo < ltpda_obj CONSTRUCTORS: pl = plist() - create an empty plist object. pl = plist(p) - create a plist with elements p where p is an array of param objects. pl = plist('key', val) - create a plist with the key/value pair pl = plist({'key', 'desc'}, val) - create a plist with the key/value pair and a description for the 'key' pl = plist('key1', val1, ... - create a plist with more key/value 'key2', val2, ... pairs {'key3', 'desc'}, 'val3) pl = plist({'a', 1, 'b', 2}) - create a plist from a cell pl = plist('file.xml') - load a plist-object from xml-file pl = plist('file.mat') - load a plist-object from mat-file pl = plist(pl) - copies the input plist. PARAMETERS: If no recognised parameters are found in the input plist, the input plist is simply returned. This is the copy constructor. Parameters Description SEE ALSO: ltpda_obj, ltpda_uo, ltpda_uoh, param %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Method Details | |
---|---|
Access | public |
Defining Class | plist |
Sealed | 0 |
Static | 0 |
Sets for this method … |
---|
Default |
From MAT File |
From XML File |
From Repository |
From Built-in Model |
Default |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
Example |
---|
plist() |
From MAT File |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
ltpda_uo.buildplist | |||
FILENAME | '' | none | MAT filename. |
Example |
---|
plist('FILENAME', '') |
From XML File |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
ltpda_uo.buildplist | |||
FILENAME | '' | none | XML filename. |
Example |
---|
plist('FILENAME', '') |
From Repository |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
ltpda_uo.buildplist | |||
HOSTNAME | '' | none | Database server hostname. |
DATABASE | '' | none | Database name. |
USERNAME | '' | none | User name to use when connecting to the database. Leave blank to be prompted. |
PASSWORD | {} [0x0] | none | Password to use when connecting to the database. Leave blank to be prompted. |
CONN | [] | none | Java mysql object. |
ID, IDS | [] | none | A vector of object IDs. |
CID | [] | none | A vector of collection IDs. |
UUID, UUIDS | {} [0x0] | none | A cell array of UUIDs. |
BINARY | 1 |
|
Use binary representation (not always available). |
Example |
---|
plist('HOSTNAME', '', 'DATABASE', '', 'USERNAME', '', 'PASSWORD', cell(0,0), 'CONN', [[]], 'ID', [[]], 'CID', [[]], 'UUID', cell(0,0), 'BINARY', [true]) |
From Built-in Model |
|||
---|---|---|---|
no description | |||
Key | Default Value | Options | Description |
ltpda_uo.buildplist | |||
BUILT-IN | '' | none | Choose one of the built-in models. (use class.getBuiltInModels to get a list for a particular user class) |
VERSION | [] | none | Version of the built in model. The default version is used for the case that no 'Version' is defined. |
Example |
---|
plist('BUILT-IN', '', 'VERSION', [[]]) |
Some information of the method plist/plist are listed below: | |
---|---|
Class name | plist |
Method name | plist |
Category | Constructor |
Package name | ltpda |
VCS Version | 967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
Min input args | 0 |
Max input args | -1 |
Min output args | 1 |
Max output args | 1 |
Can be used as modifier | 0 |
Supported numeric types | {'double'} |
![]() |
Method: pest/retrieve | Method: plist/addAlternativeKeys | ![]() |
©LTP Team