Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkFeatureInfo.h
Go to the documentation of this file.
1 /**
2 * @file GdkFeatureInfo.h
3 * @brief Declares the GdkFeatureInfo class.
4 *
5 * Copyright (C) 2015-2022 by LMI Technologies Inc. All rights reserved.
6 */
7 #ifndef GDK_FEATURE_INFO_H
8 #define GDK_FEATURE_INFO_H
9 
10 #include <Gdk/GdkDef.h>
13 
14 /**
15 * Describes a feature type.
16 *
17 * @class GdkFeatureInfo
18 * @extends kObject
19 * @ingroup Gdk-Tools
20 */
21 typedef kObject GdkFeatureInfo;
23 
24 
25 GdkFx(kStatus) GdkFeatureInfo_Construct(GdkFeatureInfo* info, kAlloc alloc);
26 
27 /**
28 * Returns the feature display label.
29 *
30 * @public @memberof GdkFeatureInfo
31 * @param info Info object.
32 * @return Display label.
33 */
34 GdkFx(const kChar*) GdkFeatureInfo_Label(GdkFeatureInfo info);
35 
36 /**
37 * Sets the feature type.
38 *
39 * @public @memberof GdkFeatureInfo
40 * @param info Info object.
41 * @param type Feature type.
42 * @return Operation status.
43 */
44 GdkFx(kStatus) GdkFeatureInfo_SetType(GdkFeatureInfo info, const kChar* type);
45 
46 /**
47 * Returns the feature type.
48 *
49 * @public @memberof GdkFeatureInfo
50 * @param info Info object.
51 * @return Feature type.
52 */
53 GdkFx(const kChar*) GdkFeatureInfo_Type(GdkFeatureInfo info);
54 
55 /**
56 * Sets the feature data type.
57 *
58 * @public @memberof GdkFeatureInfo
59 * @param info Info object.
60 * @param type Feature type.
61 * @return Operation status.
62 */
64 
65 /**
66 * Returns the feature data type.
67 *
68 * @public @memberof GdkFeatureInfo
69 * @param info Info object.
70 * @return Feature type.
71 */
73 
74 /**
75 * Sets the minimum number of instances within a tool.
76 *
77 * @public @memberof GdkFeatureInfo
78 * @param info Info object.
79 * @param count Minimum instance count.
80 * @return Operation status.
81 */
83 
84 /**
85 * Returns the minimum number of instances within a tool.
86 *
87 * @public @memberof GdkFeatureInfo
88 * @param info Info object.
89 * @return Minimum instance count.
90 */
92 
93 /**
94 * Sets the maximum number of instances within a tool.
95 *
96 * @public @memberof GdkFeatureInfo
97 * @param info Info object.
98 * @param count Maximum instance count.
99 * @return Operation status.
100 */
102 
103 /**
104 * Returns the minimum number of instances within a tool.
105 *
106 * @public @memberof GdkFeatureInfo
107 * @param info Info object.
108 * @return Maximum instance count.
109 */
111 
112 /**
113 * Returns the schema for the parameters.
114 *
115 * @public @memberof GdkFeatureInfo
116 * @param info Info object.
117 * @return Params info.
118 */
120 
121 
122 //// Deprecated API functions
123 
124 /**
125 * [Deprecated] Set label through GdkToolInfo_AddOutput() instead.
126 *
127 * Sets the feature display label.
128 *
129 * @deprecated
130 * @public @memberof GdkFeatureInfo
131 * @param info Info object.
132 * @param label Display label.
133 * @return Operation status.
134 */
135 GdkFx(kStatus) GdkFeatureInfo_SetLabel(GdkFeatureInfo info, const kChar* label);
136 
137 
138 #endif
Essential Gdk declarations.
Definition: GdkCfgInterfaces.h:14
kStatus GdkFeatureInfo_SetMinCount(GdkFeatureInfo info, kSize count)
Sets the minimum number of instances within a tool.
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
Declares the GdkOutputInfo class.
GdkParamsInfo GdkFeatureInfo_Params(GdkFeatureInfo info)
Returns the schema for the parameters.
Represents geometric feature output type.
Represents the schema of a parameter set.
kStatus GdkFeatureInfo_SetDataType(GdkFeatureInfo info, GdkFeatureDataType type)
Sets the feature data type.
kSize GdkFeatureInfo_MaxCount(GdkFeatureInfo info)
Returns the minimum number of instances within a tool.
Describes a feature type.
Declares the GdkParamsInfo class.
Describes a output type.
GdkFeatureDataType GdkFeatureInfo_DataType(GdkFeatureInfo info)
Returns the feature data type.
const kChar * GdkFeatureInfo_Label(GdkFeatureInfo info)
Returns the feature display label.
kStatus GdkFeatureInfo_SetType(GdkFeatureInfo info, const kChar *type)
Sets the feature type.
kStatus GdkFeatureInfo_SetMaxCount(GdkFeatureInfo info, kSize count)
Sets the maximum number of instances within a tool.
const kChar * GdkFeatureInfo_Type(GdkFeatureInfo info)
Returns the feature type.
kStatus GdkFeatureInfo_SetLabel(GdkFeatureInfo info, const kChar *label)
[Deprecated] Set label through GdkToolInfo_AddOutput() instead.
kSize GdkFeatureInfo_MinCount(GdkFeatureInfo info)
Returns the minimum number of instances within a tool.