LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends 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 {
30  // @since LayOut 2026.0, API 11.0
34 
44 
55 
66 
77 LO_RESULT LOTypedValueGetBool(LOTypedValueRef typed_value, bool* bool_value);
78 
87 LO_RESULT LOTypedValueSetBool(LOTypedValueRef typed_value, bool bool_value);
88 
99 LO_RESULT LOTypedValueGetInt32(LOTypedValueRef typed_value, int32_t* int32_value);
100 
109 LO_RESULT LOTypedValueSetInt32(LOTypedValueRef typed_value, int32_t int32_value);
110 
121 LO_RESULT LOTypedValueGetDouble(LOTypedValueRef typed_value, double* double_value);
122 
131 LO_RESULT LOTypedValueSetDouble(LOTypedValueRef typed_value, double double_value);
132 
144 
153 LO_RESULT LOTypedValueSetString(LOTypedValueRef typed_value, const char* string);
154 
166 
175 
176 #ifdef __cplusplus
177 } // end extern "C"
178 #endif // __cplusplus
179 
180 #endif // LAYOUT_MODEL_TYPED_VALUE_H_