#include <CFunctionParameters.h>
List of all members.
Detailed Description
CFunctionParameters
Created for Copasi by Stefan Hoops (C) Stefan Hoops 2001 :pos 10.7176,6.51973
Constructor & Destructor Documentation
| CFunctionParameters::CFunctionParameters |
( |
const std::string & |
name = "NoName", |
|
|
const CCopasiContainer * |
pParent = NULL |
|
) |
| |
Default constructor
- Parameters:
-
| const | std::string & name (default: "NoName") |
| const | CCopasiContainer * pParent (default: NULL) |
CFunctionParameters
Created for Copasi by Stefan Hoops (C) Stefan Hoops 2001
Copy constructor
- Parameters:
-
| CFunctionParameters::~CFunctionParameters |
( |
| ) |
|
Member Function Documentation
Add a parameter to the parameter list
- Parameters:
-
| const CFunctionParameter & | parameter |
| bool CFunctionParameters::add |
( |
CFunctionParameter * |
parameter, |
|
|
const bool & |
adopt = false |
|
) |
| |
Add a parameter to the parameter list
- Parameters:
-
| CFunctionParameter * | parameter |
| const | bool & adopt (Default: false) |
- Returns:
- bool success
Add a parameter to the parameter list
- Parameters:
-
| "const | string & name |
| const CFunctionParameter::DataType & | type |
| const string & | usage |
- Returns:
- bool success
| void CFunctionParameters::cleanup |
( |
| ) |
|
find a parameter by its name and return its index
gets the number of Parameters with a specific usage
Retrieves the first parameter with the specified usage after pos In a normal situation pos is set to 0 for the first call. It is increment by the method to allow subsequent searches to start after the last found item. This is usefull if several parameters with the same usage exist.
- Parameters:
-
| const string & | usage |
| unsigned C_INT32 & | pos (first call should be with 0) |
- Returns:
- "CFunctionParameter &" usageRange
tells whether there is a parameter with vector type and the given role (if there is one it is assumed it is the only one with this role)
Assignment operator. Performs deep copy.
| const CFunctionParameter * CFunctionParameters::operator[] |
( |
unsigned C_INT32 |
index | ) |
const |
| const CFunctionParameter * CFunctionParameters::operator[] |
( |
const std::string & |
name | ) |
const |
| void CFunctionParameters::remove |
( |
const std::string & |
name | ) |
|
Remove a parameter from the parameter list
- Parameters:
-
| const CFunctionParameter & | parameter |
| unsigned C_INT32 CFunctionParameters::size |
( |
| ) |
const |
| void CFunctionParameters::swap |
( |
const unsigned C_INT32 & |
from, |
|
|
const unsigned C_INT32 & |
to |
|
) |
| |
Swap parameters
- Parameters:
-
| const | unsigned C_INT32 & from |
| const | unsigned C_INT32 & to |
Friends And Related Function Documentation
The documentation for this class was generated from the following files: