Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicorePathStylePref.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_PATH_STYLE_PREF__
8#define __HDI_CORE_PATH_STYLE_PREF__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicorePathStyle.h"
13#include "hdicorePrefData.h"
14
15namespace hdi
16{
17 namespace core
18 {
22 class PathStylePref : public PrefData
23 {
24 public:
37
46
58 PathStylePref(const PathStyle& value_, const std::string& name_ = "");
59
65 virtual ~PathStylePref();
66
75 virtual PathStylePref& operator=(const PathStylePref& rhs_);
76
90 virtual PathStylePref* clone() const;
91
101 virtual Type dataType() const;
102
110 virtual PathStyle pathStyle() const;
111
120 virtual bool setPathStyle(const PathStyle& value_);
121 };
122
123 typedef std::unique_ptr<PathStylePref> PathStylePrefUP;
124 typedef std::shared_ptr<PathStylePref> PathStylePrefSP;
125 typedef std::weak_ptr<PathStylePref> PathStylePrefWP;
126 }
127}
128
129#endif
130// HDI_CORE_AIP_MODE
131
132#endif
133// __HDI_CORE_PATH_STYLE_PREF__
Describes all styling attributes of a path.
Definition: hdicorePathStyle.h:442
Allows for storage of path styles.
Definition: hdicorePathStylePref.h:23
virtual PathStylePref & operator=(const PathStylePref &rhs_)
Allows one PathStylePref object to be assigned from another.
virtual bool setPathStyle(const PathStyle &value_)
Sets the path style value for this object.
virtual ~PathStylePref()
Destructs a PathStylePref object.
PathStylePref()
Constructs an empty PathStylePref object.
PathStylePref(const PathStyle &value_, const std::string &name_="")
Constructs a PathStylePref object, with new data, to be added to a container at a later time.
virtual Type dataType() const
Gets the type of persistent data.
virtual PathStylePref * clone() const
Convenience method to clone an PathStylePref object on the heap.
virtual PathStyle pathStyle() const
Gets the path style value for this object.
PathStylePref(const PathStylePref &ps_)
Constructs a new PathStylePref object from an existing PathStylePref object (copy constructor)
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:25
Type
Describes the type of the data the PrefData object contains; useful for determining which subclass to...
Definition: hdicorePrefData.h:32
Header file for path style-related classes.
Header file for general preference data storage.