Hot Door CORE  0.7.1
Adobe® Illustrator® Plug-in Library
hdicoreStrokeStyleMapPref.h
Go to the documentation of this file.
1 
7 #ifndef __HDI_CORE_STROKE_STYLE_MAP_PREF__
8 #define __HDI_CORE_STROKE_STYLE_MAP_PREF__
9 
10 #include "hdicorePathStyle.h"
11 #include "hdicorePrefData.h"
12 
13 namespace hdi
14 {
15  namespace plugin
16  {
17  class PersistentDictionary;
18  }
19 
20  namespace core
21  {
26  {
27  public:
40 
49 
61  StrokeStyleMapPref(const StrokeStyle::Map& value_, const std::string& name_ = "");
62 
68  virtual ~StrokeStyleMapPref();
69 
78  virtual StrokeStyleMapPref& operator=(const StrokeStyleMapPref& rhs_);
79 
93  virtual StrokeStyleMapPref* clone() const;
94 
104  virtual Type dataType() const;
105 
113  virtual StrokeStyle::Map strokeStyleMap() const;
114 
123  virtual bool setStrokeStyleMap(const StrokeStyle::Map& value_);
124 
125 
126  private:
127  friend class PathStyleMapPref;
128 
134  StrokeStyleMapPref(plugin::PersistentDictionary*&);
135  };
136 
137  typedef std::auto_ptr<StrokeStyleMapPref> StrokeStyleMapPrefAP;
138  }
139 }
140 
141 #endif
142 // __HDI_CORE_STROKE_STYLE_MAP_PREF__
Allows for storage of path style maps.
Definition: hdicorePathStyleMapPref.h:20
Allows for storage of stroke style maps.
Definition: hdicoreStrokeStyleMapPref.h:25
Header file for path style-related classes.
Base class for persistent data objects, stored via JSON.
Definition: hdicorePrefData.h:24
Definition: hdicoreaiArray.h:12
Acts as a StrokeStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:276
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.