Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
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 #include "hdicorePathStyle.h"
11 #include "hdicorePrefData.h"
12 
13 namespace hdi
14 {
15  namespace core
16  {
20  class PathStylePref : public PrefData
21  {
22  public:
34  PathStylePref();
35 
43  PathStylePref(const PathStylePref& ps_);
44 
56  PathStylePref(const PathStyle& value_, const std::string& name_ = "");
57 
63  virtual ~PathStylePref();
64 
73  virtual PathStylePref& operator=(const PathStylePref& rhs_);
74 
88  virtual PathStylePref* clone() const;
89 
99  virtual Type dataType() const;
100 
108  virtual PathStyle pathStyle() const;
109 
118  virtual bool setPathStyle(const PathStyle& value_);
119  };
120 
121  typedef std::auto_ptr<PathStylePref> PathStylePrefAP;
122  }
123 }
124 
125 #endif
126 // __HDI_CORE_PATH_STYLE_PREF__
Describes all styling attributes of a path.
Definition: hdicorePathStyle.h:427
virtual PathStylePref * clone() const
Convenience method to clone an PathStylePref object on the heap.
virtual ~PathStylePref()
Destructs a PathStylePref object.
Header file for path style-related classes.
virtual bool setPathStyle(const PathStyle &value_)
Sets the path style value for this object.
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:24
Definition: hdicoreaiArray.h:12
virtual Type dataType() const
Gets the type of persistent data.
virtual PathStylePref & operator=(const PathStylePref &rhs_)
Allows one PathStylePref object to be assigned from another.
PathStylePref()
Constructs an empty PathStylePref object.
Type
Describes the type of the data the PrefData object contains; useful for determining which subclass to...
Definition: hdicorePrefData.h:31
virtual PathStyle pathStyle() const
Gets the path style value for this object.
Header file for general preference data storage.
Allows for storage of path styles.
Definition: hdicorePathStylePref.h:20