LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
typed_value.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_TYPED_VALUE_H_
5 #define LAYOUT_MODEL_TYPED_VALUE_H_
6 
7 #include <LayOutAPI/common.h>
8 #include <LayOutAPI/model/defs.h>
9 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif // __cplusplus
19 
24 typedef enum {
32 
42 
53 
64 
75 LO_RESULT LOTypedValueGetBool(LOTypedValueRef typed_value, bool* bool_value);
76 
85 LO_RESULT LOTypedValueSetBool(LOTypedValueRef typed_value, bool bool_value);
86 
97 LO_RESULT LOTypedValueGetInt32(LOTypedValueRef typed_value, int32_t* int32_value);
98 
107 LO_RESULT LOTypedValueSetInt32(LOTypedValueRef typed_value, int32_t int32_value);
108 
119 LO_RESULT LOTypedValueGetDouble(LOTypedValueRef typed_value, double* double_value);
120 
129 LO_RESULT LOTypedValueSetDouble(LOTypedValueRef typed_value, double double_value);
130 
142 
150 LO_RESULT LOTypedValueSetString(LOTypedValueRef typed_value, const char* string);
151 
152 #ifdef __cplusplus
153 } // end extern "C"
154 #endif // __cplusplus
155 
156 #endif // LAYOUT_MODEL_TYPED_VALUE_H_