Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
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#if defined(HDI_CORE_AIP_MODE)
11
12#include "hdicorePathStyle.h"
13#include "hdicorePrefData.h"
14
15namespace hdi
16{
17 namespace core
18 {
23 {
24 public:
37
46
58 PathStyleMapPref(const PathStyle::Map& value_, const std::string& name_ = "");
59
66
76
90 virtual PathStyleMapPref* clone() const;
91
101 virtual Type dataType() const;
102
111
120 virtual bool setPathStyleMap(const PathStyle::Map& value_);
121 };
122
123 typedef std::unique_ptr<PathStyleMapPref> PathStyleMapPrefUP;
124 typedef std::shared_ptr<PathStyleMapPref> PathStyleMapPrefSP;
125 typedef std::weak_ptr<PathStyleMapPref> PathStyleMapPrefWP;
126 }
127}
128
129#endif
130// HDI_CORE_AIP_MODE
131
132#endif
133// __HDI_CORE_PATH_STYLE_MAP_PREF__
Acts as a StrokeStyle value map, indicating which values are "known".
Definition: hdicorePathStyle.h:448
Allows for storage of path style maps.
Definition: hdicorePathStyleMapPref.h:23
virtual PathStyleMapPref & operator=(const PathStyleMapPref &rhs_)
Allows one PathStyleMapPref object to be assigned from another.
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.
PathStyleMapPref(const PathStyleMapPref &ps_)
Constructs a new PathStyleMapPref object from an existing PathStyleMapPref object (copy constructor)
PathStyleMapPref(const PathStyle::Map &value_, const std::string &name_="")
Constructs a PathStyleMapPref object, with new data, to be added to a container at a later time.
PathStyleMapPref()
Constructs an empty PathStyleMapPref object.
virtual ~PathStyleMapPref()
Destructs a PathStyleMapPref object.
virtual bool setPathStyleMap(const PathStyle::Map &value_)
Sets the path style map value for this object.
virtual Type dataType() const
Gets the type of persistent data.
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.