Static Public Member Functions | |
static void | TransformIonicModelDefinitions (xercesc::DOMDocument *pDocument, xercesc::DOMElement *pRootElement) |
static void | TransformArchiveDirectory (xercesc::DOMDocument *pDocument, xercesc::DOMElement *pRootElement) |
static void | CheckForIluPreconditioner (xercesc::DOMDocument *pDocument, xercesc::DOMElement *pRootElement) |
Definition at line 115 of file HeartConfig.cpp.
void XmlTransforms::TransformIonicModelDefinitions | ( | xercesc::DOMDocument * | pDocument, | |
xercesc::DOMElement * | pRootElement | |||
) | [static] |
Edits the DOM tree to wrap ionic model definitions from old (release 1 or 1.1) configuration files in a 'Hardcoded' element.
pDocument | the DOM document containing the tree to be transformed | |
pRootElement | the root of the tree to be transformed |
Definition at line 3285 of file HeartConfig.cpp.
References XmlTools::FindElements(), and XmlTools::WrapContentInElement().
Referenced by HeartConfig::ReadFile().
void XmlTransforms::TransformArchiveDirectory | ( | xercesc::DOMDocument * | pDocument, | |
xercesc::DOMElement * | pRootElement | |||
) | [static] |
Edits the DOM tree to change the 'ArchiveDirectory' element from a simple string to a cp::path_type. This is used for 2.0 -> 2.1 migration. We assume that the path is relative to CHASTE_TEST_OUTPUT.
pDocument | the DOM document containing the tree to be transformed | |
pRootElement | the root of the tree to be transformed |
Definition at line 3270 of file HeartConfig.cpp.
References XmlTools::FindElements().
Referenced by HeartConfig::ReadFile().
void XmlTransforms::CheckForIluPreconditioner | ( | xercesc::DOMDocument * | pDocument, | |
xercesc::DOMElement * | pRootElement | |||
) | [static] |
Release 2.1 removes the ilu preconditioner as an option, so throw an exception if it is used.
pDocument | the DOM document containing the tree to be transformed | |
pRootElement | the root of the tree to be transformed |
Definition at line 3305 of file HeartConfig.cpp.
References EXCEPTION, and XmlTools::FindElements().
Referenced by HeartConfig::ReadFile().