NumeRe
v1.1.4
NumeRe: Framework für Numerische Rechnungen
Sequence.hpp
Go to the documentation of this file.
1
36
/* If you use this library, you must include dtl.hpp only. */
37
38
#ifndef DTL_SEQUENCE_H
39
#define DTL_SEQUENCE_H
40
41
namespace
dtl
{
42
46
template
<
typename
elem>
47
class
Sequence
48
{
49
public :
50
typedef
vector< elem >
elemVec
;
51
Sequence
() {}
52
virtual
~Sequence
() {}
53
54
elemVec
getSequence
()
const
{
55
return
sequence
;
56
}
57
void
addSequence
(elem e) {
58
sequence
.push_back(e);
59
}
60
protected :
61
elemVec
sequence
;
62
};
63
}
64
65
#endif
// DTL_SEQUENCE_H
dtl::Sequence
Definition:
Sequence.hpp:48
dtl::Sequence::~Sequence
virtual ~Sequence()
Definition:
Sequence.hpp:52
dtl::Sequence::elemVec
vector< elem > elemVec
Definition:
Sequence.hpp:50
dtl::Sequence::getSequence
elemVec getSequence() const
Definition:
Sequence.hpp:54
dtl::Sequence::addSequence
void addSequence(elem e)
Definition:
Sequence.hpp:57
dtl::Sequence::Sequence
Sequence()
Definition:
Sequence.hpp:51
dtl::Sequence::sequence
elemVec sequence
Definition:
Sequence.hpp:61
dtl
Definition:
Diff.hpp:41
common
dtl
Sequence.hpp
Generated by
1.9.3