Modifier and Type | Method and Description |
---|---|
Submodel |
CompModelPlugin.createSubmodel()
Creates a
Submodel object, adds it to the end of the
submodel objects list and returns a pointer to the newly
created object. |
Submodel |
ListOfSubmodels.get(String sid)
Get a
Model from the ListOfSubmodels
based on its identifier. |
Submodel |
CompModelPlugin.getSubmodel(long n)
Returns the submodel with the given index.
|
Submodel |
CompModelPlugin.getSubmodel(String id)
Returns the submodel with the given identifier.
|
Submodel |
ListOfSubmodels.remove(String sid)
Removes an item from this
ListOfSubmodels items based on its identifier
and returns a pointer to it. |
Submodel |
CompModelPlugin.removeSubmodel(long index)
Removes the submodel with the given index.
|
Modifier and Type | Method and Description |
---|---|
int |
CompModelPlugin.addSubmodel(Submodel submodel)
Adds a copy of the given
Submodel object to the list of submodels. |
Constructor and Description |
---|
Submodel(Submodel source)
Copy constructor.
|