base/xml/xml.cc File Reference
#include "xml.h"
#include "../exception/exception.h"
#include "../tempfile/tempfile.h"
Functions | |
CDoc * | CParseFile (const CString &filename) |
CDoc * | CNewDoc () |
CDoc * | CNewDoc (CNode *rootNode) |
void | CSaveFile (const CString &filename, CDoc *doc, int format) |
void | CSaveFile (ostream &out, CDoc *doc, int format) |
CNode * | CGetRootNode (CDoc *doc) |
CString | CIsNode (const CNode *n) |
bool | CIsNode (const CNode *n, const CString &name) |
CNode * | CGetParentNode (const CNode *n) |
CNode * | CGetChildNode (CNode *n, const CString &name) |
bool | CHasChildNode (CNode *n, const CString &name) |
CString | CGetNodeContent (CNode *n) |
CNode * | CAddNode (CNode *n, const CString &name, const CString &content) |
CNode * | CAddNode (CNode *n, const CString &name, const double content) |
CNode * | CAddNode (CNode *n, CNode *child) |
CNode * | CCopyNode (CNode *n) |
CNode * | CNewNode (const CString &name) |
void | CRemoveNode (CNode *n) |
CNode * | CReplaceNode (CNode *oldNode, CNode *newNode) |
CNode * | CFindNode (CNode *n, const CString &name) |
CNode * | CNextNode (const CNode *n, const CString &name) |
CNode * | CPreviousNode (const CNode *n, const CString &name) |
CString | CGetAttribute (CNode *n, const CString &name) |
bool | CHasAttribute (CNode *n, const CString &name) |
void | CAddAttribute (CNode *n, const CString &name, const CString &value) |
void | CSetAttribute (CNode *n, const CString &name, const CString &value) |
void | CRemoveAttribute (CNode *n, const CString &name) |
void | CSetContent (CNode *n, const CString &cont) |
CId | CGetNumberOfChildNodes (CNode *n, const CString &name) |
void | releaseDoc (CDoc *doc) |
void | CAddProcessingInstruction (CDoc *doc, const CString &pi, const CString &piArgs) |
void | CSetRootNode (CDoc *doc, CNode *rootNode) |
void | xmlCleanup () |
Function Documentation
CAddAttribute () Add an attribute to the node.
References CHasAttribute().
Referenced by FSMSADF::ToolAnalyze::analyzeGraph(), FSMSADF::Channel::convertPropertiesToXML(), FSMSADF::Actor::convertPropertiesToXML(), FSMSADF::TileBinding::convertResourceUsageToXML(), FSMSADF::ProcessorBinding::convertResourceUsageToXML(), FSMSADF::NetworkInterfaceBinding::convertResourceUsageToXML(), FSMSADF::MemoryBinding::convertResourceUsageToXML(), FSMSADF::ConnectionBinding::convertResourceUsageToXML(), FSMSADF::StorageDistribution::convertToXML(), FSMSADF::Tile::convertToXML(), FSMSADF::TileBinding::convertToXML(), StaticOrderSchedule::convertToXML(), FSMSADF::StaticOrderSchedule::convertToXML(), FSMSADF::Scenario::convertToXML(), FSMSADF::Processor::convertToXML(), FSMSADF::ProcessorBinding::convertToXML(), FSMSADF::Port::convertToXML(), FSMSADF::NetworkInterface::convertToXML(), FSMSADF::NetworkInterfaceBinding::convertToXML(), FSMSADF::Memory::convertToXML(), FSMSADF::MemoryBinding::convertToXML(), FSMSADF::PlatformGraph::convertToXML(), FSMSADF::PlatformBinding::convertToXML(), FSMSADF::Graph::convertToXML(), FSMSADF::ScenarioGraph::convertToXML(), FSMSADF::FSM::convertToXML(), FSMSADF::SDF3Flow::convertToXML(), FSMSADF::ChannelBindingConstraints::convertToXML(), FSMSADF::Connection::convertToXML(), FSMSADF::ConnectionBinding::convertToXML(), FSMSADF::Channel::convertToXML(), FSMSADF::Actor::convertToXML(), createConnectionNode(), createCSDFnode(), createCSDFpropertiesNode(), InterconnectGraph::createInterconnectGraphNode(), createMappingNode(), SetOfNoCScheduleProblems::createNetworkMappingNode(), SetOfNoCScheduleProblems::createNetworkUsageNode(), createPlatformGraphNode(), SDF3Flow::createSDF3Node(), createSDFnode(), createSDFpropertiesNode(), SDF3Flow::createStorageDistributionsNode(), createSystemUsageNode(), createTileNode(), createTileUsageNode(), FSMSADF::ToolGenerate::generateRandomGraph(), FSMSADF::mappingFlow(), outputBindingAsXML(), outputCommunicationTrace(), outputCSDFasXML(), outputNetworkBindingAsXML(), outputNetworkUsageAsXML(), outputPlatformGraphAsXML(), outputSDFasXML(), outputSystemUsageAsXML(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceConstructMessages(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceMessagesPeriodic(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceMessagesTransient(), and FSMSADF::ToolTransform::transformGraph().
CAddNode () Add a child node to given node.
Referenced by NoCMapping::addUsageNode(), FSMSADF::ToolAnalyze::analyzeGraph(), CAddNode(), FSMSADF::ScenarioGraph::convertPropertiesToXML(), FSMSADF::Channel::convertPropertiesToXML(), FSMSADF::Actor::convertPropertiesToXML(), FSMSADF::TileBinding::convertResourceUsageToXML(), FSMSADF::ProcessorBinding::convertResourceUsageToXML(), FSMSADF::PlatformBinding::convertResourceUsageToXML(), FSMSADF::StorageDistributions::convertToXML(), FSMSADF::StorageDistribution::convertToXML(), FSMSADF::Tile::convertToXML(), FSMSADF::TileBinding::convertToXML(), StaticOrderSchedule::convertToXML(), FSMSADF::StaticOrderSchedule::convertToXML(), FSMSADF::Processor::convertToXML(), FSMSADF::ProcessorBinding::convertToXML(), FSMSADF::NetworkInterfaceBinding::convertToXML(), FSMSADF::MemoryBinding::convertToXML(), FSMSADF::PlatformGraph::convertToXML(), FSMSADF::PlatformBinding::convertToXML(), FSMSADF::Graph::convertToXML(), FSMSADF::ScenarioGraph::convertToXML(), FSMSADF::FSM::convertToXML(), FSMSADF::SDF3Flow::convertToXML(), FSMSADF::ScenarioBindingConstraints::convertToXML(), FSMSADF::ChannelBindingConstraints::convertToXML(), FSMSADF::ConnectionBinding::convertToXML(), FSMSADF::Actor::convertToXML(), createApplicationGraphNode(), createCSDFnode(), createCSDFpropertiesNode(), InterconnectGraph::createInterconnectGraphNode(), createMappingNode(), SetOfNoCScheduleProblems::createNetworkMappingNode(), SetOfNoCScheduleProblems::createNetworkUsageNode(), createPlatformGraphNode(), SDF3Flow::createSDF3Node(), createSDFnode(), createSDFpropertiesNode(), SDF3Flow::createStorageDistributionsNode(), createSystemUsageNode(), createTileNode(), createTileUsageNode(), FSMSADF::ToolGenerate::generateRandomGraph(), FSMSADF::mapApplicationGraphToArchitectureGraph(), FSMSADF::mappingFlow(), outputBindingAsXML(), outputCommunicationTrace(), outputCSDFasXML(), outputNetworkBindingAsXML(), outputNetworkUsageAsXML(), outputPlatformGraphAsXML(), outputSDFasXML(), outputSystemUsageAsXML(), Tester::runTest(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceConstructMessages(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceMessagesPeriodic(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceMessagesTransient(), and FSMSADF::ToolTransform::transformGraph().
CAddNode () Add a child node to given node.
References CAddNode().
Create a procesing instruction.
Referenced by Tester::runTest().
CCopyNode () Create a copy of a node (including attributes and children).
CFindNode () Get a child node with name 'name'. The whole subtree is searched for the node and not only the direct children as with the getNode function.
References CFindNode(), and CGetChildNode().
Referenced by CFindNode().
CGetAttribute () Get the value of an attribute.
References CHasAttribute(), and CIsNode().
Referenced by actorProperties(), NoCMapping::addUsageNode(), NoCScheduler::assignSchedulingEntities(), bindApplicationGraphsToArchitectureGraph(), channelProperties(), SDFport::construct(), CSDFport::construct(), SDFgraph::construct(), TimedSDFgraph::construct(), CSDFgraph::construct(), SDFchannel::construct(), CSDFchannel::construct(), SDFactor::construct(), CSDFactor::construct(), constructArchitectureGraph(), FSMSADF::StorageDistribution::constructFromXML(), FSMSADF::Tile::constructFromXML(), FSMSADF::TileBinding::constructFromXML(), FSMSADF::StaticOrderSchedule::constructFromXML(), FSMSADF::Scenario::constructFromXML(), FSMSADF::Processor::constructFromXML(), FSMSADF::ProcessorBinding::constructFromXML(), FSMSADF::Port::constructFromXML(), FSMSADF::NetworkInterface::constructFromXML(), FSMSADF::NetworkInterfaceBinding::constructFromXML(), FSMSADF::Memory::constructFromXML(), FSMSADF::MemoryBinding::constructFromXML(), FSMSADF::PlatformGraph::constructFromXML(), FSMSADF::PlatformBinding::constructFromXML(), FSMSADF::Graph::constructFromXML(), FSMSADF::ScenarioGraph::constructFromXML(), FSMSADF::FSM::constructFromXML(), FSMSADF::ScenarioBindingConstraints::constructFromXML(), FSMSADF::ChannelBindingConstraints::constructFromXML(), FSMSADF::Connection::constructFromXML(), FSMSADF::ConnectionBinding::constructFromXML(), FSMSADF::Channel::constructFromXML(), FSMSADF::Actor::constructFromXML(), NoCScheduleProblem::constructMessages(), constructPlatformGraph(), FSMSADF::ScenarioGraph::constructPropertiesFromXML(), FSMSADF::Channel::constructPropertiesFromXML(), FSMSADF::Actor::constructPropertiesFromXML(), FSMSADF::TileBinding::constructResourceUsageFromXML(), FSMSADF::ProcessorBinding::constructResourceUsageFromXML(), FSMSADF::NetworkInterfaceBinding::constructResourceUsageFromXML(), FSMSADF::MemoryBinding::constructResourceUsageFromXML(), FSMSADF::PlatformBinding::constructResourceUsageFromXML(), constructTimedCSDFgraph(), NoCMapping::getSlotTableSize(), FSMSADF::RandomGraph::initializeFromXML(), InterconnectGraph::InterconnectGraph(), Settings::loadApplicationGraphFromFile(), FSMSADF::ToolTransform::loadApplicationGraphFromFile(), FSMSADF::ToolAnalyze::loadApplicationGraphFromFile(), loadApplicationGraphFromFile(), Settings::loadArchitectureGraphFromFile(), loadArchitectureGraphFromFile(), loadMappingFromFile(), loadMessagesSetFromFile(), Settings::loadSystemUsageFromFile(), loadSystemUsageFromFile(), loadUsageFromFile(), mapApplicationGraphsToArchitectureGraph(), FSMSADF::mappingFlow(), NoCScheduleProblem::NoCScheduleProblem(), Settings::parseSettingsFile(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), FSMSADF::ToolGenerate::parseSettingsFile(), parseSettingsFile(), setMappingConnection(), setMappingMemory(), setMappingNetworkInterface(), setMappingPlatformGraph(), setMappingProcessor(), SetOfNoCScheduleProblems::SetOfNoCScheduleProblems(), TimedSDFchannel::setProperties(), TimedSDFactor::setProperties(), InterconnectGraph::setUsage(), and setUsagePlatformGraph().
CGetChildNode () Return pointer to node with name 'name' (if exists).
References CIsNode().
Referenced by actorProperties(), NoCMapping::addUsageNode(), analyzeCSDFG(), analyzeSDFG(), NoCScheduler::assignSchedulingEntities(), bindApplicationGraphsToArchitectureGraph(), CFindNode(), channelProperties(), SDFgraph::construct(), TimedSDFgraph::construct(), constructArchitectureGraph(), constructCSDFgraph(), FSMSADF::StorageDistributions::constructFromXML(), FSMSADF::StorageDistribution::constructFromXML(), FSMSADF::Tile::constructFromXML(), FSMSADF::TileBinding::constructFromXML(), FSMSADF::StaticOrderSchedule::constructFromXML(), FSMSADF::Processor::constructFromXML(), FSMSADF::ProcessorBinding::constructFromXML(), FSMSADF::NetworkInterfaceBinding::constructFromXML(), FSMSADF::MemoryBinding::constructFromXML(), FSMSADF::PlatformGraph::constructFromXML(), FSMSADF::PlatformBinding::constructFromXML(), FSMSADF::Graph::constructFromXML(), FSMSADF::ScenarioGraph::constructFromXML(), FSMSADF::FSM::constructFromXML(), FSMSADF::SDF3Flow::constructFromXML(), FSMSADF::ScenarioBindingConstraints::constructFromXML(), FSMSADF::ChannelBindingConstraints::constructFromXML(), FSMSADF::ConnectionBinding::constructFromXML(), FSMSADF::Actor::constructFromXML(), NoCScheduleProblem::constructMessages(), constructPlatformGraph(), FSMSADF::ScenarioGraph::constructPropertiesFromXML(), FSMSADF::Channel::constructPropertiesFromXML(), FSMSADF::Actor::constructPropertiesFromXML(), FSMSADF::TileBinding::constructResourceUsageFromXML(), FSMSADF::ProcessorBinding::constructResourceUsageFromXML(), FSMSADF::PlatformBinding::constructResourceUsageFromXML(), constructTimedCSDFgraph(), constructTimedCSDFgraphStructure(), SDF3Flow::createAppGraph(), NoCMapping::getNetworkNode(), graphProperties(), FSMSADF::RandomGraph::initializeFromXML(), InterconnectGraph::InterconnectGraph(), Settings::loadApplicationGraphFromFile(), FSMSADF::ToolTransform::loadApplicationGraphFromFile(), FSMSADF::ToolAnalyze::loadApplicationGraphFromFile(), loadApplicationGraphFromFile(), Settings::loadArchitectureGraphFromFile(), loadArchitectureGraphFromFile(), loadMappingFromFile(), loadMessagesSetFromFile(), Settings::loadSystemUsageFromFile(), loadSystemUsageFromFile(), loadUsageFromFile(), mapApplicationGraphToArchitectureGraph(), FSMSADF::mapApplicationGraphToArchitectureGraph(), FSMSADF::mappingFlow(), Settings::parseSettingsFile(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), FSMSADF::ToolGenerate::parseSettingsFile(), parseSettingsFile(), printCSDFG(), printSDFG(), setMappingConnection(), setMappingMemory(), setMappingNetworkInterface(), setMappingPlatformGraph(), setMappingProcessor(), setMappingTile(), SetOfNoCScheduleProblems::SetOfNoCScheduleProblems(), TimedSDFgraph::setProperties(), TimedSDFchannel::setProperties(), TimedSDFactor::setProperties(), InterconnectGraph::setUsage(), setUsagePlatformGraph(), and transformGraph().
CGetNodeContent () Return the content of a node as a string
Referenced by analyzeSDFG(), FSMSADF::Graph::constructFromXML(), graphProperties(), and TimedSDFgraph::setProperties().
CGetNumberOfChildNodes () Return the number of child nodes with name 'name'.
References CIsNode().
CGetRootNode () Get the root node of the document.
Referenced by Settings::loadApplicationGraphFromFile(), FSMSADF::ToolTransform::loadApplicationGraphFromFile(), FSMSADF::ToolAnalyze::loadApplicationGraphFromFile(), loadApplicationGraphFromFile(), Settings::loadArchitectureGraphFromFile(), loadArchitectureGraphFromFile(), loadMappingFromFile(), loadMessagesSetFromFile(), Settings::loadSystemUsageFromFile(), loadSystemUsageFromFile(), loadUsageFromFile(), FSMSADF::mappingFlow(), Settings::parseSettingsFile(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), FSMSADF::ToolGenerate::parseSettingsFile(), and parseSettingsFile().
CHasAttribute () Check that attribute is present.
Referenced by actorProperties(), CAddAttribute(), CGetAttribute(), channelProperties(), SDFport::construct(), CSDFport::construct(), SDFgraph::construct(), TimedSDFgraph::construct(), CSDFgraph::construct(), SDFchannel::construct(), CSDFchannel::construct(), SDFactor::construct(), CSDFactor::construct(), FSMSADF::StorageDistribution::constructFromXML(), FSMSADF::TileBinding::constructFromXML(), FSMSADF::StaticOrderSchedule::constructFromXML(), FSMSADF::Scenario::constructFromXML(), FSMSADF::Processor::constructFromXML(), FSMSADF::ProcessorBinding::constructFromXML(), FSMSADF::Port::constructFromXML(), FSMSADF::NetworkInterface::constructFromXML(), FSMSADF::NetworkInterfaceBinding::constructFromXML(), FSMSADF::Memory::constructFromXML(), FSMSADF::MemoryBinding::constructFromXML(), FSMSADF::PlatformGraph::constructFromXML(), FSMSADF::PlatformBinding::constructFromXML(), FSMSADF::Graph::constructFromXML(), FSMSADF::ScenarioGraph::constructFromXML(), FSMSADF::FSM::constructFromXML(), FSMSADF::ScenarioBindingConstraints::constructFromXML(), FSMSADF::ChannelBindingConstraints::constructFromXML(), FSMSADF::Connection::constructFromXML(), FSMSADF::ConnectionBinding::constructFromXML(), FSMSADF::Channel::constructFromXML(), FSMSADF::Actor::constructFromXML(), constructPlatformGraph(), FSMSADF::ScenarioGraph::constructPropertiesFromXML(), FSMSADF::Channel::constructPropertiesFromXML(), FSMSADF::Actor::constructPropertiesFromXML(), FSMSADF::TileBinding::constructResourceUsageFromXML(), FSMSADF::NetworkInterfaceBinding::constructResourceUsageFromXML(), FSMSADF::MemoryBinding::constructResourceUsageFromXML(), FSMSADF::PlatformBinding::constructResourceUsageFromXML(), constructTimedCSDFgraph(), NoCMapping::getSlotTableSize(), FSMSADF::mappingFlow(), Settings::parseSettingsFile(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), parseSettingsFile(), setMappingProcessor(), TimedSDFchannel::setProperties(), TimedSDFactor::setProperties(), and setUsagePlatformGraph().
CHasChildNode () Check that the node has a child with name 'name'.
References CIsNode().
Referenced by actorProperties(), channelProperties(), FSMSADF::Processor::constructFromXML(), FSMSADF::ProcessorBinding::constructFromXML(), FSMSADF::PlatformBinding::constructFromXML(), FSMSADF::Graph::constructFromXML(), FSMSADF::SDF3Flow::constructFromXML(), FSMSADF::ChannelBindingConstraints::constructFromXML(), constructPlatformGraph(), FSMSADF::Channel::constructPropertiesFromXML(), FSMSADF::Actor::constructPropertiesFromXML(), FSMSADF::ProcessorBinding::constructResourceUsageFromXML(), NoCMapping::getNetworkNode(), graphProperties(), FSMSADF::RandomGraph::initializeFromXML(), FSMSADF::mappingFlow(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), parseSettingsFile(), setMappingProcessor(), setMappingTile(), TimedSDFgraph::setProperties(), TimedSDFchannel::setProperties(), TimedSDFactor::setProperties(), and setUsagePlatformGraph().
CIsNode () Return name of node.
Referenced by CGetAttribute(), CGetChildNode(), CGetNumberOfChildNodes(), CHasChildNode(), CNextNode(), TimedSDFgraph::construct(), FSMSADF::Tile::constructFromXML(), FSMSADF::TileBinding::constructFromXML(), FSMSADF::PlatformGraph::constructFromXML(), FSMSADF::PlatformBinding::constructFromXML(), FSMSADF::Graph::constructFromXML(), FSMSADF::ScenarioBindingConstraints::constructFromXML(), FSMSADF::ScenarioGraph::constructPropertiesFromXML(), FSMSADF::TileBinding::constructResourceUsageFromXML(), FSMSADF::PlatformBinding::constructResourceUsageFromXML(), constructTimedCSDFgraph(), and CPreviousNode().
CDoc* CNewDoc | ( | ) |
CNewDoc () Create a new document.
Referenced by FSMSADF::ToolAnalyze::analyzeGraph(), FSMSADF::ToolGenerate::generateRandomGraph(), FSMSADF::mappingFlow(), FSMSADF::SDF3Flow::outputAsXML(), outputBindingAsXML(), outputCommunicationTrace(), outputCSDFasXML(), SDF3Flow::outputMappingAsXML(), outputNetworkBindingAsXML(), outputNetworkUsageAsXML(), outputPlatformGraphAsXML(), outputSDFasXML(), outputSystemUsageAsXML(), Tester::runTest(), and FSMSADF::ToolTransform::transformGraph().
CNewNode () Create a new node.
Referenced by FSMSADF::ToolAnalyze::analyzeGraph(), StaticOrderSchedule::convertToXML(), createApplicationGraphNode(), createConnectionNode(), createCSDFnode(), createCSDFpropertiesNode(), InterconnectGraph::createInterconnectGraphNode(), createMappingNode(), SetOfNoCScheduleProblems::createNetworkMappingNode(), SetOfNoCScheduleProblems::createNetworkUsageNode(), createPlatformGraphNode(), SDF3Flow::createSDF3Node(), createSDFnode(), createSDFpropertiesNode(), SDF3Flow::createStorageDistributionsNode(), createSystemUsageNode(), createTileNode(), createTileUsageNode(), FSMSADF::ToolGenerate::generateRandomGraph(), FSMSADF::mapApplicationGraphToArchitectureGraph(), FSMSADF::mappingFlow(), FSMSADF::SDF3Flow::outputAsXML(), outputBindingAsXML(), outputCommunicationTrace(), outputCSDFasXML(), outputNetworkBindingAsXML(), outputNetworkUsageAsXML(), outputPlatformGraphAsXML(), outputSDFasXML(), outputSystemUsageAsXML(), Tester::runTest(), SDFstateSpaceTraceInterconnectCommunication::TransitionSystem::traceConstructMessages(), and FSMSADF::ToolTransform::transformGraph().
CNextNode () Return pointer to next node on same level. If name is not NULL, next node must have name 'name'.
References CIsNode().
Referenced by actorProperties(), NoCMapping::addUsageNode(), analyzeSDFG(), NoCScheduler::assignSchedulingEntities(), bindApplicationGraphsToArchitectureGraph(), SDFgraph::construct(), TimedSDFgraph::construct(), constructArchitectureGraph(), constructCSDFgraph(), FSMSADF::StorageDistributions::constructFromXML(), FSMSADF::StorageDistribution::constructFromXML(), FSMSADF::Tile::constructFromXML(), FSMSADF::TileBinding::constructFromXML(), FSMSADF::StaticOrderSchedule::constructFromXML(), FSMSADF::ProcessorBinding::constructFromXML(), FSMSADF::NetworkInterfaceBinding::constructFromXML(), FSMSADF::MemoryBinding::constructFromXML(), FSMSADF::PlatformGraph::constructFromXML(), FSMSADF::PlatformBinding::constructFromXML(), FSMSADF::Graph::constructFromXML(), FSMSADF::ScenarioGraph::constructFromXML(), FSMSADF::FSM::constructFromXML(), FSMSADF::SDF3Flow::constructFromXML(), FSMSADF::ScenarioBindingConstraints::constructFromXML(), FSMSADF::ConnectionBinding::constructFromXML(), FSMSADF::Actor::constructFromXML(), NoCScheduleProblem::constructMessages(), constructPlatformGraph(), FSMSADF::ScenarioGraph::constructPropertiesFromXML(), FSMSADF::Actor::constructPropertiesFromXML(), FSMSADF::TileBinding::constructResourceUsageFromXML(), FSMSADF::PlatformBinding::constructResourceUsageFromXML(), constructTimedCSDFgraph(), constructTimedCSDFgraphStructure(), graphProperties(), InterconnectGraph::InterconnectGraph(), FSMSADF::mappingFlow(), Settings::parseSettingsFile(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), FSMSADF::ToolGenerate::parseSettingsFile(), parseSettingsFile(), setMappingConnection(), setMappingMemory(), setMappingNetworkInterface(), setMappingPlatformGraph(), setMappingProcessor(), SetOfNoCScheduleProblems::SetOfNoCScheduleProblems(), TimedSDFgraph::setProperties(), TimedSDFactor::setProperties(), InterconnectGraph::setUsage(), and setUsagePlatformGraph().
CParseFile () Open a file and parse it into a tree structure.
Referenced by Settings::loadApplicationGraphFromFile(), FSMSADF::ToolTransform::loadApplicationGraphFromFile(), FSMSADF::ToolAnalyze::loadApplicationGraphFromFile(), loadApplicationGraphFromFile(), Settings::loadArchitectureGraphFromFile(), loadArchitectureGraphFromFile(), loadMappingFromFile(), loadMessagesSetFromFile(), Settings::loadSystemUsageFromFile(), loadSystemUsageFromFile(), loadUsageFromFile(), FSMSADF::mappingFlow(), Settings::parseSettingsFile(), FSMSADF::Settings::parseSettingsFile(), FSMSADF::FlowSettings::parseSettingsFile(), FSMSADF::ToolGenerate::parseSettingsFile(), and parseSettingsFile().
CPreviousNode () Return pointer to previous node on same level. If name is not NULL, previous node must have name 'name'.
References CIsNode().
CRemoveAttribute () Remove attribute from node.
void CRemoveNode | ( | CNode * | n | ) |
CRemoveNode () Remove a node and its children from the database.
Referenced by NoCMapping::extractCommunicationConstraints(), and FSMSADF::mappingFlow().
CReplaceNode () Replace node with new node (old node is returned).
void CSaveFile | ( | ostream & | out, | |
CDoc * | doc, | |||
int | format | |||
) |
CSaveFile () Output a document to a stream.
References tempFileName().
CSaveFile () Output a document to a file.
Referenced by FSMSADF::ToolAnalyze::analyzeGraph(), FSMSADF::ToolGenerate::generateRandomGraph(), FSMSADF::SDF3Flow::outputAsXML(), outputBindingAsXML(), outputCommunicationTrace(), outputCSDFasXML(), SDF3Flow::outputMappingAsXML(), outputNetworkBindingAsXML(), outputNetworkUsageAsXML(), outputPlatformGraphAsXML(), outputSDFasXML(), outputSystemUsageAsXML(), Tester::runTest(), and FSMSADF::ToolTransform::transformGraph().
CSetAttribute () Set or reset an attribute of the node.
Referenced by NoCMapping::addUsageNode().
CSetContent () Set content of node.
Referenced by Tester::runTest().
CSetRootNode () Set the document root node
Referenced by Tester::runTest().
void releaseDoc | ( | CDoc * | doc | ) |
Referenced by FSMSADF::ToolTransform::cleanUp(), and FSMSADF::ToolAnalyze::cleanUp().
void xmlCleanup | ( | ) |
xmlCleanup() call at the end to release xml related resources.
Referenced by FSMSADF::ToolTransform::cleanUp(), FSMSADF::ToolGenerate::cleanUp(), and FSMSADF::ToolAnalyze::cleanUp().