pelib  2.0.0
pelib::CppScalar< Value > Class Template Reference

#include <CppScalar.hpp>

Inheritance diagram for pelib::CppScalar< Value >:

List of all members.

Public Member Functions

 CppScalar ()
virtual CppScalarclone () const
virtual void dump (std::ostream &stream, const AlgebraData *data) const

Detailed Description

template<class Value>
class pelib::CppScalar< Value >

Output class of algebraic scalar in C++ format

Definition at line 35 of file CppScalar.hpp.

Constructor & Destructor Documentation

template<class Value >
pelib::CppScalar< Value >::CppScalar ( ) [inline]


Definition at line 40 of file CppScalar.hpp.

Member Function Documentation

template<class Value >
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.

template<class Value >
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

streamOutput stream where the generated C++ code is written to
dataInstance of pelib::Scalar that contains the scalar to be written

Implements pelib::AlgebraDataOutput.

Definition at line 59 of file CppScalar.hpp.

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