pelib
2.0.0
|
#include <CppScalar.hpp>
Public Member Functions | |
CppScalar () | |
virtual CppScalar * | clone () const |
virtual void | dump (std::ostream &stream, const AlgebraData *data) const |
Output class of algebraic scalar in C++ format
Definition at line 35 of file CppScalar.hpp.
pelib::CppScalar< Value >::CppScalar | ( | ) | [inline] |
Constructor
Definition at line 40 of file CppScalar.hpp.
virtual CppScalar* pelib::CppScalar< Value >::clone | ( | ) | const [inline, virtual] |
Returns a pointer to a copy of this instance
Implements pelib::CppData.
Definition at line 48 of file CppScalar.hpp.
virtual void pelib::CppScalar< Value >::dump | ( | std::ostream & | stream, |
const AlgebraData * | data | ||
) | const [inline, virtual] |
Generate and write C++ code to output stream, that produces an instance of pelib::Scalar that holds the data in instance of pelib::Scalar given as argument
stream | Output stream where the generated C++ code is written to |
data | Instance of pelib::Scalar that contains the scalar to be written |
Implements pelib::AlgebraDataOutput.
Definition at line 59 of file CppScalar.hpp.