pelib
2.0.0
|
#include <GraphML.hpp>
Public Member Functions | |
virtual | ~GraphML () |
virtual GraphML * | clone () const |
virtual Taskgraph * | parse (std::istream &is) const |
virtual void | dump (std::ostream &str, const Taskgraph *data) const |
virtual void | dump (std::ostream &str, const Taskgraph &data) const |
virtual void | dump (std::ostream &os, const Taskgraph &data, const Platform &arch) const |
virtual void | dump (std::ostream &os, const Taskgraph *data, const Platform *arch) const |
Static Public Attributes | |
static const std::string | producerName = "producer_name" |
static const std::string | consumerName = "consumer_name" |
static const std::string | type = "type" |
static const std::string | producer_rate = "producer_rate" |
static const std::string | consumer_rate = "consumer_rate" |
Parser and output class of taskgraph in GraphML format
Definition at line 33 of file GraphML.hpp.
GraphML::~GraphML | ( | ) | [virtual] |
Destructor
Definition at line 112 of file GraphML.cpp.
GraphML * GraphML::clone | ( | ) | const [virtual] |
Returns a pointer to a copy of this instance of GraphML
Implements pelib::TaskgraphOutput.
Definition at line 419 of file GraphML.cpp.
virtual void pelib::GraphML::dump | ( | std::ostream & | str, |
const Taskgraph * | data | ||
) | const [virtual] |
Output an instance of pelib::Taskgraph to text output stream in GraphML format
str | output stream to write GraphML taskgraph to |
data | Instance of pelib::Taskgraph to be written in output stream |
virtual void pelib::GraphML::dump | ( | std::ostream & | str, |
const Taskgraph & | data | ||
) | const [virtual] |
Output an instance of pelib::Taskgraph to text output stream in GraphML format
str | output stream to write GraphML taskgraph to |
data | Instance of pelib::Taskgraph to be written in output stream |
virtual void pelib::GraphML::dump | ( | std::ostream & | os, |
const Taskgraph & | data, | ||
const Platform & | arch | ||
) | const [virtual] |
Output an instance of pelib::Taskgraph to text output stream in GraphML format with formula interpreted to fit an execution platform
str | output stream to write GraphML taskgraph to |
data | Instance of pelib::Taskgraph to be written in output stream |
arch | Instance of pelib::Platform to parse deadline and efficiency formulas in Taskgraph description |
Implements pelib::TaskgraphOutput.
virtual void pelib::GraphML::dump | ( | std::ostream & | os, |
const Taskgraph * | data, | ||
const Platform * | arch | ||
) | const [virtual] |
Output an instance of pelib::Taskgraph to text output stream in GraphML format with formula interpreted to fit an execution platform
str | output stream to write GraphML taskgraph to |
data | Instance of pelib::Taskgraph to be written in output stream |
arch | Instance of pelib::Platform to parse deadline and efficiency formulas in Taskgraph description |
Implements pelib::TaskgraphOutput.
Taskgraph * GraphML::parse | ( | std::istream & | is | ) | const [virtual] |
Produces and instance of Taskgraph by parsing text input stream in GraphML format
Implements pelib::GraphMLParser.
Definition at line 264 of file GraphML.cpp.
const string GraphML::consumer_rate = "consumer_rate" [static] |
Definition at line 71 of file GraphML.hpp.
const string GraphML::consumerName = "consumer_name" [static] |
Definition at line 68 of file GraphML.hpp.
const string GraphML::producer_rate = "producer_rate" [static] |
Definition at line 70 of file GraphML.hpp.
const string GraphML::producerName = "producer_name" [static] |
Definition at line 68 of file GraphML.hpp.
const string GraphML::type = "type" [static] |
Definition at line 69 of file GraphML.hpp.