theConfig 10.0
Loading...
Searching...
No Matches
LcConfigC.java
Go to the documentation of this file.
1
9/* LABEL-INIT */
10package jvlcconfig;
11
12import jvmkkernel.*;
13
14/* LABEL-START */
15
20public class LcConfigC extends MkObjectC {
21
22 static {
24 }
25
26 private LcConfigC (long mng, boolean dummy) {
27 super(mng,dummy);
28 }
29
30/* LABEL-END */
31
32 // INTERNAL
33
34 // PUBLIC
35
36 // \refdocRT{ConfigSetIncludeFunc}
37 //public native void SetIncludeFunc (Class<?> searchClass, String fConfigIncludeData);
38
39 // BEGIN-LcConfigC - created by 'jv_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
40
44
45 // doc-key: LcConfigC,LcConfigC-Class-Export,sc_
46
48 public native static LcConfigC HandleResolve (int netHdl);
49
50 // doc-key: LcConfigC,LcConfigC-Class-Export,om_
51
52 // skip class-overload: public native int HandleGet ()
53
55 // LcConfigC_Class_JV_API
56
60
61 // doc-key: LcConfigC,LcConfigC-Class-Introspection,oc_
62
64 public native LcConfigC Next ();
65
67 public native LcConfigC Prev ();
68
69 // doc-key: LcConfigC,LcConfigC-Class-Introspection,sc_
70
72 public native static LcConfigC Instances ();
73
75 // LcConfigC_Class_JV_API
76
80
81 // doc-key: LcConfigC,LcConfigC-Class-Misc,sc_
82
84 public native static LcConfigC GetNull ();
85
87 // LcConfigC_Class_JV_API
88
92
93 // doc-key: LcConfigC,LcConfigC-Error,om_
94
96 public native LcErrorTypeE ErrorType ();
97
99 // LcConfigC_Error_JV_API
100
104
105 // doc-key: LcConfigC,LcConfigC-Get,om_
106
109
111 public native short GetFloatPrecision ();
112
114 public native String GetIncludeDir ();
115
117 public native boolean GetOption (LcConfigOptionsEF option);
118
121
123 public native short GetTabWidth ();
124
126 // LcConfigC_Get_JV_API
127
131
132 // doc-key: LcConfigC,LcConfigC-Lookup,oc_
133
135 public native LcSettingC Lookup (String path);
136
137 // doc-key: LcConfigC,LcConfigC-Lookup,omo
138
140 public native boolean LookupBool (String path);
141
143 public native double LookupFloat (String path);
144
146 public native int LookupInt (String path);
147
149 public native long LookupInt64 (String path);
150
152 public native String LookupString (String path);
153
155 // LcConfigC_Lookup_JV_API
156
160
161 // doc-key: LcConfigC,LcConfigC-Misc,oc_
162
164 public native LcSettingC RootSetting ();
165
166 // doc-key: LcConfigC,LcConfigC-Misc,om_
167
169 public native void Clear ();
170
172 public native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl);
173
175 public void Log () {
176 Log ((MkObjectC) null, 0, null, 0);
177 }
178
180 public void Log (MkObjectC fmtobj) {
181 Log (fmtobj, 0, null, 0);
182 }
183
185 public void Log (MkObjectC fmtobj, int debug) {
186 Log (fmtobj, debug, null, 0);
187 }
188
190 public void Log (MkObjectC fmtobj, int debug, String callfunc) {
191 Log (fmtobj, debug, callfunc, 0);
192 }
193
195 public native void ReadFile (String filename);
196
198 public native void ReadString (String str);
199
201 public native void WriteFile (String filename);
202
203 // doc-key: LcConfigC,LcConfigC-Misc,omo
204
206 public native String WriteString ();
207
209 // LcConfigC_Misc_JV_API
210
214
215 // doc-key: LcConfigC,LcConfigC-Set,om_
216
218 public native void SetDefaultFormat (LcConfigFormatE format);
219
221 public native void SetFloatPrecision (short digits);
222
224 public native void SetIncludeDir (String include_dir);
225
227 public native void SetIncludeFunc (LcConfigIncludeIF fConfigIncludeData);
228
230 public native void SetOption (LcConfigOptionsEF option, boolean flag);
231
233 public native void SetOptions (LcConfigOptionsEF options);
234
236 public native void SetSettingDeleteFunc (LcSettingDeleteIF fSettingDeleteData);
237
239 public native void SetTabWidth (short width);
240
242 // LcConfigC_Set_JV_API
243
247
248 // doc-key: LcConfigC,LcConfigC-TOR,sCc
249
251 private native static long CTOR ();
252
254 public native static LcConfigC Create ();
255
257 public LcConfigC () {
258 this(CTOR(), true);
259 }
260
262 // LcConfigC_TOR_JV_API
263
264 // END-LcConfigC - created by 'jv_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
265
266}
267
LcConfigC - the class known as lccfg or Config define the main-configuration-handle …
Java: enum LcConfigOptionsEF → C-API
LcSettingC - the class known as lccfs or Setting define a single config-setting …
Java: enum LcConfigFormatE → C-API
Java: enum LcErrorTypeE → C-API
static native LcConfigC Instances()
Java: [static] LcConfigC LcConfigC.Instances() → C-API get head-instance from linked-list of LcC...
static native LcConfigC HandleResolve(int netHdl)
Java: [static] LcConfigC LcConfigC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - retur...
native LcConfigC Next()
Java: LcConfigC cfg.Next() → C-API get next instance from linked-list of LcConfigS type
static native LcConfigC GetNull()
Java: [static] LcConfigC LcConfigC.GetNull() → C-API Null-Slot - return a LcConfigC typed NULL i...
native LcConfigC Prev()
Java: LcConfigC cfg.Prev() → C-API get previous instance from linked-list of LcConfigS type
native LcErrorTypeE ErrorType()
Java: LcErrorTypeE config.ErrorType() → C-API This function, which is implemented as a macro,...
native LcConfigOptionsEF GetOptions()
Java: LcConfigOptionsEF config.GetOptions() → C-API These functions get and set the options for...
native LcConfigFormatE GetDefaultFormat()
Java: LcConfigFormatE config.GetDefaultFormat() → C-API These functions, which are implemented ...
native String GetIncludeDir()
Java: String config.GetIncludeDir() → C-API ConfigSetIncludeDir specifies the include directory...
native short GetFloatPrecision()
Java: short config.GetFloatPrecision() → C-API Since v1.6 These functions get and set the numbe...
native short GetTabWidth()
Java: short config.GetTabWidth() → C-API These functions, which are implemented as macros,...
native boolean GetOption(LcConfigOptionsEF option)
Java: boolean config.GetOption(LcConfigOptionsEF option) → C-API Since v1.7 These functions get...
native boolean LookupBool(String path)
Java: boolean config.LookupBool(String path) → C-API These functions look up the value of the s...
native double LookupFloat(String path)
Java: double config.LookupFloat(String path) → C-API These functions look up the value of the s...
native String LookupString(String path)
Java: String config.LookupString(String path) → C-API These functions look up the value of the ...
native int LookupInt(String path)
Java: int config.LookupInt(String path) → C-API These functions look up the value of the settin...
native long LookupInt64(String path)
Java: long config.LookupInt64(String path) → C-API These functions look up the value of the set...
native LcSettingC Lookup(String path)
Java: LcSettingC config.Lookup(String path) → C-API This function locates the setting in the co...
native String WriteString()
Java: String cfg.WriteString() → C-API read the entire configuration cfg into the string val_ou...
native void ReadFile(String filename)
Java: config.ReadFile(String filename) → C-API This function reads and parses a configuration f...
void Log(MkObjectC fmtobj, int debug)
Java: cfg.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void WriteFile(String filename)
Java: config.WriteFile(String filename) → C-API This function writes the configuration config t...
void Log(MkObjectC fmtobj, int debug, String callfunc)
Java: cfg.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Log()
Java: cfg.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void ReadString(String str)
Java: config.ReadString(String str) → C-API This function reads and parses a configuration from...
void Log(MkObjectC fmtobj)
Java: cfg.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void Log(MkObjectC fmtobj, int debug, String callfunc, int lvl)
Java: cfg.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native LcSettingC RootSetting()
Java: LcSettingC config.RootSetting() → C-API This function, which is implemented as a macro,...
native void Clear()
Java: config.Clear() → C-API Since v1.7 This function clears the configuration config …
native void SetIncludeFunc(LcConfigIncludeIF fConfigIncludeData)
Java: cfg.SetIncludeFunc(?LcConfigIncludeIF fConfigIncludeData = null?) → C-API set the __parse...
native void SetIncludeDir(String include_dir)
Java: config.SetIncludeDir(String include_dir) → C-API ConfigSetIncludeDir specifies the includ...
native void SetFloatPrecision(short digits)
Java: config.SetFloatPrecision(short digits) → C-API Since v1.6 These functions get and set the...
native void SetOptions(LcConfigOptionsEF options)
Java: config.SetOptions(LcConfigOptionsEF options) → C-API These functions get and set the opti...
native void SetSettingDeleteFunc(LcSettingDeleteIF fSettingDeleteData)
Java: cfg.SetSettingDeleteFunc(?LcSettingDeleteIF fSettingDeleteData = null?) → C-API set the c...
native void SetDefaultFormat(LcConfigFormatE format)
Java: config.SetDefaultFormat(LcConfigFormatE format) → C-API These functions,...
native void SetTabWidth(short width)
Java: config.SetTabWidth(short width) → C-API These functions, which are implemented as macros,...
native void SetOption(LcConfigOptionsEF option, boolean flag)
Java: config.SetOption(LcConfigOptionsEF option, boolean flag) → C-API Since v1....
static native LcConfigC Create()
Java: [constructor,static] LcConfigC LcConfigC.Create() → C-API create a LcConfigC instance …
LcConfigC()
Java: [constructor,static] LcConfigC LcConfigC.Create() → C-API create a LcConfigC instance …
static void Setup()
Java: [static] Setup() → C-API setup jvlcconfig internal memory …