pelib  2.0.0
pelib::CppMatrix< Col, Row, Value > Class Template Reference

#include <CppMatrix.hpp>

Inheritance diagram for pelib::CppMatrix< Col, Row, Value >:

List of all members.

Public Member Functions

 CppMatrix ()
virtual CppMatrixclone () const
virtual void dump (std::ostream &o, const AlgebraData *data) const

Detailed Description

template<class Col, class Row, class Value>
class pelib::CppMatrix< Col, Row, Value >

Output class Matrix as C++ code

Definition at line 32 of file CppMatrix.hpp.

Constructor & Destructor Documentation

template<class Col , class Row , class Value >
pelib::CppMatrix< Col, Row, Value >::CppMatrix ( ) [inline]


Definition at line 39 of file CppMatrix.hpp.

Member Function Documentation

template<class Col , class Row , class Value >
virtual CppMatrix* pelib::CppMatrix< Col, Row, Value >::clone ( ) const [inline, virtual]

Returns a pointer to a copy of this class instance

Implements pelib::CppData.

Definition at line 47 of file CppMatrix.hpp.

template<class Col , class Row , class Value >
virtual void pelib::CppMatrix< Col, Row, Value >::dump ( std::ostream &  o,
const AlgebraData data 
) const [inline, virtual]

Generates C++ code that instanciates and instance of pelib::Matrix and fills it with all values contained in the Matrix given as parameter

oOutput stream where C++ code is written to
dataInstance of pelib::Matrix that is written to output stream as C++ code

Implements pelib::AlgebraDataOutput.

Definition at line 58 of file CppMatrix.hpp.

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