Method plist/getIndexForKey
GETINDEXFORKEY returns the index of a parameter with the given key.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
DESCRIPTION: GETINDEXFORKEY returns the index of a parameter with the
given key or -1 if the key is not found.
CALL: idx = getIndexForKey(pl, 'key')
idx = getIndexForKey(pl, pl)
EXAMPLES:
1) idx = pl.getIndexForKey('foo') % get the parameter with key 'foo'
2) idx = pl.getIndexForKey(plist('key', 'WIN')) % get the parameter with key 'WIN'
Parameters Description
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details |
|
| Access |
public |
| Defining Class |
plist |
| Sealed |
0 |
| Static |
0 |
Parameter Description
| Sets for this method … |
| Default |
Default |
| no description |
| Key |
Default Value |
Options |
Description |
| utils.generic_getInfo |
| KEY |
'' |
none |
The key of the parameter to get the index of. |
back to top
| Some information of the method plist/getIndexForKey are listed below: |
| Class name |
plist |
| Method name |
getIndexForKey |
| Category |
Helper |
| Package name |
ltpda |
| VCS Version |
967b0eec0dece803a81af8ef54ad2f8c784b20b2 |
| Min input args |
1 |
| Max input args |
-1 |
| Min output args |
1 |
| Max output args |
-1 |
| Can be used as modifier |
0 |
| Supported numeric types |
{'double'} |
|
Method: plist/getAllKeys |
|
Method: plist/getKeys |
 |
©LTP Team