7#ifndef __HDI_CORE_AI_ENTRY__
8#define __HDI_CORE_AI_ENTRY__
10#if defined(HDI_CORE_AIP_MODE)
18 class IllustratorEntry;
51 ArtboardPointType = 90,
52 ArtboardRectType = 100,
53 ArtboardSegPointType = 110,
59 DashStyleMapType = 170,
61 FillStyleMapType = 190,
65 PathStyleMapType = 230,
70 StrokeStyleType = 280,
71 StrokeStyleMapType = 290,
72 TransformMatrixType = 300,
198 virtual bool asBool(
bool& value__)
const;
219 virtual bool asInt(int64_t& value__)
const;
347 friend aip::IllustratorEntry* __accessImpl(
const Entry&);
348 friend Entry __accessCtor(
const aip::IllustratorEntry&);
353 aip::IllustratorEntry* __impl;
360 Entry(
const aip::IllustratorEntry&);
363 typedef std::unique_ptr<Entry> EntryUP;
364 typedef std::shared_ptr<Entry> EntrySP;
365 typedef std::weak_ptr<Entry> EntryWP;
367 extern aip::IllustratorEntry* __accessImpl(
const Entry&);
368 extern Entry __accessCtor(
const aip::IllustratorEntry&);
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
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
static Entry FromBool(const bool value_)
Statically constructs an Entry object from a given bool.
virtual bool asDict(Dictionary &dict__) const
Gets a dictionary value from the entry.
virtual ~Entry()
Destructs an Entry object.
virtual bool asFloat(double &value__) const
Gets a floating-point value from the entry.
virtual bool asString(std::string &value__) const
Gets a string value from the entry.
Type
Describes the type of data an Entry object represents.
Definition: hdicoreaiEntry.h:41
Entry(const AIEntryRef aiEntry_)
Constructs a new Entry object from an AIEntryRef.
virtual bool asInt(int64_t &value__) const
Gets an integer value from the entry.
virtual Type entryType() const
Gets the type of the entry.
virtual bool isEmpty() const
Gets whether the target Entry object is empty (constructed with the default ctor)
virtual bool asArray(Array &array__) const
Gets an array value from the entry.
static Entry FromArray(const Array &value_)
Statically constructs an Entry object from a given array.
virtual bool operator==(const Entry &rhs_) const
Tests whether a given Entry object is the same as another.
virtual bool asUID(UID &uid__) const
Gets a UID value from the entry.
static Entry FromInt(const int64_t value_)
Statically constructs an Entry object from a given integer.
virtual AIEntryRef aiEntryRef() const
Gets the entry ref around which the target object is wrapped.
static Entry FromString(const std::string &value_)
Statically constructs an Entry object from a given string.
static Entry FromFloat(const double value_)
Statically constructs an Entry object from a given floating point.
Entry()
Constructs an empty Entry object.
virtual bool asBool(bool &value__) const
Gets a bool value from the entry.
static Entry FromDict(const Dictionary &value_)
Statically constructs an Entry object from a given dictionary.
virtual bool operator!=(const Entry &rhs_) const
Tests whether a given Entry object is not the same as another.
static Entry FromArt(const Art &value_)
Statically constructs an Entry object from a given Art object.
Entry(const Entry &e_)
Entry copy constructor.
static Entry FromUID(const UID &value_)
Statically constructs an Entry object from a given UID object.
virtual Entry & operator=(const Entry &rhs_)
Overloaded assignment operator for Entry objects.
virtual bool asArt(Art &art__) const
Gets an Art value from the entry.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.
ArtType
Indicates a type of art (when querying an art object for its type)
Definition: hdicoreTypes.h:165