theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC.java
Go to the documentation of this file.
1
9/* LABEL-INIT */
10package jvlcconfig;
11
12import jvmkkernel.*;
13
14/* LABEL-START */
15
20public class LcSettingC extends MkObjectC {
21
22 static {
24 }
25
26 private LcSettingC (long mng, boolean dummy) {
27 super(mng,dummy);
28 }
29
30/* LABEL-END */
31
32 // INTERNAL
33
34 // PUBLIC
35
36 // BEGIN-LcSettingC - created by 'jv_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
37
41
42 // doc-key: LcSettingC,LcSettingC-Class-Export,sc_
43
45 public native static LcSettingC HandleResolve (int netHdl);
46
47 // doc-key: LcSettingC,LcSettingC-Class-Export,om_
48
49 // skip class-overload: public native int HandleGet ()
50
52 // LcSettingC_Class_JV_API
53
57
58 // doc-key: LcSettingC,LcSettingC-Class-Introspection,oc_
59
61 public native LcSettingC Next ();
62
64 public native LcSettingC Prev ();
65
66 // doc-key: LcSettingC,LcSettingC-Class-Introspection,sc_
67
69 public native static LcSettingC Instances ();
70
72 // LcSettingC_Class_JV_API
73
77
78 // doc-key: LcSettingC,LcSettingC-Class-Misc,sc_
79
81 public native static LcSettingC GetNull ();
82
84 // LcSettingC_Class_JV_API
85
89
90 // doc-key: LcSettingC,LcSettingC-Get,oc_
91
93 public native LcSettingC GetElem (int idx);
94
96 public native LcSettingC GetMember (String name);
97
98 // doc-key: LcSettingC,LcSettingC-Get,om_
99
101 public native boolean GetBool ();
102
104 public native boolean GetBoolElem (int idx);
105
107 public native double GetFloat ();
108
110 public native double GetFloatElem (int idx);
111
113 public native LcConfigFormatE GetFormat ();
114
116 public native int GetInt ();
117
119 public native long GetInt64 ();
120
122 public native long GetInt64Elem (int idx);
123
125 public native int GetIntElem (int idx);
126
128 public native String GetString ();
129
131 public native String GetStringElem (int idx);
132
134 // LcSettingC_Get_JV_API
135
139
140 // doc-key: LcSettingC,LcSettingC-Is,om_
141
143 public native boolean IsAggregate ();
144
146 public native boolean IsArray ();
147
149 public native boolean IsGroup ();
150
152 public native boolean IsList ();
153
155 public native boolean IsNumber ();
156
158 public native boolean IsRoot ();
159
161 public native boolean IsScalar ();
162
164 // LcSettingC_Is_JV_API
165
169
170 // doc-key: LcSettingC,LcSettingC-Lookup,oc_
171
173 public native LcSettingC Lookup (String path);
174
176 public native MkBufferListC LookupAll ();
177
178 // doc-key: LcSettingC,LcSettingC-Lookup,omo
179
181 public native boolean LookupBool (String name);
182
184 public native double LookupFloat (String name);
185
187 public native int LookupInt (String name);
188
190 public native long LookupInt64 (String name);
191
193 public native String LookupString (String name);
194
196 // LcSettingC_Lookup_JV_API
197
201
202 // doc-key: LcSettingC,LcSettingC-Misc,oc_
203
205 public native LcSettingC AddIfNotExists (String name, LcConfigTypeE cfgtype);
206
208 public native LcSettingC Parent ();
209
210 // doc-key: LcSettingC,LcSettingC-Misc,om_
211
213 public native boolean Exists (String name);
214
216 public native int Index ();
217
219 public native int Length ();
220
221 // skip class-overload: public native void Log (MkObjectC fmtobj, int debug, String callfunc, int lvl)
222
224 public void Log () {
225 Log ((MkObjectC) null, 0, null, 0);
226 }
227
229 public void Log (MkObjectC fmtobj) {
230 Log (fmtobj, 0, null, 0);
231 }
232
234 public void Log (MkObjectC fmtobj, int debug) {
235 Log (fmtobj, debug, null, 0);
236 }
237
239 public void Log (MkObjectC fmtobj, int debug, String callfunc) {
240 Log (fmtobj, debug, callfunc, 0);
241 }
242
244 public native String Name ();
245
247 public native void Remove (String name);
248
250 public native void RemoveElem (int idx);
251
253 public native String SourceFile ();
254
256 public native int SourceLine ();
257
259 public native LcConfigTypeE Type ();
260
262 // LcSettingC_Misc_JV_API
263
267
268 // doc-key: LcSettingC,LcSettingC-Set,oc_
269
271 public native LcSettingC SetBoolElem (int idx, int value);
272
274 public native LcSettingC SetFloatElem (int idx, double value);
275
277 public native LcSettingC SetInt64Elem (int idx, long value);
278
280 public native LcSettingC SetIntElem (int idx, int value);
281
283 public native LcSettingC SetStringElem (int idx, String value);
284
285 // doc-key: LcSettingC,LcSettingC-Set,om_
286
288 public native void SetBool (boolean value);
289
291 public native void SetFloat (double value);
292
294 public native void SetFormat (LcConfigFormatE format);
295
297 public native void SetInt (int value);
298
300 public native void SetInt64 (long value);
301
303 public native void SetString (String value);
304
306 // LcSettingC_Set_JV_API
307
311
312 // doc-key: LcSettingC,LcSettingC-TOR,oC_
313
315 public native LcSettingC Add (String name, LcConfigTypeE __type);
316
317 // doc-key: LcSettingC,LcSettingC-TOR,oc_
318
320 public native LcConfigC GetConfig ();
321
323 // LcSettingC_TOR_JV_API
324
325 // END-LcSettingC - created by 'jv_MqS.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
326
327}
328
LcConfigC - the class known as lccfg or Config define the main-configuration-handle …
LcSettingC - the class known as lccfs or Setting define a single config-setting …
Java: enum LcConfigFormatE → C-API
Java: enum LcConfigTypeE → C-API
static void Setup()
Java: [static] Setup() → C-API setup jvlcconfig internal memory …
static native LcSettingC Instances()
Java: [static] LcSettingC LcSettingC.Instances() → C-API get head-instance from linked-list of L...
native LcSettingC Prev()
Java: LcSettingC cfs.Prev() → C-API get previous instance from linked-list of LcSettingS type
native LcSettingC Next()
Java: LcSettingC cfs.Next() → C-API get next instance from linked-list of LcSettingS type
static native LcSettingC HandleResolve(int netHdl)
Java: [static] LcSettingC LcSettingC.HandleResolve(int netHdl) → C-API Handle-Resolve-Slot - ret...
static native LcSettingC GetNull()
Java: [static] LcSettingC LcSettingC.GetNull() → C-API Null-Slot - return a LcSettingC typed NUL...
native long GetInt64Elem(int idx)
Java: long setting.GetInt64Elem(int idx) → C-API These functions return the value at the specif...
native String GetStringElem(int idx)
Java: String setting.GetStringElem(int idx) → C-API These functions return the value at the spe...
native int GetIntElem(int idx)
Java: int setting.GetIntElem(int idx) → C-API These functions return the value at the specified...
native int GetInt()
Java: int setting.GetInt() → C-API These functions return the value of the given setting …
native long GetInt64()
Java: long setting.GetInt64() → C-API These functions return the value of the given setting …
native LcConfigFormatE GetFormat()
Java: LcConfigFormatE setting.GetFormat() → C-API These functions get and set the external form...
native boolean GetBoolElem(int idx)
Java: boolean setting.GetBoolElem(int idx) → C-API These functions return the value at the spec...
native double GetFloatElem(int idx)
Java: double setting.GetFloatElem(int idx) → C-API These functions return the value at the spec...
native LcSettingC GetMember(String name)
Java: LcSettingC setting.GetMember(String name) → C-API This function fetches the child setting...
native LcSettingC GetElem(int idx)
Java: LcSettingC setting.GetElem(int idx) → C-API This function fetches the element at the give...
native double GetFloat()
Java: double setting.GetFloat() → C-API These functions return the value of the given setting …
native String GetString()
Java: String setting.GetString() → C-API These functions return the value of the given setting ...
native boolean GetBool()
Java: boolean setting.GetBool() → C-API These functions return the value of the given setting …
native boolean IsAggregate()
Java: boolean setting.IsAggregate() → C-API These convenience functions, some of which are impl...
native boolean IsGroup()
Java: boolean setting.IsGroup() → C-API These convenience functions, which are implemented as m...
native boolean IsList()
Java: boolean setting.IsList() → C-API These convenience functions, which are implemented as ma...
native boolean IsScalar()
Java: boolean setting.IsScalar() → C-API These convenience functions, some of which are impleme...
native boolean IsRoot()
Java: boolean setting.IsRoot() → C-API This function returns CONFIG_TRUE if the given setting i...
native boolean IsNumber()
Java: boolean setting.IsNumber() → C-API These convenience functions, some of which are impleme...
native boolean IsArray()
Java: boolean setting.IsArray() → C-API These convenience functions, which are implemented as m...
native boolean LookupBool(String name)
Java: boolean setting.LookupBool(String name) → C-API These functions look up the value of the ...
native LcSettingC Lookup(String path)
Java: LcSettingC setting.Lookup(String path) → C-API This function locates a setting by a path ...
native MkBufferListC LookupAll()
Java: MkBufferListC setting.LookupAll() → C-API addon - read an entire configuration below sett...
native String LookupString(String name)
Java: String setting.LookupString(String name) → C-API These functions look up the value of the...
native int LookupInt(String name)
Java: int setting.LookupInt(String name) → C-API These functions look up the value of the child...
native long LookupInt64(String name)
Java: long setting.LookupInt64(String name) → C-API These functions look up the value of the ch...
native double LookupFloat(String name)
Java: double setting.LookupFloat(String name) → C-API These functions look up the value of the ...
native boolean Exists(String name)
Java: boolean setting.Exists(String name) → C-API addon - return true if name exists in the set...
native int Index()
Java: int setting.Index() → C-API This function returns the index of the given setting within i...
native String Name()
Java: String setting.Name() → C-API This function returns the name of the given setting,...
void Log(MkObjectC fmtobj, int debug)
Java: setting.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native void Remove(String name)
Java: parent.Remove(String name) → C-API This function removes and destroys the setting named n...
native LcSettingC AddIfNotExists(String name, LcConfigTypeE cfgtype)
Java: LcSettingC setting.AddIfNotExists(String name, LcConfigTypeE cfgtype) → C-API addon - add...
native int Length()
Java: int setting.Length() → C-API This function returns the number of settings in a group,...
void Log()
Java: setting.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
void Log(MkObjectC fmtobj, int debug, String callfunc)
Java: setting.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native String SourceFile()
Java: String setting.SourceFile() → C-API This function returns the name of the file from which...
native LcSettingC Parent()
Java: LcSettingC setting.Parent() → C-API This function returns the parent setting of the given...
native int SourceLine()
Java: int setting.SourceLine() → C-API This function returns the line number of the configurati...
native void RemoveElem(int idx)
Java: parent.RemoveElem(int idx) → C-API This function removes the child setting at the given i...
void Log(MkObjectC fmtobj)
Java: setting.Log(?MkObjectC fmtobj = null?, ?int debug = 0?, ?String callfunc = null?...
native LcConfigTypeE Type()
Java: LcConfigTypeE setting.Type() → C-API This function returns the type of the given setting ...
native void SetInt(int value)
Java: setting.SetInt(int value) → C-API These functions set the value of the given setting to v...
native LcSettingC SetInt64Elem(int idx, long value)
Java: LcSettingC setting.SetInt64Elem(int idx, long value) → C-API These functions set the valu...
native void SetFormat(LcConfigFormatE format)
Java: setting.SetFormat(LcConfigFormatE format) → C-API These functions get and set the externa...
native LcSettingC SetStringElem(int idx, String value)
Java: LcSettingC setting.SetStringElem(int idx, String value) → C-API These functions set the v...
native void SetBool(boolean value)
Java: setting.SetBool(boolean value) → C-API These functions set the value of the given setting...
native void SetString(String value)
Java: setting.SetString(String value) → C-API These functions set the value of the given settin...
native LcSettingC SetBoolElem(int idx, int value)
Java: LcSettingC setting.SetBoolElem(int idx, int value) → C-API These functions set the value ...
native void SetFloat(double value)
Java: setting.SetFloat(double value) → C-API These functions set the value of the given setting...
native LcSettingC SetIntElem(int idx, int value)
Java: LcSettingC setting.SetIntElem(int idx, int value) → C-API These functions set the value a...
native void SetInt64(long value)
Java: setting.SetInt64(long value) → C-API These functions set the value of the given setting t...
native LcSettingC SetFloatElem(int idx, double value)
Java: LcSettingC setting.SetFloatElem(int idx, double value) → C-API These functions set the va...
native LcConfigC GetConfig()
Java: LcConfigC setting.GetConfig() → C-API addon - return the LcConfigC from the LcSettingC …
native LcSettingC Add(String name, LcConfigTypeE __type)
Java: [constructor] LcSettingC parent.Add(String name, LcConfigTypeE __type) → C-API This functi...