2019-05-07 13:07:58 +02:00
|
|
|
//
|
|
|
|
// Created by trotfunky on 07/05/19.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef SNIPPETS_CIRCLE_H
|
|
|
|
#define SNIPPETS_CIRCLE_H
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <pugixml.hpp>
|
|
|
|
|
|
|
|
namespace xmlParser
|
|
|
|
{
|
2019-05-14 13:07:25 +02:00
|
|
|
class Circle
|
2019-05-07 13:07:58 +02:00
|
|
|
{
|
2019-05-14 13:07:25 +02:00
|
|
|
public:
|
|
|
|
Circle();
|
|
|
|
explicit Circle(pugi::xml_node&);
|
|
|
|
|
2019-05-07 13:07:58 +02:00
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int r;
|
|
|
|
|
|
|
|
std::string label;
|
2019-05-14 13:07:25 +02:00
|
|
|
};
|
2019-05-07 13:07:58 +02:00
|
|
|
}
|
|
|
|
#endif //SNIPPETS_CIRCLE_H
|