#include <CMIRIAMResource.h>
List of all members.
Constructor & Destructor Documentation
CMIRIAMResources::CMIRIAMResources |
( |
const std::string & |
name = "MIRIAM Resources" , |
|
|
const CCopasiContainer * |
pParent = NULL |
|
) |
| |
Default constructor
- Parameters:
-
const | std::string & name (default: MIRIAM Resources) |
const | CCopasiContainer * pParent (default: NULL) |
Copy constructor
- Parameters:
-
Specific constructor
- Parameters:
-
CMIRIAMResources::~CMIRIAMResources |
( |
| ) |
[virtual] |
Member Function Documentation
void CMIRIAMResources::addMIRIAMResource |
( |
CMIRIAMResource * |
pMIRIAMResource | ) |
|
Add a MIRIAM Resource to the list of MIRIAM Resources
- Parameters:
-
bool CMIRIAMResources::autoUpdateMIRIAMResources |
( |
CProcessReport * |
pProcessReport | ) |
|
Automatically update the resources when the last update is older than the current date minus the update interval.
- Parameters:
-
- Returns:
- bool success
bool CMIRIAMResources::elevateChildren |
( |
| ) |
[virtual] |
This methods must be called to elevate subgroups to derived objects. The default implementation does nothing.
- Returns:
- bool success
Reimplemented from CCopasiParameterGroup.
const unsigned C_INT32 & CMIRIAMResources::getMIRIAMLastUpdateDate |
( |
| ) |
const |
Retrieve the day the resources where last updated
- Returns:
- const unsigned C_INT32 & lastUpdateDay
const CMIRIAMResource & CMIRIAMResources::getMIRIAMResource |
( |
const unsigned C_INT32 |
index | ) |
const |
Retrieve the indexed resource
- Parameters:
-
const | unsigned C_INT32 index |
- Returns:
- const CMIRIAMResource & resource
unsigned C_INT32 CMIRIAMResources::getMIRIAMResourceIndex |
( |
const std::string & |
URI | ) |
const |
Retrieve the index of the resource with the given URI
- Parameters:
-
- Returns:
- unsigned C_INT32 index
Retrieve the list of MIRIAM Resources
- Returns:
- CMIRIAMResources & MIRIAMResources
const unsigned C_INT32 & CMIRIAMResources::getMIRIAMUpdateFrequency |
( |
| ) |
const |
Retrieve the of interval between updates
- Returns:
- const unsigned C_INT32 & updateFrequency
unsigned C_INT32 CMIRIAMResources::getResourceIndexFromDisplayName |
( |
const std::string & |
displayName | ) |
const |
Retrieve the index of the resource with the given display name
- Parameters:
-
const | std::string & displayName |
- Returns:
- unsigned C_INT32 index
void CMIRIAMResources::initializeParameter |
( |
| ) |
|
Allocates all group parameters and assures that they are properly initialized.
void CMIRIAMResources::setMIRIAMUpdateFrequency |
( |
const unsigned C_INT32 |
updateFrequency | ) |
|
Set the of interval between updates
- Parameters:
-
const | unsigned C_INT32 & updateFrequency |
bool CMIRIAMResources::updateMIRIAMResources |
( |
CProcessReport * |
pProcessReport | ) |
|
Update the MIRIAM resources
- Parameters:
-
- Returns:
- bool success
The documentation for this class was generated from the following files: