Hot Door CORE  0.7.0
Adobe® Illustrator® Plug-in Library
hdicorePathStyleMapPref.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_PATH_STYLE_MAP_PREF__
8 #define __HDI_CORE_PATH_STYLE_MAP_PREF__
9 
10 #include "hdicorePathStyle.h"
11 #include "hdicorePrefData.h"
12 
13 namespace hdi
14 {
15  namespace core
16  {
20  class PathStyleMapPref : public PrefData
21  {
22  public:
35 
44 
56  PathStyleMapPref(const PathStyle::Map& value_, const std::string& name_ = "");
57 
63  virtual ~PathStyleMapPref();
64 
73  virtual PathStyleMapPref& operator=(const PathStyleMapPref& rhs_);
74 
88  virtual PathStyleMapPref* clone() const;
89 
99  virtual Type dataType() const;
100 
108  virtual PathStyle::Map pathStyleMap() const;
109 
118  virtual bool setPathStyleMap(const PathStyle::Map& value_);
119  };
120 
121  typedef std::auto_ptr<PathStyleMapPref> PathStyleMapPrefAP;
122  }
123 }
124 
125 #endif
126 // __HDI_CORE_PATH_STYLE_MAP_PREF__
Allows for storage of path style maps.
Definition: hdicorePathStyleMapPref.h:20
virtual PathStyleMapPref & operator=(const PathStyleMapPref &rhs_)
Allows one PathStyleMapPref object to be assigned from another.
virtual Type dataType() const
Gets the type of persistent data.
virtual bool setPathStyleMap(const PathStyle::Map &value_)
Sets the path style map value for this object.
Acts as a StrokeStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:433
PathStyleMapPref()
Constructs an empty PathStyleMapPref object.
Header file for path style-related classes.
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:24
Definition: hdicoreaiArray.h:12
virtual PathStyle::Map pathStyleMap() const
Gets the path style map value for this object.
virtual PathStyleMapPref * clone() const
Convenience method to clone an PathStyleMapPref object on the heap.
virtual ~PathStyleMapPref()
Destructs a PathStyleMapPref object.
Type
Describes the type of the data the PrefData object contains; useful for determining which subclass to...
Definition: hdicorePrefData.h:31
Header file for general preference data storage.