Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. #ifndef UNTITLED_GRYF_H
  4. #define UNTITLED_GRYF_H
  5. #define _DEBUG 0
  6. using namespace std;
  7.  
  8. class Gryf {
  9. public:
  10. Gryf();
  11.  
  12. ~Gryf();
  13.  
  14. Gryf(const Gryf &y);
  15.  
  16. Gryf operator=(const Gryf &x);
  17.  
  18. const string &getKolor_gryfu() const;
  19.  
  20. void setKolor_gryfu(const string &kolor_gryfu);
  21.  
  22. const string &getRodzaj_drewna() const;
  23.  
  24. void setRodzaj_drewna(const string &rodzaj_drewna);
  25.  
  26. unsigned int getIlosc_progow() const;
  27.  
  28. void setIlosc_progow(unsigned int ilosc_progow);
  29.  
  30. unsigned int getDlugosc_gryfu() const;
  31.  
  32. void setDlugosc_gryfu(unsigned int dlugosc_gryfu);
  33.  
  34. private:
  35. unsigned ilosc_progow;
  36. unsigned dlugosc_gryfu;
  37. std::string kolor_gryfu;
  38. std::string rodzaj_drewna;
  39.  
  40. void ustawRodzaj();
  41. };
  42.  
  43.  
  44. #endif //UNTITLED_GRYF_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement