|
(Note that these are not member functions.)
|
enum SUResult | SUAttributeDictionaryCreate (SUAttributeDictionaryRef *dictionary, const char *name) |
| Creates an attributes dictionary object. More...
|
|
enum SUResult | SUAttributeDictionaryRelease (SUAttributeDictionaryRef *dictionary) |
| Releases an attributes dictionary object and its associated attributes. If this dictionary has a parent, it will be removed from it. More...
|
|
SUEntityRef | SUAttributeDictionaryToEntity (SUAttributeDictionaryRef dictionary) |
| Converts from an SUAttributeDictionaryRef to an SUEntityRef. This is essentially an upcast operation. More...
|
|
SUAttributeDictionaryRef | SUAttributeDictionaryFromEntity (SUEntityRef entity) |
| Converts from an SUEntityRef to an SUAttributeDictionaryRef. This is essentially a downcast operation so the given SUEntityRef must be convertible to an SUAttributeDictionaryRef. More...
|
|
enum SUResult | SUAttributeDictionaryGetName (SUAttributeDictionaryRef dictionary, SUStringRef *name) |
| Retrieves the name of an attribute dictionary object. More...
|
|
enum SUResult | SUAttributeDictionarySetValue (SUAttributeDictionaryRef dictionary, const char *key, SUTypedValueRef value_in) |
| Inserts a key-value pair into an attribute dictionary object. More...
|
|
enum SUResult | SUAttributeDictionaryGetValue (SUAttributeDictionaryRef dictionary, const char *key, SUTypedValueRef *value_out) |
| Retrieves the value associated with a given key from an attribute dictionary. More...
|
|
enum SUResult | SUAttributeDictionaryGetNumKeys (SUAttributeDictionaryRef dictionary, size_t *count) |
| Retrieves the number of keys in an attribute dictionary object. More...
|
|
enum SUResult | SUAttributeDictionaryGetKeys (SUAttributeDictionaryRef dictionary, size_t len, SUStringRef keys[], size_t *count) |
| Retrieves the array of keys of an attribute dictionary object. More...
|
|
enum SURefType | SUEntityGetType (SUEntityRef entity) |
| Returns the concrete type of the given entity. More...
|
|
enum SUResult | SUEntityGetID (SUEntityRef entity, int32_t *entity_id) |
| Retrieves the id of the entity. More...
|
|
enum SUResult | SUEntityGetPersistentID (SUEntityRef entity, int64_t *entity_pid) |
| Retrieves the persistent id of the entity. More...
|
|
enum SUResult | SUEntityGetNumAttributeDictionaries (SUEntityRef entity, size_t *count) |
| Retrieves the number of attribute dictionaries of an entity. More...
|
|
enum SUResult | SUEntityGetAttributeDictionaries (SUEntityRef entity, size_t len, SUAttributeDictionaryRef dictionaries[], size_t *count) |
| Retrieves the attribute dictionaries of an entity. More...
|
|
enum SUResult | SUEntityAddAttributeDictionary (SUEntityRef entity, SUAttributeDictionaryRef dictionary) |
| Adds the attribute dictionary to an entity. The given dictionary object must not belong to another entity. In other words, each dictionary should be added to one entity only. More...
|
|
enum SUResult | SUEntityGetAttributeDictionary (SUEntityRef entity, const char *name, SUAttributeDictionaryRef *dictionary) |
| Retrieves the attribute dictionary of an entity that has the given name. More...
|
|
enum SUResult | SUEntityGetModel (SUEntityRef entity, SUModelRef *model) |
| Retrieves the model object associated with the entity. More...
|
|
enum SUResult | SUEntityGetParentEntities (SUEntityRef entity, SUEntitiesRef *entities) |
| Retrieves the entities object which contains the entity. More...
|
|
A dictionary type with SUStringRef objects as keys and SUTypedValueRef objects as values.