LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
dictionary.h
Go to the documentation of this file.
1 // Copyright 2015 Trimble Navigation Ltd. All rights reserved.
2 // This file is intended for public distribution.
3 
4 #ifndef LAYOUT_MODEL_DICTIONARY_H_
5 #define LAYOUT_MODEL_DICTIONARY_H_
6 
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
29 
40 
56 LO_RESULT LODictionaryGetValue(LODictionaryRef dictionary, const char* key, LOTypedValueRef value);
57 
69 LO_RESULT LODictionarySetValue(LODictionaryRef dictionary, const char* key, LOTypedValueRef value);
70 
80 
90 LO_RESULT LODictionaryGetNumberOfKeys(LODictionaryRef dictionary, size_t* out_number_of_keys);
91 
104  LODictionaryRef dictionary, size_t key_array_length, SUStringRef keys[],
105  size_t* out_number_of_keys_copied);
106 
115 LO_RESULT LODictionaryRemoveEntry(LODictionaryRef dictionary, const char* key);
116 #ifdef __cplusplus
117 } // extern "C" {
118 #endif
119 
120 #endif // LAYOUT_MODEL_DICTIONARY_H_