1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#ifndef TILESPEC_H #define TILESPEC_H class TileSpec { public: TileSpec(); TileSpec(int zoom, int x, int y); void setZoom(int zoom); int zoom() const; void setX(int x); int x() const; void setY(int y); int y() const; bool operator < (const TileSpec &rhs) const; private: int zoom_; int x_; int y_; }; #endif