pelib  2.0.0
pelib::GraphML Class Reference

#include <GraphML.hpp>

Inheritance diagram for pelib::GraphML:
[legend]

List of all members.

Public Member Functions

virtual ~GraphML ()
virtual GraphMLclone () const
virtual Taskgraphparse (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"

Detailed Description

Parser and output class of taskgraph in GraphML format

Definition at line 33 of file GraphML.hpp.


Constructor & Destructor Documentation

GraphML::~GraphML ( ) [virtual]

Destructor

Definition at line 112 of file GraphML.cpp.


Member Function Documentation

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

Parameters:
stroutput stream to write GraphML taskgraph to
dataInstance 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

Parameters:
stroutput stream to write GraphML taskgraph to
dataInstance 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

Parameters:
stroutput stream to write GraphML taskgraph to
dataInstance of pelib::Taskgraph to be written in output stream
archInstance 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

Parameters:
stroutput stream to write GraphML taskgraph to
dataInstance of pelib::Taskgraph to be written in output stream
archInstance 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

Returns:
is Input text stream in GraphML format

Implements pelib::GraphMLParser.

Definition at line 264 of file GraphML.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files: