7#ifndef __HDI_CORE_AI_ARRAY__
8#define __HDI_CORE_AI_ARRAY__
10#if defined(HDI_CORE_AIP_MODE)
18 class IllustratorArray;
60 Array(
const AIArrayRef aiArray_);
256 virtual bool getIntEntry(
const uint32_t index_, int64_t& value__)
const;
270 virtual bool setIntEntry(
const uint32_t index_,
const int64_t value_);
394 virtual bool swapEntries(
const uint32_t index1_,
const uint32_t index2_);
407 friend aip::IllustratorArray* __accessImpl(
const Array&);
408 friend Array __accessCtor(
const aip::IllustratorArray&);
413 aip::IllustratorArray* __impl;
420 Array(
const aip::IllustratorArray&);
423 typedef std::unique_ptr<Array> ArrayUP;
424 typedef std::shared_ptr<Array> ArraySP;
425 typedef std::weak_ptr<Array> ArrayWP;
427 extern aip::IllustratorArray* __accessImpl(
const Array&);
428 extern Array __accessCtor(
const aip::IllustratorArray&);
Handles general art-related functionality.
Definition: hdicoreArt.h:51
Allows for easy UID acquisition, art access, etc.
Definition: hdicoreUID.h:32
Embodies Illustrator's array storage containers; can be placed inside a dictionary or another array.
Definition: hdicoreaiArray.h:35
virtual bool getIntEntry(const uint32_t index_, int64_t &value__) const
Gets an integer entry from the array by index.
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 ~Array()
Destructs an Array object.
virtual bool getStringEntry(const uint32_t index_, std::string &value__) const
Gets a string 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 setFloatEntry(const uint32_t index_, const double value_)
Sets a floating point entry in the array by index.
virtual bool getArrayEntry(const uint32_t index_, Array &array__) const
Gets an array 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 uint32_t count() const
Gets the count of the array elements.
virtual bool getFloatEntry(const uint32_t index_, double &value__) const
Gets a floating point entry from 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 getDictEntry(const uint32_t index_, Dictionary &dict__) const
Gets a dictionary entry from the array by index.
virtual bool swapEntries(const uint32_t index1_, const uint32_t index2_)
Swaps entries in the target Array object.
virtual bool appendEntry(const Entry &entry_)
Appends an entry to the end of the array.
virtual bool setBoolEntry(const uint32_t index_, const bool value_)
Sets a bool entry in the array by index.
virtual bool setStringEntry(const uint32_t index_, const std::string &value_)
Sets a string entry in the array by index.
Array(const AIArrayRef aiArray_)
Constructs a new Array object from an AIArrayRef.
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 getEntry(const uint32_t index_, Entry &e__) const
Gets an entry from the array by index.
virtual bool deleteEntry(const uint32_t index_)
Removes an 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 setArrayEntry(const uint32_t index_, const Array &value_)
Sets an array entry in the array by index.
virtual bool setEntry(const uint32_t index_, const Entry &entry_)
Sets an 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 clear()
Removes all entries from the array.
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 setIntEntry(const uint32_t index_, const int64_t value_)
Sets an integer entry in the array by index.
Array(const Array &a_)
Array copy constructor.
Array()
Constructs an Array object as a new data container.
Embodies Illustrator's dictionary storage containers; can be placed inside an array,...
Definition: hdicoreaiDictionary.h:36
Illustrator entry wrapper class to allow for entry creation, manipulation, storage,...
Definition: hdicoreaiEntry.h:35
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.