Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 7th, 2012  |  syntax: C++  |  size: 0.58 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. //getter
  2. std::string Aktie::getWKN() const{ return wkn; }
  3. std::string Aktie::getName() const{ return name; }
  4. float Aktie::getKurs() const{ return kurs; }
  5. const std::tm &Aktie::getDatum() const{ return datum; }
  6. Aktie *Aktie::getNext() const{return next; }
  7.  
  8. //setter
  9. void Aktie::setWKN(const std::string &wkn) { this -> wkn = wkn; }
  10. //void Aktie::setName(const std::string &name) { this ->name = name; }
  11. void Aktie::setKurs(float kurs) { this -> kurs = kurs; }
  12. void Aktie::setDatum(const tm &datum) { this -> datum = datum; }
  13. void Aktie::setNext(Aktie *next) { this -> next = next; }