Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Embodies Illustrator's array storage containers; can be placed inside a dictionary or another array. More...
#include <hdicoreaiArray.h>
Public Member Functions | |
Array () | |
Constructs an Array object as a new data container. | |
Array (const Array &a_) | |
Array copy constructor. | |
Array (const AIArrayRef aiArray_) | |
Constructs a new Array object from an AIArrayRef. | |
virtual | ~Array () |
Destructs an Array object. | |
virtual Array & | operator= (const Array &rhs_) |
Overloaded assignment operator for Array objects. | |
virtual bool | operator== (const Array &rhs_) const |
Tests whether a given Array object is the same as another. | |
virtual bool | operator!= (const Array &rhs_) const |
Tests whether a given Array object is not the same as another. | |
virtual AIArrayRef | aiArrayRef () const |
Gets the array ref around which the target object is wrapped. | |
virtual bool | getEntry (const uint32_t index_, Entry &e__) const |
Gets an entry from the array by index. | |
virtual bool | setEntry (const uint32_t index_, const Entry &entry_) |
Sets an entry in the array by index. | |
virtual bool | appendEntry (const Entry &entry_) |
Appends an entry to the end of the array. | |
virtual bool | deleteEntry (const uint32_t index_) |
Removes an entry in the array by index. | |
virtual uint32_t | count () const |
Gets the count of the array elements. | |
virtual bool | getArrayEntry (const uint32_t index_, Array &array__) const |
Gets an array entry from the array by index. | |
virtual bool | setArrayEntry (const uint32_t index_, const Array &value_) |
Sets an array entry in the array by index. | |
virtual bool | getDictEntry (const uint32_t index_, Dictionary &dict__) const |
Gets a dictionary entry from the array by index. | |
virtual bool | setDictEntry (const uint32_t index_, const Dictionary &value_) |
Sets a dictionary entry in the array by index. | |
virtual bool | getBoolEntry (const uint32_t index_, bool &value__) const |
Gets a bool entry from the array by index. | |
virtual bool | setBoolEntry (const uint32_t index_, const bool value_) |
Sets a bool entry in the array by index. | |
virtual bool | getIntEntry (const uint32_t index_, int64_t &value__) const |
Gets an integer entry from the array by index. | |
virtual bool | setIntEntry (const uint32_t index_, const int64_t value_) |
Sets an integer entry in the array by index. | |
virtual bool | getFloatEntry (const uint32_t index_, double &value__) const |
Gets a floating point entry from the array by index. | |
virtual bool | setFloatEntry (const uint32_t index_, const double value_) |
Sets a floating point entry in the array by index. | |
virtual bool | getStringEntry (const uint32_t index_, std::string &value__) const |
Gets a string entry from the array by index. | |
virtual bool | setStringEntry (const uint32_t index_, const std::string &value_) |
Sets a string entry in the array by index. | |
virtual bool | getUIDEntry (const uint32_t index_, UID &uid__) const |
Gets a UID entry from the array by index. | |
virtual bool | setUIDEntry (const uint32_t index_, const UID &value_) |
Sets a UID entry in the array by index. | |
virtual bool | getArtEntry (const uint32_t index_, Art &art__) const |
Gets an Art entry from the array by index. | |
virtual bool | setArtEntry (const uint32_t index_, const Art &value_) |
Sets an Art entry in the array by index. | |
virtual Array | duplicate () const |
Duplicates the target Array object and the data it's wrapped around. | |
virtual bool | swapEntries (const uint32_t index1_, const uint32_t index2_) |
Swaps entries in the target Array object. | |
virtual bool | clear () |
Removes all entries from the array. | |
Friends | |
aip::IllustratorArray * | __accessImpl (const Array &) |
Array | __accessCtor (const aip::IllustratorArray &) |
Embodies Illustrator's array storage containers; can be placed inside a dictionary or another array.
hdi::core::ai::Array::Array | ( | ) |
Constructs an Array object as a new data container.
hdi::core::ai::Array::Array | ( | const Array & | a_ | ) |
hdi::core::ai::Array::Array | ( | const AIArrayRef | aiArray_ | ) |
Constructs a new Array object from an AIArrayRef.
aiArray_ | Raw Illustrator AIArrayRef |
|
virtual |
Destructs an Array object.
|
virtual |
Gets the array ref around which the target object is wrapped.
|
virtual |
Appends an entry to the end of the array.
entry_ | Entry to append to the array |
|
virtual |
Removes all entries from the array.
|
virtual |
Gets the count of the array elements.
|
virtual |
Removes an entry in the array by index.
index_ | Index of the entry to delete |
|
virtual |
|
virtual |
Gets an array entry from the array by index.
index_ | Index of the array entry |
array__ | Return-by-reference for the indicated array entry |
|
virtual |
|
virtual |
Gets a bool entry from the array by index.
index_ | Index of the bool entry |
value__ | Return-by-reference for the indicated bool entry |
|
virtual |
Gets a dictionary entry from the array by index.
index_ | Index of the dictionary entry |
dict__ | Return-by-reference for the indicated dictionary entry |
|
virtual |
Gets an entry from the array by index.
index_ | Index of the entry in question |
e__ | Return-by-reference for the Entry object representing the array entry at the provided index |
|
virtual |
Gets a floating point entry from the array by index.
index_ | Index of the floating point entry |
value__ | Return-by-reference for the indicated floating point entry |
|
virtual |
Gets an integer entry from the array by index.
index_ | Index of the integer entry |
value__ | Return-by-reference for the indicated integer entry |
|
virtual |
Gets a string entry from the array by index.
index_ | Index of the string entry |
value__ | Return-by-reference for the indicated UTF-8 string entry |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets an array entry in the array by index.
index_ | Index of the array entry |
value_ | New value for the array entry |
|
virtual |
Sets an Art entry in the array by index.
|
virtual |
Sets a bool entry in the array by index.
index_ | Index of the bool entry |
value_ | New value for the bool entry |
|
virtual |
Sets a dictionary entry in the array by index.
index_ | Index of the dictionary entry |
value_ | New value for the dictionary entry |
|
virtual |
Sets an entry in the array by index.
index_ | Index of the entry in question |
entry_ | Entry to set on the array |
|
virtual |
Sets a floating point entry in the array by index.
index_ | Index of the floating-point entry |
value_ | New value for the floating-point entry |
|
virtual |
Sets an integer entry in the array by index.
index_ | Index of the integer entry |
value_ | New value for the integer entry |
|
virtual |
Sets a string entry in the array by index.
index_ | Index of the string entry |
value_ | New value for the UTF-8 string entry |
|
virtual |
Sets a UID entry in the array by index.
|
virtual |
Swaps entries in the target Array object.
index1_ | Index of entry to swap with entry at index2_ |
index2_ | Index of entry to swap with entry at index1_ |