7#ifndef __HDI_CORE_RECT_PREF__
8#define __HDI_CORE_RECT_PREF__
110 typedef std::unique_ptr<Rect> RectPrefUP;
111 typedef std::shared_ptr<Rect> RectPrefSP;
112 typedef std::weak_ptr<Rect> RectPrefWP;
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:25
Contains Point and Size objects to describe a rectangle that exists at a specific point of given dime...
Definition: hdicoreRect.h:34
Allows for storage of rects/bounds.
Definition: hdicoreRectPref.h:21
RectPref(const Rect &value_, const std::string &name_="")
Constructs a RectPref object, with new data, to be added to a container at a later time.
virtual RectPref * clone() const
Convenience method to clone an RectPref object on the heap.
virtual Rect rect() const
Gets the rect for this object.
virtual bool setRect(const Rect &rect_)
Sets the rect for this object.
virtual ~RectPref()
Destructs a RectPref object.
virtual RectPref & operator=(const RectPref &rhs_)
Allows one RectPref object to be assigned from another.
RectPref(const RectPref &r_)
Constructs a new RectPref object from an existing RectPref object (copy constructor)
RectPref()
Constructs an empty RectPref object.
Header file for general preference data storage.
Header file for describing rectangles.