gcx.h 770 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. #ifndef LOCAL_GCX_H
  2. #define LOCAL_GCX_H
  3. #include <cstdio>
  4. namespace gcx {
  5. class Point {
  6. private:
  7. int x, y, z;
  8. char tag;
  9. public:
  10. Point();
  11. Point(const char &tag);
  12. Point(const char &tag, const int &xx, const int &yy, const int &zz);
  13. // Point &operator=(const Point &point);
  14. void show() const;
  15. };
  16. class Dataset {
  17. private:
  18. Point s, e;
  19. bool b;
  20. public:
  21. Dataset();
  22. Dataset(const Point &ss, const Point &ee, const bool &bb);
  23. // Dataset &operator=(const Dataset &data);
  24. void show() const;
  25. };
  26. class Manager {
  27. private:
  28. Dataset set;
  29. int data;
  30. public:
  31. void SetNew(const Dataset &onj);
  32. };
  33. }
  34. #endif