Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
hdicoreFillStyleMapPref.h
Go to the documentation of this file.
1
7#ifndef __HDI_CORE_FILL_STYLE_MAP_PREF__
8#define __HDI_CORE_FILL_STYLE_MAP_PREF__
9
10#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicorePathStyle.h"
13#include "hdicorePrefData.h"
14
15namespace hdi
16{
17 namespace aip
18 {
19 class PersistentDictionary;
20 }
21
22 namespace core
23 {
28 {
29 public:
42
51
63 FillStyleMapPref(const FillStyle::Map& value_, const std::string& name_ = "");
64
71
81
95 virtual FillStyleMapPref* clone() const;
96
106 virtual Type dataType() const;
107
116
125 virtual bool setFillStyleMap(const FillStyle::Map& value_);
126
127
128 private:
129 friend class PathStyleMapPref;
130
136 FillStyleMapPref(aip::PersistentDictionary*&);
137 };
138
139 typedef std::unique_ptr<FillStyleMapPref> FillStyleMapPrefUP;
140 typedef std::shared_ptr<FillStyleMapPref> FillStyleMapPrefSP;
141 typedef std::weak_ptr<FillStyleMapPref> FillStyleMapPrefWP;
142 }
143}
144
145#endif
146// HDI_CORE_AIP_MODE
147
148#endif
149// __HDI_CORE_FILL_STYLE_MAP_PREF__
Acts as a FillStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:153
Allows for storage of fill style maps.
Definition: hdicoreFillStyleMapPref.h:28
FillStyleMapPref()
Constructs an empty FillStyleMapPref object.
FillStyleMapPref(const FillStyle::Map &value_, const std::string &name_="")
Constructs a FillStyleMapPref object, with new data, to be added to a container at a later time.
virtual FillStyleMapPref * clone() const
Convenience method to clone an FillStyleMapPref object on the heap.
FillStyleMapPref(const FillStyleMapPref &fs_)
Constructs a new FillStyleMapPref object from an existing FillStyleMapPref object (copy constructor)
virtual bool setFillStyleMap(const FillStyle::Map &value_)
Sets the fill style map value for this object.
virtual ~FillStyleMapPref()
Destructs a FillStyleMapPref object.
virtual FillStyleMapPref & operator=(const FillStyleMapPref &rhs_)
Allows one FillStyleMapPref object to be assigned from another.
virtual Type dataType() const
Gets the type of persistent data.
virtual FillStyle::Map fillStyleMap() const
Gets the fill style map value for this object.
Allows for storage of path style maps.
Definition: hdicorePathStyleMapPref.h:23
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.