Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Acts as a dictionary-style container to store any other persistent data types, including arrays and dictionaries, and can itself be stored inside another container type. More...
#include <hdicoreDictionaryPref.h>
Classes | |
class | Iterator |
Allows for iteration through the members of a dictionary pref, a la std::vector iteration. More... | |
Public Types | |
typedef std::vector< std::shared_ptr< PrefData > > | PrefDataVector |
typedef std::unique_ptr< Iterator > | IteratorUP |
typedef std::shared_ptr< Iterator > | IteratorSP |
typedef std::weak_ptr< Iterator > | IteratorWP |
Public Types inherited from hdi::core::PrefData | |
enum | Type { UnknownType = 0 , ArrayType = 10 , ArtboardPointType = 20 , ArtboardRectType = 30 , ArtColorType = 40 , BoolType = 50 , ColorType = 60 , DashStyleType = 70 , DashStyleMapType = 80 , DictionaryType = 90 , FillStyleType = 100 , FillStyleMapType = 110 , FontType = 120 , NumberType = 130 , PathType = 140 , PathStyleType = 150 , PathStyleMapType = 160 , PointType = 170 , RectType = 180 , SizeType = 190 , StringType = 200 , StrokeStyleType = 210 , StrokeStyleMapType = 220 , TransformMatrixType = 230 , CustomTypeOffset = 10000 } |
Describes the type of the data the PrefData object contains; useful for determining which subclass to cast a PrefData object to. | |
Public Member Functions | |
DictionaryPref (const DictionaryPref &dict_) | |
Constructs a new DictionaryPref object from an existing DictionaryPref object (copy constructor) | |
DictionaryPref (const PrefDataVector *members_=NULL, const std::string &name_="") | |
Constructs a DictionaryPref object, with new data, to be added to a container at a later time. | |
virtual | ~DictionaryPref () |
Destructs a DictionaryPref object. | |
virtual DictionaryPref & | operator= (const DictionaryPref &rhs_) |
Allows one DictionaryPref object to be assigned from another. | |
virtual DictionaryPref * | clone () const |
Convenience method to clone an DictionaryPref object on the heap. | |
virtual bool | addMember (const PrefData &data_) |
Adds a PrefData object into the dictionary member tree at the top-level. | |
virtual bool | member (const std::string &name_, std::unique_ptr< PrefData > &data__) const |
Gets a single member object from the dictionary data tree. | |
virtual bool | removeMember (const std::string &name_, std::unique_ptr< PrefData > &data__) |
Removes a PrefData member from the dictionary. | |
virtual Iterator | begin () const |
Gets an iterator for the dictionary. | |
virtual bool | getArrayMember (const std::string &key_, ArrayPref &array__) const |
Gets a persistent array object from the containing dictionary. | |
virtual bool | getOrCreateArrayMember (const std::string &name_, const PrefDataVector *elements_, ArrayPref &array__) |
Similar to getArrayMember(), except that, if the member does not already exist, it will be created anew with a series of default elements. | |
virtual bool | getArtboardPointMember (const std::string &key_, ArtboardPointPref &abp__) const |
Gets a persistent artboard point object from the dictionary. | |
virtual bool | getOrCreateArtboardPointMember (const std::string &key_, const ArtboardPoint &default_, ArtboardPointPref &abp__) |
Similar to getArtboardPointMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getArtboardRectMember (const std::string &key_, ArtboardRectPref &abr__) const |
Gets a persistent artboard rect object from the dictionary. | |
virtual bool | getOrCreateArtboardRectMember (const std::string &key_, const ArtboardRect &default_, ArtboardRectPref &abr__) |
Similar to getArtboardRectMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getArtColorMember (const std::string &key_, ArtColorPref &ac__) const |
Gets a persistent art color object from the dictionary. | |
virtual bool | getOrCreateArtColorMember (const std::string &key_, const ArtColor &default_, ArtColorPref &ac__) |
Similar to getArtColorMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getBoolMember (const std::string &key_, BoolPref &b__) const |
Gets a persistent bool object from the dictionary. | |
virtual bool | getOrCreateBoolMember (const std::string &key_, const bool default_, BoolPref &b__) |
Similar to getBoolMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getColorMember (const std::string &key_, ColorPref &c__) const |
Gets a persistent color object from the dictionary. | |
virtual bool | getOrCreateColorMember (const std::string &key_, const Color &default_, ColorPref &c__) |
Similar to getColorMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getDashStyleMember (const std::string &key_, DashStylePref &ds__) |
Gets a persistent dash style object from the dictionary. | |
virtual bool | getOrCreateDashStyleMember (const std::string &key_, const DashStyle &default_, DashStylePref &ds__) |
Similar to getDashStyleMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getDashStyleMapMember (const std::string &key_, DashStyleMapPref &ds__) |
Gets a persistent dash style map object from the dictionary. | |
virtual bool | getOrCreateDashStyleMapMember (const std::string &key_, const DashStyle::Map &default_, DashStyleMapPref &ds__) |
Similar to getDashStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getDictMember (const std::string &key_, DictionaryPref &dict__) const |
Gets a persistent dictionary object from the dictionary. | |
virtual bool | getOrCreateDictMember (const std::string &name_, const PrefDataVector *members_, DictionaryPref &dict__) |
Similar to getDictMember(), except that, if the member does not already exist, it will be created anew with a series of default members. | |
virtual bool | getFillStyleMember (const std::string &key_, FillStylePref &fs__) |
Gets a persistent fill style object from the dictionary. | |
virtual bool | getOrCreateFillStyleMember (const std::string &key_, const FillStyle &default_, FillStylePref &fs__) |
Similar to getFillStyleMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getFillStyleMapMember (const std::string &key_, FillStyleMapPref &fs__) |
Gets a persistent fill style map object from the dictionary. | |
virtual bool | getOrCreateFillStyleMapMember (const std::string &key_, const FillStyle::Map &default_, FillStyleMapPref &fs__) |
Similar to getFillStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getFontMember (const std::string &key_, FontPref &f__) const |
Gets a persistent font object from the dictionary. | |
virtual bool | getOrCreateFontMember (const std::string &key_, const Font &defaultFont_, const double defaultSize_, FontPref &f__) |
Similar to getFontMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getTransformMatrixMember (const std::string &key_, TransformMatrixPref &tm__) const |
Gets a persistent matrix object from the dictionary. | |
virtual bool | getOrCreateTransformMatrixMember (const std::string &key_, const TransformMatrix &default_, TransformMatrixPref &tm__) |
Similar to getTransformMatrixMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getNumberMember (const std::string &key_, NumberPref &n__) const |
Gets a persistent number object from the dictionary. | |
virtual bool | getOrCreateIntMember (const std::string &key_, const int64_t default_, NumberPref &n__) |
Similar to getNumberMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getOrCreateFloatMember (const std::string &key_, const double default_, NumberPref &n__) |
Similar to getNumberMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getPathStyleMember (const std::string &key_, PathStylePref &ps__) |
Gets a persistent path style object from the dictionary. | |
virtual bool | getOrCreatePathStyleMember (const std::string &key_, const PathStyle &default_, PathStylePref &ps__) |
Similar to getPathStyleMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getPathStyleMapMember (const std::string &key_, PathStyleMapPref &ps__) |
Gets a persistent path style map object from the dictionary. | |
virtual bool | getOrCreatePathStyleMapMember (const std::string &key_, const PathStyle::Map &default_, PathStyleMapPref &ps__) |
Similar to getPathStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getPointMember (const std::string &key_, PointPref &p__) const |
Gets a persistent point object from the dictionary. | |
virtual bool | getOrCreatePointMember (const std::string &key_, const Point &default_, PointPref &p__) |
Similar to getPointMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getRectMember (const std::string &key_, RectPref &r__) const |
Gets a persistent rect object from the dictionary. | |
virtual bool | getOrCreateRectMember (const std::string &key_, const Rect &default_, RectPref &r__) |
Similar to getRectMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getSizeMember (const std::string &key_, SizePref &s__) const |
Gets a persistent size object from the dictionary. | |
virtual bool | getOrCreateSizeMember (const std::string &key_, const Size &default_, SizePref &s__) |
Similar to getSizeMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getStringMember (const std::string &key_, StringPref &str__) const |
Gets a persistent string object from the dictionary. | |
virtual bool | getOrCreateStringMember (const std::string &key_, const std::string &default_, StringPref &str__) |
Similar to getStringMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getStrokeStyleMember (const std::string &key_, StrokeStylePref &ss__) |
Gets a persistent stroke style object from the dictionary. | |
virtual bool | getOrCreateStrokeStyleMember (const std::string &key_, const StrokeStyle &default_, StrokeStylePref &ss__) |
Similar to getStrokeStyleMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
virtual bool | getStrokeStyleMapMember (const std::string &key_, StrokeStyleMapPref &ss__) |
Gets a persistent stroke style map object from the dictionary. | |
virtual bool | getOrCreateStrokeStyleMapMember (const std::string &key_, const StrokeStyle::Map &default_, StrokeStyleMapPref &ss__) |
Similar to getStrokeStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value. | |
Public Member Functions inherited from hdi::core::PrefData | |
PrefData () | |
Constructs an empty PrefData object. | |
virtual | ~PrefData () |
Destructs a PrefData object. | |
virtual PrefData & | operator= (const PrefData &rhs_) |
Allows one PrefData object to be assigned from another. | |
virtual PrefData * | clone () const =0 |
Convenience method to clone a PrefData object, taking its subclass type into account for proper memory management. | |
virtual bool | isEmpty () const |
Gets whether the target PrefData object is empty (constructed with the default ctor) | |
virtual bool | operator== (const PrefData &rhs_) const |
Tests whether a given PrefData object is the same as another. | |
virtual bool | operator!= (const PrefData &rhs_) const |
Tests whether a given PrefData object is not the same as another. | |
virtual Type | dataType () const |
Gets the type of persistent data. | |
virtual std::string | key () const |
Gets the persistent data object's key. | |
virtual void | setKey (const std::string &key_) |
Sets the persistent data object's key. | |
virtual std::string | stringify () const |
Recursively serializes the target object as a JSON data (sub)tree, returning the appropriate JSON string. | |
Additional Inherited Members | |
Static Public Member Functions inherited from hdi::core::PrefData | |
static std::unique_ptr< PrefData > | parse (const std::string &jsonStr_) |
Parses the given JSON string to a best-fit representation of PrefData subclass objects in a tree. | |
Protected Member Functions inherited from hdi::core::PrefData | |
void * | __impl () const |
Internal use only. | |
PrefData (plat::PersistentData *&) | |
Internal use only. | |
PrefData (const PrefData &data_) | |
Constructs a new PrefData object from an existing PrefData object (copy constructor) | |
Protected Attributes inherited from hdi::core::PrefData | |
void * | _data |
Private implementation data. | |
Acts as a dictionary-style container to store any other persistent data types, including arrays and dictionaries, and can itself be stored inside another container type.
hdi::core::DictionaryPref::DictionaryPref | ( | const DictionaryPref & | dict_ | ) |
Constructs a new DictionaryPref object from an existing DictionaryPref object (copy constructor)
dict_ | Existing DictionaryPref object |
hdi::core::DictionaryPref::DictionaryPref | ( | const PrefDataVector * | members_ = NULL , |
const std::string & | name_ = "" |
||
) |
Constructs a DictionaryPref object, with new data, to be added to a container at a later time.
members_ | Initial dictionary members, if any |
name_ | Name for the data dictionary once it has been added to its container, as UTF-8 |
|
virtual |
Destructs a DictionaryPref object.
|
virtual |
Adds a PrefData object into the dictionary member tree at the top-level.
data_ | New data node to add into the top-level of the dictionary data tree |
|
virtual |
Gets an iterator for the dictionary.
|
virtual |
Convenience method to clone an DictionaryPref object on the heap.
Implements hdi::core::PrefData.
|
virtual |
Gets a persistent array object from the containing dictionary.
key_ | UTF-8 name/key of the array JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
array__ | Return-by-reference for the array member identified by key_ |
|
virtual |
Gets a persistent artboard point object from the dictionary.
key_ | UTF-8 name/key of the artboard point JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
abp__ | Return-by-reference for the artboard point member identified by key_ |
|
virtual |
Gets a persistent artboard rect object from the dictionary.
key_ | UTF-8 name/key of the artboard rect JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
abr__ | Return-by-reference for the artboard rect member identified by key_ |
|
virtual |
Gets a persistent art color object from the dictionary.
key_ | UTF-8 name/key of the art color JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ac__ | Return-by-reference for the art color member identified by key_ |
|
virtual |
Gets a persistent bool object from the dictionary.
key_ | UTF-8 name/key of the bool JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
b__ | Return-by-reference for the bool member identified by key_ |
|
virtual |
Gets a persistent color object from the dictionary.
key_ | UTF-8 name/key of the color JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
c__ | Return-by-reference for the color member identified by key_ |
|
virtual |
Gets a persistent dash style map object from the dictionary.
key_ | UTF-8 name/key of the dash style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the dash style map member identified by key_ |
|
virtual |
Gets a persistent dash style object from the dictionary.
key_ | UTF-8 name/key of the dash style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the dash style member identified by key_ |
|
virtual |
Gets a persistent dictionary object from the dictionary.
key_ | UTF-8 name/key of the dictionary JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
dict__ | Return-by-reference for the dictionary member identified by key_ |
|
virtual |
Gets a persistent fill style map object from the dictionary.
key_ | UTF-8 name/key of the fill style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the fill style map member identified by key_ |
|
virtual |
Gets a persistent fill style object from the dictionary.
key_ | UTF-8 name/key of the fill style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the fill style member identified by key_ |
|
virtual |
Gets a persistent font object from the dictionary.
key_ | UTF-8 name/key of the font JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
f__ | Return-by-reference for the font member identified by key_ |
|
virtual |
Gets a persistent number object from the dictionary.
key_ | UTF-8 name/key of the number JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
n__ | Return-by-reference for the number member identified by key_ |
|
virtual |
Similar to getArrayMember(), except that, if the member does not already exist, it will be created anew with a series of default elements.
name_ | UTF-8 name/key of the array JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
elements_ | Default elements for the array, in case it didn't already exist (NULL, or an empty vector, for none) |
array__ | Return-by-reference for the array member identified by key_ (or created anew) |
|
virtual |
Similar to getArtboardPointMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the artboard point JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
abp__ | Return-by-reference for the artboard point member identified by key_ (or created anew) |
|
virtual |
Similar to getArtboardRectMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the artboard rect JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
abr__ | Return-by-reference for the artboard rect member identified by key_ (or created anew) |
|
virtual |
Similar to getArtColorMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the art color JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
ac__ | Return-by-reference for the art color member identified by key_ (or created anew) |
|
virtual |
Similar to getBoolMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the bool JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
b__ | Return-by-reference for the bool member identified by key_ (or created anew) |
|
virtual |
Similar to getColorMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the color JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the color member identified by key_ (or created anew) |
|
virtual |
Similar to getDashStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the dash style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the dash style map member identified by key_ (or created anew) |
|
virtual |
Similar to getDashStyleMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the dash style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the dash style member identified by key_ (or created anew) |
|
virtual |
Similar to getDictMember(), except that, if the member does not already exist, it will be created anew with a series of default members.
name_ | UTF-8 name/key of the dictionary JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
members_ | Default members for the dictionary, in case it didn't already exist (NULL, or an empty vector, for none) |
dict__ | Return-by-reference for the dictionary member identified by key_ (or created anew) |
|
virtual |
Similar to getFillStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the fill style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the fill style map member identified by key_ (or created anew) |
|
virtual |
Similar to getFillStyleMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the fill style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the fill style member identified by key_ (or created anew) |
|
virtual |
Similar to getNumberMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the number JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default double value for the member, in case it didn't already exist |
n__ | Return-by-reference for the number member identified by key_ (or created anew) |
|
virtual |
Similar to getFontMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the font JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
defaultFont_ | Default font for the member, in case it didn't already exist |
defaultSize_ | Default font size for the member, in case it didn't already exist |
f__ | Return-by-reference for the font member identified by key_ (or created anew) |
|
virtual |
Similar to getNumberMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the number JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default integer value for the member, in case it didn't already exist |
n__ | Return-by-reference for the number member identified by key_ (or created anew) |
|
virtual |
Similar to getPathStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the path style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the path style map member identified by key_ (or created anew) |
|
virtual |
Similar to getPathStyleMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the path style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the path style member identified by key_ (or created anew) |
|
virtual |
Similar to getPointMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the point JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
p__ | Return-by-reference for the point member identified by key_ (or created anew) |
|
virtual |
Similar to getRectMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the rect JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
r__ | Return-by-reference for the rect member identified by key_ (or created anew) |
|
virtual |
Similar to getSizeMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the size JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
s__ | Return-by-reference for the size member identified by key_ (or created anew) |
|
virtual |
Similar to getStringMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the string JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default UTF-8 value for the member, in case it didn't already exist |
str__ | Return-by-reference for the string member identified by key_ (or created anew) |
|
virtual |
Similar to getStrokeStyleMapMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the stroke style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the stroke style map member identified by key_ (or created anew) |
|
virtual |
Similar to getStrokeStyleMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF8 name/key of the stroke style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
c__ | Return-by-reference for the stroke style member identified by key_ (or created anew) |
|
virtual |
Similar to getTransformMatrixMember(), except that, if the member does not already exist, it will be created anew with a default value.
key_ | UTF-8 name/key of the matrix JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
default_ | Default value for the member, in case it didn't already exist |
tm__ | Return-by-reference for the matrix member identified by key_ (or created anew) |
|
virtual |
Gets a persistent path style map object from the dictionary.
key_ | UTF-8 name/key of the path style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the path style map member identified by key_ |
|
virtual |
Gets a persistent path style object from the dictionary.
key_ | UTF-8 name/key of the path style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the path style member identified by key_ |
|
virtual |
Gets a persistent point object from the dictionary.
key_ | UTF-8 name/key of the point JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
p__ | Return-by-reference for the point member identified by key_ |
|
virtual |
Gets a persistent rect object from the dictionary.
key_ | UTF-8 name/key of the rect JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
r__ | Return-by-reference for the rect member identified by key_ |
|
virtual |
Gets a persistent size object from the dictionary.
key_ | UTF-8 name/key of the size JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
s__ | Return-by-reference for the size member identified by key_ |
|
virtual |
Gets a persistent string object from the dictionary.
key_ | UTF-8 name/key of the string JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
str__ | Return-by-reference for the string member identified by key_ |
|
virtual |
Gets a persistent stroke style map object from the dictionary.
key_ | UTF-8 name/key of the stroke style map JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the stroke style map member identified by key_ |
|
virtual |
Gets a persistent stroke style object from the dictionary.
key_ | UTF-8 name/key of the stroke style JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
ds__ | Return-by-reference for the stroke style member identified by key_ |
|
virtual |
Gets a persistent matrix object from the dictionary.
key_ | UTF-8 name/key of the matrix JSON node to get from the top-level and return as a neatly-packed PrefData subclass |
tm__ | Return-by-reference for the matrix member identified by key_ |
|
virtual |
Gets a single member object from the dictionary data tree.
name_ | Name of the member to get from the top-level of the dictionary data tree, as UTF-8 |
data__ | Return-by-reference for the member found with the given name |
|
virtual |
Allows one DictionaryPref object to be assigned from another.
rhs_ | Righthand side of the = operator; the object to copy values from |
|
virtual |
Removes a PrefData member from the dictionary.
name_ | Name/key of the member to remove from the top-level of the dictionary data tree, as UTF-8 |
data__ | Return-by-reference for the PrefData object for the member that was removed |