33 #include "hurricane/Component.h"
34 #include "hurricane/Contacts.h"
55 virtual bool isMaster ()
const {
return false; };
56 virtual std::string _getTypeName ()
const {
return "Contact::AnchorHook"; };
57 virtual std::string _getString ()
const;
78 static inline void enableCheckMinSize ();
79 static inline void disableCheckMinSize ();
95 virtual Hooks getHooks ()
const;
98 virtual Point getPosition ()
const;
99 virtual Box getBoundingBox ()
const;
100 virtual const Layer* getLayer ()
const {
return _layer;};
126 virtual void _preDestroy ();
128 virtual void _toJson ( JsonWriter* )
const;
129 virtual std::string _getTypeName ()
const {
return _TName(
"Contact"); };
130 virtual std::string _getString ()
const;
131 virtual Record* _getRecord ()
const;
133 static bool _checkMinSize;
134 AnchorHook _anchorHook;
144 inline void Contact::enableCheckMinSize () { _checkMinSize=
true; }
145 inline void Contact::disableCheckMinSize () { _checkMinSize=
false; }
151 class JsonContact :
public JsonComponent {
153 static void initialize ();
154 JsonContact (
unsigned long flags );
155 virtual std::string getTypeName ()
const;
156 virtual JsonContact* clone (
unsigned long )
const;
157 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
Generic Collection auto-pointer.
Definition: Collection.h:235
Hook description (API)
Definition: Hook.h:34
Layer description (API)
Definition: Layer.h:52
Net description (API)
Definition: Net.h:48
Point description (API)
Definition: Point.h:32
The namespace dedicated to Hurricane.
Definition: Generalities.dox:5