23 #include "hurricane/Component.h"
24 #include "hurricane/Pads.h"
47 private:
const Layer* _layer;
48 private:
Box _boundingBox;
53 protected:
Pad(
Net* net,
const Layer* layer,
const Box& boundingBox);
62 public:
virtual Box getBoundingBox()
const;
63 public:
virtual Box getBoundingBox(
const BasicLayer* basicLayer)
const;
64 public:
virtual const Layer* getLayer()
const {
return _layer;};
69 public:
void setLayer(
const Layer* layer);
71 public:
void setBoundingBox(
const Box& boundingBox);
76 public:
virtual void _toJson(JsonWriter*)
const;
77 public:
static JsonObject* getJsonObject(
unsigned long flags);
78 public:
virtual string _getTypeName()
const {
return _TName(
"Pad");};
79 public:
virtual string _getString()
const;
80 public:
virtual Record* _getRecord()
const;
85 class JsonPad :
public JsonComponent {
88 public:
static void initialize();
89 public: JsonPad(
unsigned long flags);
90 public:
virtual string getTypeName()
const;
91 public:
virtual JsonPad* clone(
unsigned long)
const;
92 public:
virtual void toData(JsonStack&);
BasicLayer description (API)
Definition: BasicLayer.h:44
Box description (API)
Definition: Box.h:31
Component description (API)
Definition: Component.h:42
std::int64_t Unit
Definition: DbU.h:67
Support for JSON export.
Definition: JsonObject.h:83
Layer description (API)
Definition: Layer.h:52
Net description (API)
Definition: Net.h:48
Pad description (API)
Definition: Pad.h:36
static Pad * create(Net *net, const Layer *layer, const Box &boundingBox)
Component Inherit
Definition: Pad.h:42
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5