ParameterList class defines common members when specifying each property.
.
More...
Inherited by CircuitComponent, Condition, MaterialObject, Step, and StudyProperties.
Public Member Functions | |
| virtual String | GetFlagAsString (String &name) |
| Returns the settings for the specified properties as a flag property name. More... | |
| virtual String | GetFlagPropertyHelp (String &propName, Variant &val) |
| Returns the help of the flag property as a string for the specified index or name. More... | |
| Variant | GetKeyNames (String &name) |
| Returns the flag name as a string list. More... | |
| virtual String | GetPropertyHelp (String &propName) |
| Returns the help of the flag property as a string for the specified index or name. More... | |
| Variant | GetPropertyNames () |
| Returns the list of all properties that can be specified for the condition. More... | |
| String | GetPropertyTable () |
| Returns the list of properties including the type and help. More... | |
| virtual String | GetPropertyType (String &propName) |
| Returns a property type. More... | |
| virtual String | GetStringValue (String &propName) |
| Returns the value of the named property. More... | |
| DataSet * | GetTable (String &propName) |
| Returns the value of the specified table property. More... | |
| DataSetList * | GetTableList (String &propName) |
| Returns the table list of the specified property. More... | |
| virtual double | GetValue (String &propName) |
| Returns the value of property as a real number. More... | |
| virtual double | GetValueWithUnit (String &propName, String &unitName) |
| Returns the value of the named property as a real number in the specified unit. More... | |
| virtual bool | IsValid () |
| Returns True if an object is valid. More... | |
| virtual void | SetComplexValue (String &propName, double real, double imag) |
| Specifies the value of the complex property. More... | |
| virtual void | SetFlagByName (String &propName, String &scriptKeyName) |
| Specifies the value of flag property for the specified name. More... | |
| void | SetTable (String &propName, String array &mat) |
| Specifies the value in the specified table for the properties. More... | |
| void | SetTableFromFile (String &propName, String &filename) |
| Specifies a point sequence for a property that is specified, by importing a point sequence file (*.csv, *.txt, *.pa). More... | |
| void | SetTableList (String &propName, double primaryKey, String &primaryUnitName, String array &mat) |
| Specifies the name for the dataset list (multiple tables). More... | |
| void | SetTableListName (String &propName, String &name) |
| Specifies the name for the dataset list (multiple tables). More... | |
| void | SetTableListWithDualKey (String &propName, double primaryKey, String &primaryUnitName, double secondaryKey, String &secondaryUnitName, String array &mat) |
| Specifies a point sequence for the multidimensional array of the specified primary key and secondary key in the dataset list (multiple tables). More... | |
| void | SetTableProperty (String &propName, DataSet *set) |
| Specifies a table for the specified properties. More... | |
| void | SetTableWithUnit (String &propName, String array &mat, StringList &unitlist) |
| Specifies the value of the specified table property. More... | |
| void | SetTextTable (String &propName, String array &mat) |
| Specifies the value in the specified string table for the properties. More... | |
| virtual void | SetValue (String &propName, Variant &value) |
| Specifies the value of the real number property or flag property. More... | |
| virtual void | SetValueWithUnit (String &propName, double value, String &unitName) |
| Specifies the value of the named property. More... | |
ParameterList class defines common members when specifying each property.
.
The object can be called as a derived object when specifying circuit component, condition, material and study property.
The property names and flags described in Property Name and Flags Used as Arguments are used to specify the properties on each item.
|
virtual |
Returns the settings for the specified properties as a flag property name.
| name | Property name |
|
virtual |
Returns the help of the flag property as a string for the specified index or name.
| propName | Property name |
| val | Flag index/Flag name |
| Variant ParameterList::GetKeyNames | ( | String & | name | ) |
Returns the flag name as a string list.
| name | Property name |
|
virtual |
Returns the help of the flag property as a string for the specified index or name.
| propName | Property name |
| Variant ParameterList::GetPropertyNames | ( | ) |
Returns the list of all properties that can be specified for the condition.
| String ParameterList::GetPropertyTable | ( | ) |
Returns the list of properties including the type and help.
|
virtual |
Returns a property type.
| propName | Property name |
|
virtual |
Returns the value of the named property.
| propName | Property name |
Reimplemented in StudyProperties.
| DataSet * ParameterList::GetTable | ( | String & | propName | ) |
Returns the value of the specified table property.
| propName | Property name |
| DataSetList * ParameterList::GetTableList | ( | String & | propName | ) |
Returns the table list of the specified property.
| propName | Property name |
|
virtual |
Returns the value of property as a real number.
| propName | Property name |
|
virtual |
Returns the value of the named property as a real number in the specified unit.
| propName | Property name |
| unitName | Unit |
|
virtual |
Returns True if an object is valid.
Reimplemented in MaterialObject, CircuitComponent, StudyProperties, and Step.
|
virtual |
Specifies the value of the complex property.
The unit that is currently being used is used. A real number value is converted into an integer for the flag property.
| propName | Property name |
| real | Property value (real part) |
| imag | Property value (imaginary part) |
|
virtual |
Specifies the value of flag property for the specified name.
| propName | Property name |
| scriptKeyName | Flag name |
| void ParameterList::SetTable | ( | String & | propName, |
| String array & | mat | ||
| ) |
Specifies the value in the specified table for the properties.
| propName | Property name |
| mat | Multidimensional array |
| void ParameterList::SetTableFromFile | ( | String & | propName, |
| String & | filename | ||
| ) |
Specifies a point sequence for a property that is specified, by importing a point sequence file (*.csv, *.txt, *.pa).
| propName | Property name |
| filename | Path for file that is imported |
The following are example. Creates electric current condition and specifies point sequence for the time dependency current by using a file.
The following file formats can be imported.
| void ParameterList::SetTableList | ( | String & | propName, |
| double | primaryKey, | ||
| String & | primaryUnitName, | ||
| String array & | mat | ||
| ) |
Specifies the name for the dataset list (multiple tables).
| propName | Property name |
| primaryKey | Value of the primary key |
| primaryUnitName | Unit name of the primary key |
| mat | Multidimensional array |
| void ParameterList::SetTableListName | ( | String & | propName, |
| String & | name | ||
| ) |
Specifies the name for the dataset list (multiple tables).
| propName | Property name |
| name | Dataset list name |
| void ParameterList::SetTableListWithDualKey | ( | String & | propName, |
| double | primaryKey, | ||
| String & | primaryUnitName, | ||
| double | secondaryKey, | ||
| String & | secondaryUnitName, | ||
| String array & | mat | ||
| ) |
Specifies a point sequence for the multidimensional array of the specified primary key and secondary key in the dataset list (multiple tables).
| propName | Property name |
| primaryKey | Value of the primary key |
| primaryUnitName | Unit name of the primary key |
| secondaryKey | Value of the secondary key |
| secondaryUnitName | Unit name of the secondary key |
| mat | Multidimensional array |
| void ParameterList::SetTableProperty | ( | String & | propName, |
| DataSet * | set | ||
| ) |
Specifies a table for the specified properties.
| propName | Property name |
| set | DataSet (table) |
| void ParameterList::SetTableWithUnit | ( | String & | propName, |
| String array & | mat, | ||
| StringList & | unitlist | ||
| ) |
Specifies the value of the specified table property.
| propName | Property name |
| mat | Multidimensional array |
| unitlist | Unit list |
| void ParameterList::SetTextTable | ( | String & | propName, |
| String array & | mat | ||
| ) |
Specifies the value in the specified string table for the properties.
| propName | Property name |
| mat | String multidimensional array |
|
virtual |
Specifies the value of the real number property or flag property.
The unit that is currently being used is used. A real number value is converted into an integer for the flag property.
| propName | Property name |
| value | Property value |
Reimplemented in CircuitComponent, and StudyProperties.
|
virtual |
Specifies the value of the named property.
The unit that is currently being used is used. A real number value is converted into an integer for the flag property.
| propName | Property name |
| value | Property value |
| unitName | Unit |