![]() |
Hot Door CORE 0.8.3
Adobe® Illustrator® Plug-in Library
|
Acts as an array-style container to store any other persistent data types, including arrays and dictionaries, and can itself be stored inside another container type. More...
#include <hdicoreArrayPref.h>


Public Types | |
| typedef std::vector< std::shared_ptr< PrefData > > | PrefDataVector |
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 | |
| ArrayPref (const ArrayPref &array_) | |
| Constructs a new ArrayPref object from an existing ArrayPref object (copy constructor) | |
| ArrayPref (const PrefDataVector *elements_=NULL, const std::string &name_="") | |
| Constructs an ArrayPref object, with new data, to be added to a container at a later time. | |
| virtual | ~ArrayPref () |
| Destructs an ArrayPref object. | |
| virtual ArrayPref & | operator= (const ArrayPref &rhs_) |
| Allows one ArrayPref object to be assigned from another. | |
| virtual ArrayPref * | clone () const |
| Convenience method to clone an ArrayPref object on the heap. | |
| virtual uint32_t | count () const |
| Gets the count of elements in the top-level of the array. | |
| virtual bool | element (const uint32_t index_, std::unique_ptr< PrefData > &data__) const |
| Gets a single element object from the array data tree. | |
| virtual bool | pushElement (const PrefData &data_) |
| Adds a persistent data object to the end of the array. | |
| virtual bool | popElement (std::unique_ptr< PrefData > &data__) |
| Removes a persistent data object from the end of the array. | |
| virtual bool | insertElement (const uint32_t index_, const PrefData &data_) |
| Inserts a persistent data object at an arbitrary position in the array. | |
| virtual bool | removeElement (const uint32_t index_, std::unique_ptr< PrefData > &data__) |
| Removes a persistent data object from an arbitrary position in the array. | |
| virtual void | clear () |
| Removes all elements from an array. | |
| virtual bool | getArrayElement (const uint32_t index_, ArrayPref &array__) const |
| Gets a persistent array object from the containing array. | |
| virtual bool | getOrCreateArrayElement (const uint32_t index_, const PrefDataVector *elements_, ArrayPref &array__) |
| Similar to getArrayElement(), except that, if the element does not already exist, it will be created anew with a series of default elements. | |
| virtual bool | getArtboardPointElement (const uint32_t index_, ArtboardPointPref &abp__) const |
| Gets a persistent point object from the array. | |
| virtual bool | getOrCreateArtboardPointElement (const uint32_t index_, const ArtboardPoint &default_, ArtboardPointPref &abp__) |
| Similar to getArtboardPointElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getArtboardRectElement (const uint32_t index_, ArtboardRectPref &abr__) const |
| Gets a persistent artboard rect object from the array. | |
| virtual bool | getOrCreateArtboardRectElement (const uint32_t index_, const ArtboardRect &default_, ArtboardRectPref &abr__) |
| Similar to getArtboardRectElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getArtColorElement (const uint32_t index_, ArtColorPref &ac__) const |
| Gets a persistent art color object from the array. | |
| virtual bool | getOrCreateArtColorElement (const uint32_t index_, const ArtColor &default_, ArtColorPref &ac__) |
| Similar to getArtColorElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getBoolElement (const uint32_t index_, BoolPref &b__) const |
| Gets a persistent bool object from the array. | |
| virtual bool | getOrCreateBoolElement (const uint32_t index_, const bool default_, BoolPref &b__) |
| Similar to getBoolElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getColorElement (const uint32_t index_, ColorPref &c__) const |
| Gets a persistent color object from the array. | |
| virtual bool | getOrCreateColorElement (const uint32_t index_, const Color &default_, ColorPref &c__) |
| Similar to getColorElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getDashStyleElement (const uint32_t index_, DashStylePref &ds__) |
| Gets a persistent dash style object from the dictionary. | |
| virtual bool | getOrCreateDashStyleElement (const uint32_t index_, const DashStyle &default_, DashStylePref &ds__) |
| Similar to getDashStyleElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getDashStyleMapElement (const uint32_t index_, DashStyleMapPref &ds__) |
| Gets a persistent dash style map object from the dictionary. | |
| virtual bool | getOrCreateDashStyleMapElement (const uint32_t index_, const DashStyle::Map &default_, DashStyleMapPref &ds__) |
| Similar to getDashStyleMapElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getDictElement (const uint32_t index_, DictionaryPref &dict__) const |
| Gets a persistent dictionary object from the array. | |
| virtual bool | getOrCreateDictElement (const uint32_t index_, const PrefDataVector *members_, DictionaryPref &dict__) |
| Similar to getDictElement(), except that, if the element does not already exist, it will be created anew with a series of default members. | |
| virtual bool | getFillStyleElement (const uint32_t index_, FillStylePref &fs__) |
| Gets a persistent fill style object from the dictionary. | |
| virtual bool | getOrCreateFillStyleElement (const uint32_t index_, const FillStyle &default_, FillStylePref &fs__) |
| Similar to getFillStyleElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getFillStyleMapElement (const uint32_t index_, FillStyleMapPref &fs__) |
| Gets a persistent fill style map object from the dictionary. | |
| virtual bool | getOrCreateFillStyleMapElement (const uint32_t index_, const FillStyle::Map &default_, FillStyleMapPref &fs__) |
| Similar to getFillStyleMapElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getFontElement (const uint32_t index_, FontPref &font__) const |
| Gets a persistent font object from the array. | |
| virtual bool | getOrCreateFontElement (const uint32_t index_, const Font &defaultFont_, const double defaultSize_, FontPref &font__) |
| Similar to getFontElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getTransformMatrixElement (const uint32_t index_, TransformMatrixPref &tm__) const |
| Gets a persistent matrix object from the array. | |
| virtual bool | getOrCreateTransformMatrixElement (const uint32_t index_, const TransformMatrix &default_, TransformMatrixPref &tm__) |
| Similar to getTransformMatrixElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getNumberElement (const uint32_t index_, NumberPref &n__) const |
| Gets a persistent number object from the array. | |
| virtual bool | getOrCreateIntElement (const uint32_t index_, const int64_t default_, NumberPref &n__) |
| Similar to getNumberElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getOrCreateFloatElement (const uint32_t index_, const double default_, NumberPref &n__) |
| Similar to getNumberElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getPathStyleElement (const uint32_t index_, PathStylePref &ps__) |
| Gets a persistent path style object from the dictionary. | |
| virtual bool | getOrCreatePathStyleElement (const uint32_t index_, const PathStyle &default_, PathStylePref &ps__) |
| Similar to getPathStyleElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getPathStyleMapElement (const uint32_t index_, PathStyleMapPref &ps__) |
| Gets a persistent path style map object from the dictionary. | |
| virtual bool | getOrCreatePathStyleMapElement (const uint32_t index_, const PathStyle::Map &default_, PathStyleMapPref &ps__) |
| Similar to getPathStyleMapElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getPointElement (const uint32_t index_, PointPref &p__) const |
| Gets a persistent point object from the array. | |
| virtual bool | getOrCreatePointElement (const uint32_t index_, const Point &default_, PointPref &p__) |
| Similar to getPointElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getRectElement (const uint32_t index_, RectPref &r__) const |
| Gets a persistent rect object from the array. | |
| virtual bool | getOrCreateRectElement (const uint32_t index_, const Rect &default_, RectPref &r__) |
| Similar to getRectElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getSizeElement (const uint32_t index_, SizePref &s__) const |
| Gets a persistent size object from the array. | |
| virtual bool | getOrCreateSizeElement (const uint32_t index_, const Size &default_, SizePref &s__) |
| Similar to getSizeElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getStringElement (const uint32_t index_, StringPref &str__) const |
| Gets a persistent string object from the array. | |
| virtual bool | getOrCreateStringElement (const uint32_t index_, const std::string &default_, StringPref &str__) |
| Similar to getStringElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getStrokeStyleElement (const uint32_t index_, StrokeStylePref &ss__) |
| Gets a persistent stroke style object from the dictionary. | |
| virtual bool | getOrCreateStrokeStyleElement (const uint32_t index_, const StrokeStyle &default_, StrokeStylePref &ss__) |
| Similar to getStrokeStyleElement(), except that, if the element does not already exist, it will be created anew with a default value. | |
| virtual bool | getStrokeStyleMapElement (const uint32_t index_, StrokeStyleMapPref &ss__) |
| Gets a persistent stroke style map object from the dictionary. | |
| virtual bool | getOrCreateStrokeStyleMapElement (const uint32_t index_, const StrokeStyle::Map &default_, StrokeStyleMapPref &ss__) |
| Similar to getStrokeStyleMapElement(), except that, if the element 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 an array-style container to store any other persistent data types, including arrays and dictionaries, and can itself be stored inside another container type.
| hdi::core::ArrayPref::ArrayPref | ( | const ArrayPref & | array_ | ) |
| hdi::core::ArrayPref::ArrayPref | ( | const PrefDataVector * | elements_ = NULL, |
| const std::string & | name_ = "" |
||
| ) |
Constructs an ArrayPref object, with new data, to be added to a container at a later time.
| elements_ | Initial array elements, if any |
| name_ | Name for the data array once it has been added to its container, as UTF-8 |
|
virtual |
Destructs an ArrayPref object.
|
virtual |
Removes all elements from an array.
|
virtual |
Convenience method to clone an ArrayPref object on the heap.
Implements hdi::core::PrefData.
|
virtual |
Gets the count of elements in the top-level of the array.
|
virtual |
Gets a single element object from the array data tree.
| index_ | Index of the element to get from the top-level of the array data tree |
| data__ | Return-by-reference for the element found at the given index |
|
virtual |
Gets a persistent array object from the containing array.
| index_ | Index of the array JSON node to get from the top-level and return as a neatly-packed persistent data type |
| array__ | Return-by-reference for the array element located at index_ |
|
virtual |
Gets a persistent point object from the array.
| index_ | Index of the artboard point JSON node to get from the top-level and return as a neatly-packed persistent data type |
| abp__ | Return-by-reference for the artboard point element located at index_ |
|
virtual |
Gets a persistent artboard rect object from the array.
| index_ | Index of the artboard rect JSON node to get from the top-level and return as a neatly-packed persistent data type |
| abr__ | Return-by-reference for the artboard rect element located at index_ |
|
virtual |
Gets a persistent art color object from the array.
| index_ | Index of the art color JSON node to get from the top-level and return as a neatly- packed persistent data type |
| ac__ | Return-by-reference for the art color element located at index_ |
|
virtual |
Gets a persistent bool object from the array.
| index_ | Index of the bool JSON node to get from the top-level and return as a neatly- packed persistent data type |
| b__ | Return-by-reference for the bool element located at index_ |
|
virtual |
Gets a persistent color object from the array.
| index_ | Index of the color JSON node to get from the top-level and return as a neatly- packed persistent data type |
| c__ | Return-by-reference for the color element located at index_ |
|
virtual |
Gets a persistent dash style object from the dictionary.
| index_ | Index 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 element identified by key_ |
|
virtual |
Gets a persistent dash style map object from the dictionary.
| index_ | Index 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 dictionary object from the array.
| index_ | Index of the dictionary JSON node to get from the top-level and return as a neatly-packed persistent data type |
| dict__ | Return-by-reference for the dictionary element located at index_ |
|
virtual |
Gets a persistent fill style object from the dictionary.
| index_ | Index 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 element identified by key_ |
|
virtual |
Gets a persistent fill style map object from the dictionary.
| index_ | Index 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 font object from the array.
| index_ | Index of the font JSON node to get from the top-level and return as a neatly- packed persistent data type |
| font__ | Return-by-reference for the font element located at index_ |
|
virtual |
Gets a persistent number object from the array.
| index_ | Index of the number JSON node to get from the top-level and return as a neatly- packed persistent data type |
| n__ | Return-by-reference for the number element located at index_ |
|
virtual |
Similar to getArrayElement(), except that, if the element does not already exist, it will be created anew with a series of default elements.
| index_ | Index of the array JSON node to get from the top-level and return |
| 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 element located at index_ (or created anew) |
|
virtual |
Similar to getArtboardPointElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the artboard point JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| abp__ | Return-by-reference for the artboard point element located at index_ (or created anew) |
|
virtual |
Similar to getArtboardRectElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the artboard rect JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| abr__ | Return-by-reference for the artboard rect element located at index_ (or created anew) |
|
virtual |
Similar to getArtColorElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the art color JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| ac__ | Return-by-reference for the art color element located at index_ (or created anew) |
|
virtual |
Similar to getBoolElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the bool JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| b__ | Return-by-reference for the bool element located at index_ (or created anew) |
|
virtual |
Similar to getColorElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the color JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| c__ | Return-by-reference for the color element located at index_ (or created anew) |
|
virtual |
Similar to getDashStyleElement(), except that, if the element 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 element, in case it didn't already exist |
| c__ | Return-by-reference for the dash style element identified by key_ (or created anew) |
|
virtual |
Similar to getDashStyleMapElement(), except that, if the element 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 element, 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 getDictElement(), except that, if the element does not already exist, it will be created anew with a series of default members.
| index_ | Index of the dictionary JSON node to get from the top-level and return |
| 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 element located at index_ (or created anew) |
|
virtual |
Similar to getFillStyleElement(), except that, if the element 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 element, in case it didn't already exist |
| c__ | Return-by-reference for the fill style element identified by key_ (or created anew) |
|
virtual |
Similar to getFillStyleMapElement(), except that, if the element 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 element, 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 getNumberElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the number JSON node to get from the top-level and return |
| default_ | Default double value for the element, in case it didn't already exist |
| n__ | Return-by-reference for the number element located at index_ (or created anew) |
|
virtual |
Similar to getFontElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the font JSON node to get from the top-level and return |
| defaultFont_ | Default font for the element, in case it didn't already exist |
| defaultSize_ | Default font size for the element, in case it didn't already exist |
| font__ | Return-by-reference for the font element located at index_ (or created anew) |
|
virtual |
Similar to getNumberElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the number JSON node to get from the top-level and return |
| default_ | Default integer value for the element, in case it didn't already exist |
| n__ | Return-by-reference for the number element located at index_ (or created anew) |
|
virtual |
Similar to getPathStyleElement(), except that, if the element 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 element, in case it didn't already exist |
| c__ | Return-by-reference for the path style element identified by key_ (or created anew) |
|
virtual |
Similar to getPathStyleMapElement(), except that, if the element 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 element, 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 getPointElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the point JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| p__ | Return-by-reference for the point element located at index_ (or created anew) |
|
virtual |
Similar to getRectElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the rect JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| r__ | Return-by-reference for the rect element located at index_ (or created anew) |
|
virtual |
Similar to getSizeElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the size JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| s__ | Return-by-reference for the size element located at index_ (or created anew) |
|
virtual |
Similar to getStringElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the string JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist, as UTF-8 |
| str__ | Return-by-reference for the string element located at index_ (or created anew) |
|
virtual |
Similar to getStrokeStyleElement(), except that, if the element 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 element, in case it didn't already exist |
| c__ | Return-by-reference for the stroke style element identified by key_ (or created anew) |
|
virtual |
Similar to getStrokeStyleMapElement(), except that, if the element 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 element, 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 getTransformMatrixElement(), except that, if the element does not already exist, it will be created anew with a default value.
| index_ | Index of the matrix JSON node to get from the top-level and return |
| default_ | Default value for the element, in case it didn't already exist |
| tm__ | Return-by-reference for the transformation matrix element located at index_ (or created anew) |
|
virtual |
Gets a persistent path style object from the dictionary.
| index_ | Index 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 element identified by key_ |
|
virtual |
Gets a persistent path style map object from the dictionary.
| index_ | Index 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 point object from the array.
| index_ | Index of the point JSON node to get from the top-level and return as a neatly- packed persistent data type |
| p__ | Return-by-reference for the point element located at index_ |
|
virtual |
Gets a persistent rect object from the array.
| index_ | Index of the rect JSON node to get from the top-level and return as a neatly- packed persistent data type |
| r__ | Return-by-reference for the rect element located at index_ |
|
virtual |
Gets a persistent size object from the array.
| index_ | Index of the size JSON node to get from the top-level and return as a neatly- packed persistent data type |
| s__ | Return-by-reference for the size element located at index_ |
|
virtual |
Gets a persistent string object from the array.
| index_ | Index of the string JSON node to get from the top-level and return as a neatly- packed persistent data type |
| str__ | Return-by-reference for the string element located at index_ |
|
virtual |
Gets a persistent stroke style object from the dictionary.
| index_ | Index 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 element identified by key_ |
|
virtual |
Gets a persistent stroke style map object from the dictionary.
| index_ | Index 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 matrix object from the array.
| index_ | Index of the matrix JSON node to get from the top-level and return as a neatly- packed persistent data type |
| tm__ | Return-by-reference for the transformation matrix element located at index_ |
|
virtual |
Inserts a persistent data object at an arbitrary position in the array.
| index_ | Desired index for the new data element |
| data_ | New data element to insert in the array |
|
virtual |
Removes a persistent data object from the end of the array.
| data__ | Return-by-reference for the PrefData object for the element that was removed |
|
virtual |
Adds a persistent data object to the end of the array.
| data_ | New data element to add to the end of the array |
|
virtual |
Removes a persistent data object from an arbitrary position in the array.
| index_ | Index of the desired data element to be removed |
| data__ | Return-by-reference for the PrefData object for the element that was removed |