|
LayOut C API
|
Go to the source code of this file.
Functions | |
| LO_RESULT | LODictionaryCreate (LODictionaryRef *dictionary) |
| Creates an new empty dictionary object. More... | |
| LO_RESULT | LODictionaryRelease (LODictionaryRef *dictionary) |
| Releases a dictionary object. *dictionary will be set to invalid by this function. More... | |
| LO_RESULT | LODictionaryGetValue (LODictionaryRef dictionary, const char *key, LOTypedValueRef value) |
| Retrieves the value associated with a given key from a dictionary. More... | |
| LO_RESULT | LODictionarySetValue (LODictionaryRef dictionary, const char *key, LOTypedValueRef value) |
| Inserts a key-value pair into a dictionary object. More... | |
| LO_RESULT | LODictionaryClear (LODictionaryRef dictionary) |
| Removes all of the key-value pairs from a dictionary. More... | |
| LO_RESULT | LODictionaryGetNumberOfKeys (LODictionaryRef dictionary, size_t *out_number_of_keys) |
| Gets the number of entries in the dictionary. More... | |
| LO_RESULT | LODictionaryGetKeys (LODictionaryRef dictionary, size_t key_array_length, SUStringRef keys[], size_t *out_number_of_keys_copied) |
| Gets all the keys in the dictionary. More... | |
| LO_RESULT | LODictionaryRemoveEntry (LODictionaryRef dictionary, const char *key) |
| Remove the entry in the dictionary for the given key. More... | |
| LO_RESULT LODictionaryClear | ( | LODictionaryRef | dictionary | ) |
Removes all of the key-value pairs from a dictionary.
| [in] | dictionary | The dictionary object. |
| LO_RESULT LODictionaryCreate | ( | LODictionaryRef * | dictionary | ) |
Creates an new empty dictionary object.
| [out] | dictionary | The newly created dictionary object. |
| LO_RESULT LODictionaryGetKeys | ( | LODictionaryRef | dictionary, |
| size_t | key_array_length, | ||
| SUStringRef | keys[], | ||
| size_t * | out_number_of_keys_copied | ||
| ) |
Gets all the keys in the dictionary.
| LO_RESULT LODictionaryGetNumberOfKeys | ( | LODictionaryRef | dictionary, |
| size_t * | out_number_of_keys | ||
| ) |
Gets the number of entries in the dictionary.
| LO_RESULT LODictionaryGetValue | ( | LODictionaryRef | dictionary, |
| const char * | key, | ||
| LOTypedValueRef | value | ||
| ) |
Retrieves the value associated with a given key from a dictionary.
| [in] | dictionary | The dictionary object. |
| [in] | key | The key of the key-value pair. Assumed to be UTF-8 encoded. |
| [out] | value | The value retrieved. Must be a valid object, i.e. must have been created via LOTypedValueCreate. |
| LO_RESULT LODictionaryRelease | ( | LODictionaryRef * | dictionary | ) |
Releases a dictionary object. *dictionary will be set to invalid by this function.
| [in] | dictionary | The dictionary object. |
| LO_RESULT LODictionaryRemoveEntry | ( | LODictionaryRef | dictionary, |
| const char * | key | ||
| ) |
Remove the entry in the dictionary for the given key.
| LO_RESULT LODictionarySetValue | ( | LODictionaryRef | dictionary, |
| const char * | key, | ||
| LOTypedValueRef | value | ||
| ) |
Inserts a key-value pair into a dictionary object.
| [in] | dictionary | The dictionary object. |
| [in] | key | The key of the key-value pair. Assumed to be UTF-8 encoded. |
| [in] | value | The value of the key-value pair. |
1.8.3.1