pelib  2.0.0
pelib::CppVector< Key, Value > Class Template Reference

#include <CppVector.hpp>

Inheritance diagram for pelib::CppVector< Key, Value >:
[legend]

List of all members.

Public Member Functions

 CppVector ()
virtual CppVectorclone () const
virtual void dump (std::ostream &o, const AlgebraData *data) const

Detailed Description

template<class Key, class Value>
class pelib::CppVector< Key, Value >

Output class for pelib::Vector that generate C++ code of a Algebraic Vector

Definition at line 33 of file CppVector.hpp.


Constructor & Destructor Documentation

template<class Key , class Value >
pelib::CppVector< Key, Value >::CppVector ( ) [inline]

Constructor

Definition at line 39 of file CppVector.hpp.


Member Function Documentation

template<class Key , class Value >
virtual CppVector* pelib::CppVector< Key, Value >::clone ( ) const [inline, virtual]

Returns a pointer to a copy of this class instance

Implements pelib::CppData.

Definition at line 47 of file CppVector.hpp.

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

Generates C++ code that produce the same instance of pelib::Vector as given as parameter and writes it to output stream

Parameters:
oOutput stream that receives the generated C++ code
dataInstance of pelib::Vector that is translated to C++ code

Implements pelib::AlgebraDataOutput.

Definition at line 58 of file CppVector.hpp.


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