pelib
2.0.0
|
#include <Cpp.hpp>
Public Member Functions | |
Cpp (std::vector< CppData * > outputs) | |
Cpp (const Cpp &src) | |
Cpp () | |
Cpp (const std::string &name) | |
virtual | ~Cpp () |
virtual void | setName (const std::string &name) |
virtual std::string | getName () const |
virtual void | dump (std::ostream &o, const Algebra &record) const |
virtual void | dump (std::ostream &o, const AlgebraData *data) const |
virtual Cpp & | operator= (const Cpp &rhs) |
Protected Member Functions | |
void | deleteOutputs () |
void | addOutputs () |
Protected Attributes | |
std::vector< CppData * > | outputs |
std::string | name |
C++ code generator for a collection of class instances derived from pelib::AlgebraData
pelib::Cpp::Cpp | ( | std::vector< CppData * > | outputs | ) |
pelib::Cpp::Cpp | ( | const Cpp & | src | ) |
pelib::Cpp::Cpp | ( | ) |
pelib::Cpp::Cpp | ( | const std::string & | name | ) |
pelib::Cpp::~Cpp | ( | ) | [virtual] |
void pelib::Cpp::addOutputs | ( | ) | [protected] |
void pelib::Cpp::deleteOutputs | ( | ) | [protected] |
void pelib::Cpp::dump | ( | std::ostream & | o, |
const Algebra & | record | ||
) | const [virtual] |
Generates C++ code that instanciates all AlgebraData instances in a given Algebra collection, to some C++ function code and writes it in output stream
Implements pelib::AlgebraOutput.
void pelib::Cpp::dump | ( | std::ostream & | o, |
const AlgebraData * | data | ||
) | const [virtual] |
Generates C++ code that instanciates all AlgebraData instances in a given Algebra collection, to some C++ function code and writes it in output stream
Implements pelib::AlgebraOutput.
std::string pelib::Cpp::getName | ( | ) | const [virtual] |
void pelib::Cpp::setName | ( | const std::string & | name | ) | [virtual] |
std::string pelib::Cpp::name [protected] |
std::vector<CppData*> pelib::Cpp::outputs [protected] |