
Untitled
By: a guest on
May 7th, 2012 | syntax:
C++ | size: 0.58 KB | hits: 14 | expires: Never
//getter
std::string Aktie::getWKN() const{ return wkn; }
std::string Aktie::getName() const{ return name; }
float Aktie::getKurs() const{ return kurs; }
const std::tm &Aktie::getDatum() const{ return datum; }
Aktie *Aktie::getNext() const{return next; }
//setter
void Aktie::setWKN(const std::string &wkn) { this -> wkn = wkn; }
//void Aktie::setName(const std::string &name) { this ->name = name; }
void Aktie::setKurs(float kurs) { this -> kurs = kurs; }
void Aktie::setDatum(const tm &datum) { this -> datum = datum; }
void Aktie::setNext(Aktie *next) { this -> next = next; }