Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
|
Allows for a *Entry class to store either a string value or PNGI image ID for a row/column. More...
#include <hdicoreEntryValue.h>
Public Types | |
enum | ValueType { UnknownValueType = 0 , StringValueType = 10 , ImageValueType = 20 , VectorValueType = 30 } |
Indicates the type of value stored in an EntryValue object. | |
Public Member Functions | |
EntryValue (const EntryValue &ev_) | |
EntryValue copy constructor. | |
EntryValue (const std::string &str_) | |
Constructs an EntryValue object with a string value. | |
EntryValue (const ImageIDs &ids_) | |
Constructs an EntryValue object with PNGI image IDs. | |
EntryValue (const SVGIDs &ids_) | |
Constructs an EntryValue object with SVG image IDs. | |
~EntryValue () | |
EntryValue destructor. | |
EntryValue & | operator= (const EntryValue &rhs_) |
Overloaded assignment operator to copy values from one EntryValue object to another. | |
bool | operator== (const EntryValue &rhs_) const |
Overloaded equality operator to compare two EntryValue objects to one another. | |
bool | operator!= (const EntryValue &rhs_) const |
Overloaded inequality operator to compare two EntryValue objects to one another. | |
ValueType | type () const |
Gets the type of value representing by the target object. | |
std::string | stringValue () const |
Gets the string value for the target object. | |
bool | setStringValue (const std::string &str_) |
Sets the string value for the target object. | |
ImageIDs | imageIDs () const |
Gets the image ID values for the target object. | |
bool | setImageIDs (const ImageIDs &ids_) |
Sets the image ID values for the target object. | |
SVGIDs | svgIDs () const |
Gets the SVG ID values for the target object. | |
bool | setSVGIDs (const SVGIDs &ids_) |
Sets the SVG ID values for the target object. | |
Allows for a *Entry class to store either a string value or PNGI image ID for a row/column.
hdi::core::EntryValue::EntryValue | ( | const EntryValue & | ev_ | ) |
EntryValue copy constructor.
ev_ | Existing EntryValue object to copy values from |
|
explicit |
Constructs an EntryValue object with a string value.
str_ | String value for the entry |
hdi::core::EntryValue::EntryValue | ( | const ImageIDs & | ids_ | ) |
Constructs an EntryValue object with PNGI image IDs.
ids_ | Image ID values for the entry |
hdi::core::EntryValue::EntryValue | ( | const SVGIDs & | ids_ | ) |
Constructs an EntryValue object with SVG image IDs.
ids_ | SVG ID values for the entry |
hdi::core::EntryValue::~EntryValue | ( | ) |
EntryValue destructor.
ImageIDs hdi::core::EntryValue::imageIDs | ( | ) | const |
Gets the image ID values for the target object.
bool hdi::core::EntryValue::operator!= | ( | const EntryValue & | rhs_ | ) | const |
Overloaded inequality operator to compare two EntryValue objects to one another.
rhs_ | Righthand side of the comparison |
EntryValue & hdi::core::EntryValue::operator= | ( | const EntryValue & | rhs_ | ) |
Overloaded assignment operator to copy values from one EntryValue object to another.
rhs_ | Righthand side of the assignment |
bool hdi::core::EntryValue::operator== | ( | const EntryValue & | rhs_ | ) | const |
Overloaded equality operator to compare two EntryValue objects to one another.
rhs_ | Righthand side of the comparison |
bool hdi::core::EntryValue::setImageIDs | ( | const ImageIDs & | ids_ | ) |
Sets the image ID values for the target object.
ids_ | New ID values for the target object |
bool hdi::core::EntryValue::setStringValue | ( | const std::string & | str_ | ) |
Sets the string value for the target object.
str_ | New string value for the target object, as UTF-8 |
bool hdi::core::EntryValue::setSVGIDs | ( | const SVGIDs & | ids_ | ) |
Sets the SVG ID values for the target object.
ids_ | New ID values for the target object |
std::string hdi::core::EntryValue::stringValue | ( | ) | const |
Gets the string value for the target object.
SVGIDs hdi::core::EntryValue::svgIDs | ( | ) | const |
Gets the SVG ID values for the target object.
ValueType hdi::core::EntryValue::type | ( | ) | const |
Gets the type of value representing by the target object.