ITK Function Reference
(V10000.1.0.60_20160308.00)
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
constants
constants.h
Go to the documentation of this file.
1
// @<COPYRIGHT_START>@
2
// ===============================================
3
// Copyright 2007 UGS Corp. All Rights Reserved.
4
// ===============================================
5
// @<COPYRIGHT_END>@
6
7
16
#ifndef CONSTANTS_H
17
#define CONSTANTS_H
18
19
#include <
tc/tc_startup.h
>
20
#include <constants/libconstants_exports.h>
21
34
typedef
enum
CONSTANTSDataType_e
35
{
36
StringDataType
=0,
37
ListDataType
=1,
38
BooleanDataType
=2
39
}
CONSTANTSDataType_t
;
40
43
#define PROPERTY_CONST_REQUIRED "Required"
44
#define PROPERTY_CONST_VISIBLE "Visible"
45
#define PROPERTY_CONST_ENABLED "Enabled"
46
#define PROPERTY_CONST_INITIALVALUE "InitialValue"
47
#define PROPERTY_CONST_COMPLEXPROPERTY "ComplexProperty"
48
#define PROPERTY_CONST_MODIFIABLE "Modifiable"
49
#define PROPERTY_CONST_COPYFROMORIGINAL "CopyFromOriginal"
50
#define PROPERTY_CONST_TRIM_ZEROS "Fnd0TrimZeroes"
51
52
#ifdef __cplusplus
53
extern
"C"
{
54
#endif
55
59
extern
CONSTANTS_API
int
CONSTANTS_is_global_constant_multivalued
(
60
const
char
* constant_name,
61
logical
* is_multi_valued
62
);
63
67
extern
CONSTANTS_API
int
CONSTANTS_get_global_constant_value
(
68
const
char
* constant_name,
69
char
** value
70
);
71
75
extern
CONSTANTS_API
int
CONSTANTS_get_global_constant_values
(
76
const
char
* constant_name,
77
int
* n_values,
78
char
*** values
79
);
80
84
extern
CONSTANTS_API
int
CONSTANTS_get_type_constant_value
(
85
const
char
* constant_name,
86
const
char
* type_name,
87
char
** value
88
);
89
90
94
extern
CONSTANTS_API
int
CONSTANTS_get_property_constant_value
(
95
const
char
* constant_name,
96
const
char
* type_name,
97
const
char
* property_name,
98
char
** value
99
);
100
106
extern
CONSTANTS_API
int
CONSTANTS_find_type_by_type_constant_value
(
107
const
char
* type_constant_name,
108
const
char
* attached_value,
109
char
** target_type_name
110
);
111
112
#ifdef __cplusplus
113
}
114
#endif
115
118
#include <constants/libconstants_undef.h>
119
#endif
/* CONSTANTS_H */