public class ParameterList
extends java.lang.Object
This class represents a Teuchos parameter list. It is a simple data structure that only holds data.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name
The name of the parameter list.
|
java.util.ArrayList<ParameterList> |
parameterLists
The set of parameter lists that are child of this parameter list.
|
java.util.ArrayList<Parameter> |
parameters
The set of parameters that are managed by this parameter list.
|
Constructor and Description |
---|
ParameterList() |
Modifier and Type | Method and Description |
---|---|
void |
fromTreeComposite(TreeComposite treeComp)
This operations loads a ParameterList from an ICE TreeComposite.
|
TreeComposite |
toTreeComposite()
This operations returns an ICE TreeComposite for the ParameterList.
|
public java.lang.String name
The name of the parameter list.
public java.util.ArrayList<Parameter> parameters
The set of parameters that are managed by this parameter list.
public java.util.ArrayList<ParameterList> parameterLists
The set of parameter lists that are child of this parameter list.
public TreeComposite toTreeComposite()
This operations returns an ICE TreeComposite for the ParameterList. Any parameters in the list are contained in a Data Component labeled "<name> Parameters" with no description and id equal to 1. Subordinate parameter lists are configured as children of the tree composite.
The tree composite.
public void fromTreeComposite(TreeComposite treeComp)
This operations loads a ParameterList from an ICE TreeComposite. It is the inverse operation of toTreeComposite(). It assumes that the TreeComposite is of the same form as that created by toTreeComposite() and will fail if not.
treeComp
- The tree composite.