LayOut C API
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
LayOutAPI
model
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
{
25
LOTypedValueType_Empty
= 0,
26
LOTypedValueType_Bool
,
27
LOTypedValueType_Int32
,
28
LOTypedValueType_Double
,
29
LOTypedValueType_String
,
30
// @since LayOut 2026.0, API 11.0
31
LOTypedValueType_Dictionary
,
32
LONumTypedValueTypes
33
}
LOTypedValueType
;
34
43
LO_RESULT
LOTypedValueCreate
(
LOTypedValueRef
* typed_value);
44
54
LO_RESULT
LOTypedValueRelease
(
LOTypedValueRef
* typed_value);
55
65
LO_RESULT
LOTypedValueGetType
(
LOTypedValueRef
typed_value,
LOTypedValueType
* type);
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
143
LO_RESULT
LOTypedValueGetString
(
LOTypedValueRef
typed_value,
SUStringRef
* out_string);
144
153
LO_RESULT
LOTypedValueSetString
(
LOTypedValueRef
typed_value,
const
char
*
string
);
154
165
LO_RESULT
LOTypedValueGetDictionary
(
LOTypedValueRef
typed_value,
LODictionaryRef
* out_dictionary);
166
174
LO_RESULT
LOTypedValueSetDictionary
(
LOTypedValueRef
typed_value,
LODictionaryRef
dictionary);
175
176
#ifdef __cplusplus
177
}
// end extern "C"
178
#endif // __cplusplus
179
180
#endif // LAYOUT_MODEL_TYPED_VALUE_H_
Generated on Mon Feb 16 2026 05:19:56 for LayOut C API by
1.8.3.1