Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkParams.h
Go to the documentation of this file.
1 /**
2 * @file GdkParams.h
3 * @brief Declares the GdkParams class.
4 *
5 * Copyright (C) 2015-2022 by LMI Technologies Inc. All rights reserved.
6 */
7 #ifndef GDK_EXT_PARAMS_H
8 #define GDK_EXT_PARAMS_H
9 
10 #include <Gdk/GdkDef.h>
11 #include <Gdk/Config/GdkParam.h>
13 
14 /**
15 * Represents a set of parameters.
16 *
17 * @class GdkParams
18 * @ingroup Gdk-Config
19 */
20 typedef kPointer GdkParams;
21 
22 /**
23 * Returns the number of parameters in the set.
24 *
25 * @public @memberof GdkParams
26 * @param params Params object.
27 * @return Parameter Count.
28 */
29 GdkFx(kSize) GdkParams_Count(GdkParams params);
30 
31 /**
32 * Returns the parameter at a specified index.
33 *
34 * @public @memberof GdkParams
35 * @param params Params object.
36 * @param index Index of parameter to get.
37 * @return Paramter object.
38 */
39 GdkFx(GdkParam) GdkParams_At(GdkParams params, kSize index);
40 
41 /**
42 * Returns the parameter with a specified name.
43 *
44 * @public @memberof GdkParams
45 * @param params Params object.
46 * @param name Name of the parameter to get.
47 * @return Paramter object.
48 */
49 GdkFx(GdkParam) GdkParams_Find(GdkParams params, const kChar* name);
50 
51 #endif
Essential Gdk declarations.
kSize GdkParams_Count(GdkParams params)
Returns the number of parameters in the set.
Represents a set of parameters.
GdkParam GdkParams_Find(GdkParams params, const kChar *name)
Returns the parameter with a specified name.
Declares the GdkParamsInfo class.
Represents the data of a configurable parameter.
Declares the GdkParam class.
GdkParam GdkParams_At(GdkParams params, kSize index)
Returns the parameter at a specified index.