![]() |
AIEntrySuite Struct Reference
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Attributes | |
| AIAPI ai::int32(* | AddRef )(AIEntryRef entry) |
| Reference count maintenance. | |
| AIAPI ai::int32(* | Release )(AIEntryRef entry) |
| Reference count maintenance. | |
| AIAPI AIEntryType(* | GetType )(AIEntryRef entry) |
| Retrieves the type of an entry. | |
| AIAPI AIErr(* | ToBoolean )(AIEntryRef entry, ASBoolean *value) |
| Retrieves the boolean value of an entry. | |
| AIAPI AIEntryRef(* | FromBoolean )(ASBoolean value) |
| Constructs an entry from a boolean value. | |
| AIAPI AIErr(* | ToInteger )(AIEntryRef entry, ai::int32 *value) |
| Retrieves the integer value of an entry. | |
| AIAPI AIEntryRef(* | FromInteger )(ai::int32 value) |
| Constructs an entry from an integer value. | |
| AIAPI AIErr(* | ToReal )(AIEntryRef entry, AIReal *value) |
| Retrieves the real-number value of an entry. | |
| AIAPI AIEntryRef(* | FromReal )(AIReal value) |
| Constructs an entry from a real-number value. | |
| AIAPI AIErr(* | ToRealPoint )(AIEntryRef entry, AIRealPoint *value) |
| Retrieves the point value of an entry. | |
| AIAPI AIEntryRef(* | FromRealPoint )(const AIRealPoint *value) |
| Constructs an entry from a point value. | |
| AIAPI AIErr(* | ToRealMatrix )(AIEntryRef entry, AIRealMatrix *value) |
| Retrieves the transformation-matrix value of an entry. | |
| AIAPI AIEntryRef(* | FromRealMatrix )(const AIRealMatrix *value) |
| Constructs an entry from a transformation-matrix value. | |
| AIAPI AIErr(* | ToString )(AIEntryRef entry, const char **value) |
| Retrieves the string value of an entry. | |
| AIAPI AIEntryRef(* | FromString )(const char *value) |
| Constructs an entry from a string value. | |
| AIAPI AIErr(* | ToDict )(AIEntryRef entry, AIDictionaryRef *value) |
| Retrieves the dictionary value of an entry. | |
| AIAPI AIEntryRef(* | FromDict )(AIDictionaryRef value) |
| Constructs an entry from a dictionary value. | |
| AIAPI AIErr(* | ToArt )(AIEntryRef entry, AIArtHandle *art) |
| Retrieves the art object value of an entry. | |
| AIAPI AIErr(* | ToArray )(AIEntryRef entry, AIArrayRef *value) |
| Retrieves the array value of an entry. | |
| AIAPI AIEntryRef(* | FromArray )(AIArrayRef value) |
| Constructs an entry from an array value. | |
| AIAPI AIErr(* | ToBinary )(AIEntryRef entry, void *value, size_t *size) |
| Retrieves the binary data value of an entry. | |
| AIAPI AIEntryRef(* | FromBinary )(void *value, size_t size) |
| Constructs an entry from a binary data value. | |
| AIAPI AIErr(* | ToPattern )(AIEntryRef entry, AIPatternHandle *value) |
| Retrieves the pattern object value of an entry. | |
| AIAPI AIEntryRef(* | FromPattern )(AIPatternHandle value) |
| Constructs an entry from a pattern object value. | |
| AIAPI AIErr(* | ToBrushPattern )(AIEntryRef entry, AIPatternHandle *value) |
| Retrieves the brush pattern object value of an entry. | |
| AIAPI AIEntryRef(* | FromBrushPattern )(AIPatternHandle value) |
| Constructs an entry from a brush pattern object value. | |
| AIAPI AIErr(* | ToGradient )(AIEntryRef entry, AIGradientHandle *value) |
| Retrieves the gradient object value of an entry. | |
| AIAPI AIEntryRef(* | FromGradient )(AIGradientHandle value) |
| Constructs an entry from a gradient object value. | |
| AIAPI AIErr(* | ToCustomColor )(AIEntryRef entry, AICustomColorHandle *value) |
| Retrieves the custom color object value of an entry. | |
| AIAPI AIEntryRef(* | FromCustomColor )(AICustomColorHandle value) |
| Constructs an entry from a custom color object value. | |
| AIAPI AIErr(* | ToPluginObject )(AIEntryRef entry, AIObjectHandle *value) |
| Retrieves the plug-in global object value of an entry. | |
| AIAPI AIEntryRef(* | FromPluginObject )(AIObjectHandle value) |
| Constructs an entry from a plug-in global object value. | |
| AIAPI AIErr(* | ToFillStyle )(AIEntryRef entry, struct AIFillStyle *value) |
| Retrieves the fill style value of an entry. | |
| AIAPI AIEntryRef(* | FromFillStyle )(const struct AIFillStyle *value) |
| Constructs an entry from a fill style value. | |
| AIAPI AIErr(* | ToStrokeStyle )(AIEntryRef entry, struct AIStrokeStyle *value) |
| Retrieves the stroke style value of an entry. | |
| AIAPI AIEntryRef(* | FromStrokeStyle )(const struct AIStrokeStyle *value) |
| Constructs an entry from a stroke style value. | |
| AIAPI AIErr(* | ToUID )(AIEntryRef entry, AIUIDRef *value) |
| Retrieves the unique identifier value of an entry. | |
| AIAPI AIEntryRef(* | FromUID )(AIUIDRef value) |
| Constructs an entry from a unique identifier value. | |
| AIAPI AIErr(* | ToUIDREF )(AIEntryRef entry, AIUIDREFRef *value) |
| Retrieves the unique identifier reference value of an entry. | |
| AIAPI AIEntryRef(* | FromUIDREF )(AIUIDREFRef value) |
| Constructs an entry from a unique identifier reference value. | |
| AIAPI AIErr(* | ToXMLNode )(AIEntryRef entry, AIXMLNodeRef *value) |
| Retrieves the XML node value of an entry. | |
| AIAPI AIEntryRef(* | FromXMLNode )(AIXMLNodeRef value) |
| Constructs an entry from an XML node value. | |
| AIAPI AIErr(* | ToSVGFilterHandle )(AIEntryRef entry, AISVGFilterHandle *value) |
| Retrieves the SVG filter value of an entry. | |
| AIAPI AIEntryRef(* | FromSVGFilterHandle )(AISVGFilterHandle value) |
| Constructs an entry from an SVG filter value. | |
| AIAPI AIErr(* | ToSymbolPattern )(AIEntryRef entry, AIPatternHandle *value) |
| Retrieves the symbol pattern object value of an entry. | |
| AIAPI AIEntryRef(* | FromSymbolPattern )(AIPatternHandle value) |
| Constructs an entry from a symbol pattern object value. | |
| AIAPI AIErr(* | AsBoolean )(AIEntryRef entry, ASBoolean *value) |
| Retrieves a string entry as a boolean if possible. | |
| AIAPI AIErr(* | AsInteger )(AIEntryRef entry, ai::int32 *value) |
| Retrieves a string entry as an integer if possible. | |
| AIAPI AIErr(* | AsReal )(AIEntryRef entry, AIReal *value) |
| Retrieves a string entry as a real number if possible. | |
| AIAPI AIErr(* | AsString )(AIEntryRef entry, const char **value) |
| Retrieves an entry as a string if possible. | |
| AIAPI AIErr(* | AsUIDREF )(AIEntryRef entry, AIUIDREFRef *value) |
| Retrieves a string entry as a unique identifier if possible. | |
| AIAPI AIErr(* | ToArtStyle )(AIEntryRef entry, AIArtStyleHandle *value) |
| Retrieves the art style object value of an entry. | |
| AIAPI AIEntryRef(* | FromArtStyle )(AIArtStyleHandle value) |
| Constructs an entry from a art style object value. | |
| AIAPI AIErr(* | ToUnicodeString )(AIEntryRef entry, ai::UnicodeString &value) |
| Retrieves the Unicode string value of an entry. | |
| AIAPI AIEntryRef(* | FromUnicodeString )(const ai::UnicodeString &value) |
| Constructs an entry from a Unicode string value. | |
| AIAPI AIErr(* | AsUnicodeString )(AIEntryRef entry, ai::UnicodeString &value) |
| Retrieves an entry as a Unicode string, if possible. | |
| AIAPI ASBoolean(* | Equiv )(AIEntryRef entry1, AIEntryRef entry2) |
| Reports whether two entries are equivalent. | |
This suite provides functions for constructing and inspecting dictionary and array entries.
Entry objects associate a string key with a value of a given type (AIEntryType). Access array entries by integer index. Access dictionary entries by key, using the functions of the AIDictionarySuite.
ToInteger() creates an integer entry from an integer value. FromInteger() to get an integer entry value.AIArraySuite::MoveArtToEntry(), AIArraySuite::MoveEntryToArt(), AIDictionarySuite::MoveArtToEntry(), AIDictionarySuite::MoveEntryToArt() Acquire this suite using SPBasicSuite::AcquireSuite() with the constants kAIEntrySuite and kAIEntryVersion.
Entries, like the dictionaries and arrays that contain them, are reference counted. A function that returns an entry increments the count first. The caller must decrement the count when that entry is no longer needed to avoid memory leaks. For convenience, the "To<Type>" and AIDictionarySuite::Set() functions automatically decrement the reference count of the entry you pass in. This allows you to get the value of an entry in a container such as a dictionary with code like this:
ASBoolean value; result = sAIEntry->ToBoolean(sAIDictionary->Get(dict, "MyKey"), &value);
Similarly, you can set an entry value in a container such as a dictionary with code like this:
result = sAIDictionary->Set(dict, "MyKey", sAIEntry->FromReal(15));
The GetType() and Equiv() functions do not consume the parameter; manage reference counts accordingly.
| AIAPI ai::int32(* AIEntrySuite::AddRef)(AIEntryRef entry) |
Reference count maintenance.
increments the count of references to an entry.
| entry | The entry object. |
| AIAPI AIErr(* AIEntrySuite::AsBoolean)(AIEntryRef entry, ASBoolean *value) |
Retrieves a string entry as a boolean if possible.
Only valid for entries with value "1", "0", "true", or "false".
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the new value. |
kNoConversionErr if conversion is not possible. | AIAPI AIErr(* AIEntrySuite::AsInteger)(AIEntryRef entry, ai::int32 *value) |
Retrieves a string entry as an integer if possible.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the new value. |
kNoConversionErr if conversion is not possible. | AIAPI AIErr(* AIEntrySuite::AsReal)(AIEntryRef entry, AIReal *value) |
Retrieves a string entry as a real number if possible.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the new value. |
kNoConversionErr if conversion is not possible. | AIAPI AIErr(* AIEntrySuite::AsString)(AIEntryRef entry, const char **value) |
Retrieves an entry as a string if possible.
Converts an integer, boolean, real, UID, UID reference, or Unicode string value to a platform-encoded string.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the new value. This block of memory is reused by the next call to this function; do not delete it. If needed, make a copy of the returned string before making another call to this function. |
kNoConversionErr if conversion is not possible. | AIAPI AIErr(* AIEntrySuite::AsUIDREF)(AIEntryRef entry, AIUIDREFRef *value) |
Retrieves a string entry as a unique identifier if possible.
The string value must be in the form "id(\e uid )".
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the new value. |
kNoConversionErr if conversion is not possible. | AIAPI AIErr(* AIEntrySuite::AsUnicodeString)(AIEntryRef entry, ai::UnicodeString &value) |
Retrieves an entry as a Unicode string, if possible.
Converts an integer, boolean, real, UID, UID reference, or platform-encoded string value to a Unicode string.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the new value. |
kNoConversionErr if conversion is not possible. Referenced by ai::Entry::Impl::GetAsUnicodeString().
| AIAPI ASBoolean(* AIEntrySuite::Equiv)(AIEntryRef entry1, AIEntryRef entry2) |
Reports whether two entries are equivalent.
Equivalent entries have the same type and value. Two NULL entries are considered equivalent.
| entry1 | The first entry. | |
| entry2 | The second entry. |
Referenced by ai::Entry::Impl::equal().
| AIAPI AIEntryRef(* AIEntrySuite::FromArray)(AIArrayRef value) |
Constructs an entry from an array value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromArtStyle)(AIArtStyleHandle value) |
Constructs an entry from a art style object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromArtStyle().
| AIAPI AIEntryRef(* AIEntrySuite::FromBinary)(void *value, size_t size) |
Constructs an entry from a binary data value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. | |
| size | The number of bytes in the value buffer. |
Referenced by ai::Entry::Impl::FromBinary(), and ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromBoolean)(ASBoolean value) |
Constructs an entry from a boolean value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromBrushPattern)(AIPatternHandle value) |
Constructs an entry from a brush pattern object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromBrushPattern().
| AIAPI AIEntryRef(* AIEntrySuite::FromCustomColor)(AICustomColorHandle value) |
Constructs an entry from a custom color object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromCustomColor().
| AIAPI AIEntryRef(* AIEntrySuite::FromDict)(AIDictionaryRef value) |
Constructs an entry from a dictionary value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromFillStyle)(const struct AIFillStyle *value) |
Constructs an entry from a fill style value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromGradient)(AIGradientHandle value) |
Constructs an entry from a gradient object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromGradient().
| AIAPI AIEntryRef(* AIEntrySuite::FromInteger)(ai::int32 value) |
Constructs an entry from an integer value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromPattern)(AIPatternHandle value) |
Constructs an entry from a pattern object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromPattern().
| AIAPI AIEntryRef(* AIEntrySuite::FromPluginObject)(AIObjectHandle value) |
Constructs an entry from a plug-in global object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromPluginObject().
| AIAPI AIEntryRef(* AIEntrySuite::FromReal)(AIReal value) |
Constructs an entry from a real-number value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromRealMatrix)(const AIRealMatrix *value) |
Constructs an entry from a transformation-matrix value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromRealPoint)(const AIRealPoint *value) |
Constructs an entry from a point value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromString)(const char *value) |
Constructs an entry from a string value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromStrokeStyle)(const struct AIStrokeStyle *value) |
Constructs an entry from a stroke style value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromSVGFilterHandle)(AISVGFilterHandle value) |
Constructs an entry from an SVG filter value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
| AIAPI AIEntryRef(* AIEntrySuite::FromSymbolPattern)(AIPatternHandle value) |
Constructs an entry from a symbol pattern object value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::FromSymbolPattern().
| AIAPI AIEntryRef(* AIEntrySuite::FromUID)(AIUIDRef value) |
Constructs an entry from a unique identifier value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
| AIAPI AIEntryRef(* AIEntrySuite::FromUIDREF)(AIUIDREFRef value) |
Constructs an entry from a unique identifier reference value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
| AIAPI AIEntryRef(* AIEntrySuite::FromUnicodeString)(const ai::UnicodeString &value) |
Constructs an entry from a Unicode string value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
Referenced by ai::Entry::Impl::Impl().
| AIAPI AIEntryRef(* AIEntrySuite::FromXMLNode)(AIXMLNodeRef value) |
Constructs an entry from an XML node value.
(Note that this function returns an entry object, not an error code.)
| value | The entry value. |
| AIAPI AIEntryType(* AIEntrySuite::GetType)(AIEntryRef entry) |
Retrieves the type of an entry.
Does not affect the reference count of the passed entry. (Note that this function returns a type value, not an error code.)
| entry | The entry object |
Referenced by ai::Entry::Impl::GetType().
| AIAPI ai::int32(* AIEntrySuite::Release)(AIEntryRef entry) |
Reference count maintenance.
decrements the count of references to an entry.
| entry | The entry object. |
| AIAPI AIErr(* AIEntrySuite::ToArray)(AIEntryRef entry, AIArrayRef *value) |
Retrieves the array value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::ArrayVal().
| AIAPI AIErr(* AIEntrySuite::ToArt)(AIEntryRef entry, AIArtHandle *art) |
Retrieves the art object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::ArtHandleVal().
| AIAPI AIErr(* AIEntrySuite::ToArtStyle)(AIEntryRef entry, AIArtStyleHandle *value) |
Retrieves the art style object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::ArtStyleVal().
| AIAPI AIErr(* AIEntrySuite::ToBinary)(AIEntryRef entry, void *value, size_t *size) |
Retrieves the binary data value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value, or NULL to retrieve the size needed for the value. | |
| size | [out] A buffer in which to return the number of bytes written to the value buffer, or the size needed if value is NULL. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::BinaryVal().
| AIAPI AIErr(* AIEntrySuite::ToBoolean)(AIEntryRef entry, ASBoolean *value) |
Retrieves the boolean value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::BoolVal().
| AIAPI AIErr(* AIEntrySuite::ToBrushPattern)(AIEntryRef entry, AIPatternHandle *value) |
Retrieves the brush pattern object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::BrushPatternVal().
| AIAPI AIErr(* AIEntrySuite::ToCustomColor)(AIEntryRef entry, AICustomColorHandle *value) |
Retrieves the custom color object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::CustomColorVal().
| AIAPI AIErr(* AIEntrySuite::ToDict)(AIEntryRef entry, AIDictionaryRef *value) |
Retrieves the dictionary value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::DictionaryVal().
| AIAPI AIErr(* AIEntrySuite::ToFillStyle)(AIEntryRef entry, struct AIFillStyle *value) |
Retrieves the fill style value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::AIFillStyleVal().
| AIAPI AIErr(* AIEntrySuite::ToGradient)(AIEntryRef entry, AIGradientHandle *value) |
Retrieves the gradient object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::GradientVal().
| AIAPI AIErr(* AIEntrySuite::ToInteger)(AIEntryRef entry, ai::int32 *value) |
Retrieves the integer value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::IntVal().
| AIAPI AIErr(* AIEntrySuite::ToPattern)(AIEntryRef entry, AIPatternHandle *value) |
Retrieves the pattern object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::PatternVal().
| AIAPI AIErr(* AIEntrySuite::ToPluginObject)(AIEntryRef entry, AIObjectHandle *value) |
Retrieves the plug-in global object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::PluginObjectVal().
| AIAPI AIErr(* AIEntrySuite::ToReal)(AIEntryRef entry, AIReal *value) |
Retrieves the real-number value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::RealVal().
| AIAPI AIErr(* AIEntrySuite::ToRealMatrix)(AIEntryRef entry, AIRealMatrix *value) |
Retrieves the transformation-matrix value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::MatrixVal().
| AIAPI AIErr(* AIEntrySuite::ToRealPoint)(AIEntryRef entry, AIRealPoint *value) |
Retrieves the point value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::PointVal().
| AIAPI AIErr(* AIEntrySuite::ToString)(AIEntryRef entry, const char **value) |
Retrieves the string value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::StringVal().
| AIAPI AIErr(* AIEntrySuite::ToStrokeStyle)(AIEntryRef entry, struct AIStrokeStyle *value) |
Retrieves the stroke style value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::AIStrokeStyleVal().
| AIAPI AIErr(* AIEntrySuite::ToSVGFilterHandle)(AIEntryRef entry, AISVGFilterHandle *value) |
Retrieves the SVG filter value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. | AIAPI AIErr(* AIEntrySuite::ToSymbolPattern)(AIEntryRef entry, AIPatternHandle *value) |
Retrieves the symbol pattern object value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::SymbolPatternVal().
| AIAPI AIErr(* AIEntrySuite::ToUID)(AIEntryRef entry, AIUIDRef *value) |
Retrieves the unique identifier value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. | AIAPI AIErr(* AIEntrySuite::ToUIDREF)(AIEntryRef entry, AIUIDREFRef *value) |
Retrieves the unique identifier reference value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. | AIAPI AIErr(* AIEntrySuite::ToUnicodeString)(AIEntryRef entry, ai::UnicodeString &value) |
Retrieves the Unicode string value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. Referenced by ai::Entry::Impl::UnicodeStringVal().
| AIAPI AIErr(* AIEntrySuite::ToXMLNode)(AIEntryRef entry, AIXMLNodeRef *value) |
Retrieves the XML node value of an entry.
| entry | The entry object. This call automatically decrements the reference count. | |
| value | [out] A buffer in which to return the value. |
kBadParameterErr if the entry is not of the correct type. | Contents | Suites | Classes | Class Index | Member Index |
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||