theConfig 10.0
Loading...
Searching...
No Matches
LcSettingC.cs
Go to the documentation of this file.
1
9/* LABEL-INIT */
10
11using csmkkernel;
12
13/* LABEL-START */
14
15using System;
16using System.Reflection;
17using System.Runtime.InteropServices;
18using System.Runtime.CompilerServices;
19using System.Collections.Generic;
20using System.Threading;
21
22namespace cslcconfig {
23
27#if META_IS_OBJECT
28 public partial class LcSettingC
29#else
30 public partial class LcSettingC : MkObjectC
31#endif
32 {
33 private readonly static ConstructorInfo ctor = getCtor(typeof(LcSettingC));
34 private readonly static ThreadLocal<LcSettingC> MK_NULL = new ThreadLocal<LcSettingC>(() => {
35 return (LcSettingC) atomSelfNull(ctor);
36 });
37
38 public static LcSettingC LcSettingC_ObjNew (IntPtr hdl) {
39 return hdl != IntPtr.Zero ? (LcSettingC) atomObjNew(typeof(LcSettingC), ctor, hdl) : MK_NULL.Value;
40 }
41
42 private static LcSettingC LcSettingC_ObjCreate (IntPtr hdl) {
43 return hdl != IntPtr.Zero ? (LcSettingC) atomObjCreate(typeof(LcSettingC), ctor, hdl) : MK_NULL.Value;
44 }
45
46 private static IntPtr LcSettingC_SelfCreate (IntPtr mkrt, IntPtr obj, IntPtr env) {
47 return atomSelfCreate(ctor, obj, env);
48 }
49
50 private static void LcSettingC_SelfUnlink (IntPtr mkrt, IntPtr self, IntPtr env) {
51 atomSelfUnlink(self, env);
52 }
53
54 internal static void SetupThreadCFS (IntPtr mkrt) {
55 Lc.LcCsTypeUpdate(mkrt, LcCsTypeLookupE.CFS, LcSettingC_SelfCreate, LcSettingC_SelfUnlink);
56 }
57
58 #if !META_STATIC_OVERWRITE
59
60 static LcSettingC() {
61 // M0("LcSettingC");
62 LcConfig.Setup();
63 SetupThreadCFS(IntPtr.Zero);
64 }
65
66 #endif
67/* LABEL-END */
68
69 internal LcSettingC (IntPtr dumpP) : base(dumpP) {
70 }
71
72 } // END - class "LcSettingC"
73
74 // BEGIN-LcSettingC - created by 'cs_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
75
76 public partial class LcSettingC {
77
81
82 // doc-key: LcSettingC,LcSettingC-Class-Export,sc_
83
85 new public static LcSettingC HandleResolve (Int32 netHdl) {
86 IntPtr __retVal__L = Lc.LcSettingHandleResolve(IntPtr.Zero, netHdl);
87 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
88 }
89
90 // doc-key: LcSettingC,LcSettingC-Class-Export,om_
91
92 // skip class-overload: HandleGet = LcSettingHandleGet → MkObjectHandleGet
93
95 // LcSettingC_Class_CS_API
96 }
97
98 public partial class LcSettingC {
99
103
104 // doc-key: LcSettingC,LcSettingC-Class-Introspection,oc_
105
107 new public LcSettingC Next () {
108 IntPtr __retVal__L = Lc.LcSettingNext(hdl);
109 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
110 }
111
113 new public LcSettingC Prev () {
114 IntPtr __retVal__L = Lc.LcSettingPrev(hdl);
115 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
116 }
117
118 // doc-key: LcSettingC,LcSettingC-Class-Introspection,sc_
119
121 new public static LcSettingC Instances () {
122 IntPtr __retVal__L = Lc.LcSettingInstances(IntPtr.Zero);
123 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
124 }
125
127 // LcSettingC_Class_CS_API
128 }
129
130 public partial class LcSettingC {
131
135
136 // doc-key: LcSettingC,LcSettingC-Class-Misc,sc_
137
139 new public static LcSettingC GetNull () {
140 IntPtr __retVal__L = Lc.LcSettingGetNull();
141 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
142 }
143
145 // LcSettingC_Class_CS_API
146 }
147
148 public partial class LcSettingC {
149
153
154 // doc-key: LcSettingC,LcSettingC-Get,oc_
155
157 public LcSettingC GetElem (int idx) {
158 IntPtr __retVal__L = Lc.LcSettingGetElem(hdl, idx);
159 if (__retVal__L == IntPtr.Zero) {
160 throw new MkInitSoftError("LcSettingC.GetElem");
161 }
162 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
163 }
164
166 public LcSettingC GetMember (string name) {
167 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
168 IntPtr __retVal__L = Lc.LcSettingGetMember(hdl, name_cstr);
169 Marshal.FreeHGlobal(name_cstr);
170 if (__retVal__L == IntPtr.Zero) {
171 throw new MkInitSoftError("LcSettingC.GetMember");
172 }
173 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
174 }
175
176 // doc-key: LcSettingC,LcSettingC-Get,om_
177
179 public bool GetBool () {
180 bool __retVal__L = Lc.LcSettingGetBool(hdl);
181 return __retVal__L;
182 }
183
185 public bool GetBoolElem (int idx) {
186 bool __retVal__L = Lc.LcSettingGetBoolElem(hdl, idx);
187 return __retVal__L;
188 }
189
191 public double GetFloat () {
192 Double __retVal__L = Lc.LcSettingGetFloat(hdl);
193 return __retVal__L;
194 }
195
197 public double GetFloatElem (int idx) {
198 Double __retVal__L = Lc.LcSettingGetFloatElem(hdl, idx);
199 return __retVal__L;
200 }
201
204 LcConfigFormatE __retVal__L = Lc.LcSettingGetFormat(hdl);
205 return __retVal__L;
206 }
207
209 public int GetInt () {
210 Int32 __retVal__L = Lc.LcSettingGetInt(hdl);
211 return __retVal__L;
212 }
213
215 public long GetInt64 () {
216 Int64 __retVal__L = Lc.LcSettingGetInt64(hdl);
217 return __retVal__L;
218 }
219
221 public long GetInt64Elem (int idx) {
222 Int64 __retVal__L = Lc.LcSettingGetInt64Elem(hdl, idx);
223 return __retVal__L;
224 }
225
227 public int GetIntElem (int idx) {
228 Int32 __retVal__L = Lc.LcSettingGetIntElem(hdl, idx);
229 return __retVal__L;
230 }
231
233 public string GetString () {
234 IntPtr __retVal__L = Lc.LcSettingGetString(hdl);
235 return Marshal.PtrToStringAnsi(__retVal__L);
236 }
237
239 public string GetStringElem (int idx) {
240 IntPtr __retVal__L = Lc.LcSettingGetStringElem(hdl, idx);
241 return Marshal.PtrToStringAnsi(__retVal__L);
242 }
243
245 // LcSettingC_Get_CS_API
246 }
247
248 public partial class LcSettingC {
249
253
254 // doc-key: LcSettingC,LcSettingC-Is,om_
255
257 public bool IsAggregate () {
258 bool __retVal__L = Lc.LcSettingIsAggregate(hdl);
259 return __retVal__L;
260 }
261
263 public bool IsArray () {
264 bool __retVal__L = Lc.LcSettingIsArray(hdl);
265 return __retVal__L;
266 }
267
269 public bool IsGroup () {
270 bool __retVal__L = Lc.LcSettingIsGroup(hdl);
271 return __retVal__L;
272 }
273
275 public bool IsList () {
276 bool __retVal__L = Lc.LcSettingIsList(hdl);
277 return __retVal__L;
278 }
279
281 public bool IsNumber () {
282 bool __retVal__L = Lc.LcSettingIsNumber(hdl);
283 return __retVal__L;
284 }
285
287 public bool IsRoot () {
288 bool __retVal__L = Lc.LcSettingIsRoot(hdl);
289 return __retVal__L;
290 }
291
293 public bool IsScalar () {
294 bool __retVal__L = Lc.LcSettingIsScalar(hdl);
295 return __retVal__L;
296 }
297
299 // LcSettingC_Is_CS_API
300 }
301
302 public partial class LcSettingC {
303
307
308 // doc-key: LcSettingC,LcSettingC-Lookup,oc_
309
311 public LcSettingC Lookup (string path) {
312 IntPtr path_cstr = Marshal.StringToHGlobalAnsi(path);
313 IntPtr __retVal__L = Lc.LcSettingLookup(hdl, path_cstr);
314 Marshal.FreeHGlobal(path_cstr);
315 if (__retVal__L == IntPtr.Zero) {
316 throw new MkInitSoftError("LcSettingC.Lookup");
317 }
318 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
319 }
320
323 IntPtr __retVal__L = Lc.LcSettingLookupAll(hdl);
324 return MkBufferListC.MkBufferListC_ObjNew(__retVal__L);
325 }
326
327 // doc-key: LcSettingC,LcSettingC-Lookup,omo
328
330 public bool LookupBool (string name) {
331 bool value_out;
332 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
333 MkErrorE errVal = Lc.LcSettingLookupBool(hdl, name_cstr, out value_out);
334 Marshal.FreeHGlobal(name_cstr);
335 MkErrorC.Check(hdl, errVal);
336 return value_out;
337 }
338
340 public double LookupFloat (string name) {
341 Double value_out;
342 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
343 MkErrorE errVal = Lc.LcSettingLookupFloat(hdl, name_cstr, out value_out);
344 Marshal.FreeHGlobal(name_cstr);
345 MkErrorC.Check(hdl, errVal);
346 return value_out;
347 }
348
350 public int LookupInt (string name) {
351 Int32 value_out;
352 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
353 MkErrorE errVal = Lc.LcSettingLookupInt(hdl, name_cstr, out value_out);
354 Marshal.FreeHGlobal(name_cstr);
355 MkErrorC.Check(hdl, errVal);
356 return value_out;
357 }
358
360 public long LookupInt64 (string name) {
361 Int64 value_out;
362 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
363 MkErrorE errVal = Lc.LcSettingLookupInt64(hdl, name_cstr, out value_out);
364 Marshal.FreeHGlobal(name_cstr);
365 MkErrorC.Check(hdl, errVal);
366 return value_out;
367 }
368
370 public string LookupString (string name) {
371 IntPtr value_out;
372 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
373 MkErrorE errVal = Lc.LcSettingLookupString(hdl, name_cstr, out value_out);
374 Marshal.FreeHGlobal(name_cstr);
375 MkErrorC.Check(hdl, errVal);
376 return Marshal.PtrToStringAnsi(value_out);
377 }
378
380 // LcSettingC_Lookup_CS_API
381 }
382
383 public partial class LcSettingC {
384
388
389 // doc-key: LcSettingC,LcSettingC-Misc,oc_
390
392 public LcSettingC AddIfNotExists (string name, LcConfigTypeE cfgtype) {
393 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
394 IntPtr __retVal__L = Lc.LcSettingAddIfNotExists(hdl, name_cstr, cfgtype);
395 Marshal.FreeHGlobal(name_cstr);
396 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
397 }
398
400 public LcSettingC Parent () {
401 IntPtr __retVal__L = Lc.LcSettingParent(hdl);
402 if (__retVal__L == IntPtr.Zero) {
403 throw new MkInitSoftError("LcSettingC.Parent");
404 }
405 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
406 }
407
408 // doc-key: LcSettingC,LcSettingC-Misc,om_
409
411 public bool Exists (string name) {
412 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
413 bool __retVal__L = Lc.LcSettingExists(hdl, name_cstr);
414 Marshal.FreeHGlobal(name_cstr);
415 return __retVal__L;
416 }
417
419 public int Index () {
420 Int32 __retVal__L = Lc.LcSettingIndex(hdl);
421 return __retVal__L;
422 }
423
425 public int Length () {
426 Int32 __retVal__L = Lc.LcSettingLength(hdl);
427 return __retVal__L;
428 }
429
430 // skip class-overload: Log = LcSettingLog → MkObjectLog
431
433 public string Name () {
434 IntPtr __retVal__L = Lc.LcSettingName(hdl);
435 return Marshal.PtrToStringAnsi(__retVal__L);
436 }
437
439 public void Remove (string name) {
440 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
441 MkErrorE errVal = Lc.LcSettingRemove(hdl, name_cstr);
442 Marshal.FreeHGlobal(name_cstr);
443 MkErrorC.Check(hdl, errVal);
444 }
445
447 public void RemoveElem (int idx) {
448 MkErrorE errVal = Lc.LcSettingRemoveElem(hdl, idx);
449 MkErrorC.Check(hdl, errVal);
450 }
451
453 public string SourceFile () {
454 IntPtr __retVal__L = Lc.LcSettingSourceFile(hdl);
455 return Marshal.PtrToStringAnsi(__retVal__L);
456 }
457
459 public int SourceLine () {
460 Int32 __retVal__L = Lc.LcSettingSourceLine(hdl);
461 return __retVal__L;
462 }
463
465 public LcConfigTypeE Type () {
466 LcConfigTypeE __retVal__L = Lc.LcSettingType(hdl);
467 return __retVal__L;
468 }
469
471 // LcSettingC_Misc_CS_API
472 }
473
474 public partial class LcSettingC {
475
479
480 // doc-key: LcSettingC,LcSettingC-Set,oc_
481
483 public LcSettingC SetBoolElem (int idx, int value) {
484 IntPtr __retVal__L = Lc.LcSettingSetBoolElem(hdl, idx, value);
485 if (__retVal__L == IntPtr.Zero) {
486 throw new MkInitSoftError("LcSettingC.SetBoolElem");
487 }
488 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
489 }
490
492 public LcSettingC SetFloatElem (int idx, double value) {
493 IntPtr __retVal__L = Lc.LcSettingSetFloatElem(hdl, idx, value);
494 if (__retVal__L == IntPtr.Zero) {
495 throw new MkInitSoftError("LcSettingC.SetFloatElem");
496 }
497 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
498 }
499
501 public LcSettingC SetInt64Elem (int idx, long value) {
502 IntPtr __retVal__L = Lc.LcSettingSetInt64Elem(hdl, idx, value);
503 if (__retVal__L == IntPtr.Zero) {
504 throw new MkInitSoftError("LcSettingC.SetInt64Elem");
505 }
506 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
507 }
508
510 public LcSettingC SetIntElem (int idx, int value) {
511 IntPtr __retVal__L = Lc.LcSettingSetIntElem(hdl, idx, value);
512 if (__retVal__L == IntPtr.Zero) {
513 throw new MkInitSoftError("LcSettingC.SetIntElem");
514 }
515 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
516 }
517
519 public LcSettingC SetStringElem (int idx, string value) {
520 IntPtr value_cstr = Marshal.StringToHGlobalAnsi(value);
521 IntPtr __retVal__L = Lc.LcSettingSetStringElem(hdl, idx, value_cstr);
522 Marshal.FreeHGlobal(value_cstr);
523 if (__retVal__L == IntPtr.Zero) {
524 throw new MkInitSoftError("LcSettingC.SetStringElem");
525 }
526 return LcSettingC.LcSettingC_ObjNew(__retVal__L);
527 }
528
529 // doc-key: LcSettingC,LcSettingC-Set,om_
530
532 public void SetBool (bool value) {
533 MkErrorE errVal = Lc.LcSettingSetBool(hdl, value);
534 MkErrorC.Check(hdl, errVal);
535 }
536
538 public void SetFloat (double value) {
539 MkErrorE errVal = Lc.LcSettingSetFloat(hdl, value);
540 MkErrorC.Check(hdl, errVal);
541 }
542
544 public void SetFormat (LcConfigFormatE format) {
545 MkErrorE errVal = Lc.LcSettingSetFormat(hdl, format);
546 MkErrorC.Check(hdl, errVal);
547 }
548
550 public void SetInt (int value) {
551 MkErrorE errVal = Lc.LcSettingSetInt(hdl, value);
552 MkErrorC.Check(hdl, errVal);
553 }
554
556 public void SetInt64 (long value) {
557 MkErrorE errVal = Lc.LcSettingSetInt64(hdl, value);
558 MkErrorC.Check(hdl, errVal);
559 }
560
562 public void SetString (string value) {
563 IntPtr value_cstr = Marshal.StringToHGlobalAnsi(value);
564 MkErrorE errVal = Lc.LcSettingSetString(hdl, value_cstr);
565 Marshal.FreeHGlobal(value_cstr);
566 MkErrorC.Check(hdl, errVal);
567 }
568
570 // LcSettingC_Set_CS_API
571 }
572
573 public partial class LcSettingC {
574
578
579 // doc-key: LcSettingC,LcSettingC-TOR,oC_
580
582 public LcSettingC Add (string name, LcConfigTypeE __type) {
583 IntPtr name_cstr = Marshal.StringToHGlobalAnsi(name);
584 IntPtr __retVal__L = Lc.LcSettingAdd(hdl, name_cstr, __type);
585 Marshal.FreeHGlobal(name_cstr);
586 if (__retVal__L == IntPtr.Zero) {
587 throw new MkInitError("LcSettingC.Add");
588 }
589 return LcSettingC.LcSettingC_ObjCreate(__retVal__L);
590 }
591
592 // doc-key: LcSettingC,LcSettingC-TOR,oc_
593
596 IntPtr __retVal__L = Lc.LcSettingGetConfig(hdl);
597 return LcConfigC.LcConfigC_ObjNew(__retVal__L);
598 }
599
601 // LcSettingC_TOR_CS_API
602 }
603
604 // END-LcSettingC - created by 'cs_MqC.tcl -i NHI1_HOME/theConfig/c/gen/c_lcconfig.meta' - DO NOT change
605
606} // END - namespace "cslcconfig"
LcConfigC - the class known as lccfg or Config define the main-configuration-handle …
Definition LcConfigC.cs:416
static LcConfigC LcConfigC_ObjNew(IntPtr hdl)
Definition LcConfigC.cs:38
LcSettingC - the class known as lccfs or Setting define a single config-setting …
static LcSettingC LcSettingC_ObjNew(IntPtr hdl)
Definition LcSettingC.cs:38
static MkBufferListC MkBufferListC_ObjNew(IntPtr hdl)
static void Check(IntPtr ctx, MkErrorE err)
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
static object atomObjCreate(Type type, ConstructorInfo ctor, IntPtr obj)
static void atomSelfUnlink(IntPtr self, IntPtr env)
static object atomSelfNull(ConstructorInfo ctor)
static ConstructorInfo getCtor(Type type)
static IntPtr atomSelfCreate(ConstructorInfo ctor, IntPtr obj, IntPtr env)
new LcSettingC Next()
C#: LcSettingC cfs.Next() → C-API get next instance from linked-list of LcSettingS type
new static LcSettingC HandleResolve(Int32 netHdl)
C#: [static] LcSettingC LcSettingC.HandleResolve(Int32 netHdl) → C-API Handle-Resolve-Slot - ret...
Definition LcSettingC.cs:85
new LcSettingC Prev()
C#: LcSettingC cfs.Prev() → C-API get previous instance from linked-list of LcSettingS type
new static LcSettingC GetNull()
C#: [static] LcSettingC LcSettingC.GetNull() → C-API Null-Slot - return a LcSettingC typed NULL ...
new static LcSettingC Instances()
C#: [static] LcSettingC LcSettingC.Instances() → C-API get head-instance from linked-list of LcS...
bool GetBoolElem(int idx)
C#: bool setting.GetBoolElem(int idx) → C-API These functions return the value at the specified...
LcSettingC GetElem(int idx)
C#: LcSettingC setting.GetElem(int idx) → C-API This function fetches the element at the given ...
int GetInt()
C#: int setting.GetInt() → C-API These functions return the value of the given setting …
LcSettingC GetMember(string name)
C#: LcSettingC setting.GetMember(string name) → C-API This function fetches the child setting n...
LcConfigFormatE GetFormat()
C#: LcConfigFormatE setting.GetFormat() → C-API These functions get and set the external format...
string GetStringElem(int idx)
C#: string setting.GetStringElem(int idx) → C-API These functions return the value at the speci...
string GetString()
C#: string setting.GetString() → C-API These functions return the value of the given setting …
double GetFloatElem(int idx)
C#: double setting.GetFloatElem(int idx) → C-API These functions return the value at the specif...
long GetInt64()
C#: long setting.GetInt64() → C-API These functions return the value of the given setting …
long GetInt64Elem(int idx)
C#: long setting.GetInt64Elem(int idx) → C-API These functions return the value at the specifie...
bool GetBool()
C#: bool setting.GetBool() → C-API These functions return the value of the given setting …
double GetFloat()
C#: double setting.GetFloat() → C-API These functions return the value of the given setting …
int GetIntElem(int idx)
C#: int setting.GetIntElem(int idx) → C-API These functions return the value at the specified i...
bool IsGroup()
C#: bool setting.IsGroup() → C-API These convenience functions, which are implemented as macros...
bool IsNumber()
C#: bool setting.IsNumber() → C-API These convenience functions, some of which are implemented ...
bool IsRoot()
C#: bool setting.IsRoot() → C-API This function returns CONFIG_TRUE if the given setting is the...
bool IsArray()
C#: bool setting.IsArray() → C-API These convenience functions, which are implemented as macros...
bool IsScalar()
C#: bool setting.IsScalar() → C-API These convenience functions, some of which are implemented ...
bool IsAggregate()
C#: bool setting.IsAggregate() → C-API These convenience functions, some of which are implement...
bool IsList()
C#: bool setting.IsList() → C-API These convenience functions, which are implemented as macros,...
bool LookupBool(string name)
C#: bool setting.LookupBool(string name) → C-API These functions look up the value of the child...
string LookupString(string name)
C#: string setting.LookupString(string name) → C-API These functions look up the value of the c...
LcSettingC Lookup(string path)
C#: LcSettingC setting.Lookup(string path) → C-API This function locates a setting by a path pa...
double LookupFloat(string name)
C#: double setting.LookupFloat(string name) → C-API These functions look up the value of the ch...
long LookupInt64(string name)
C#: long setting.LookupInt64(string name) → C-API These functions look up the value of the chil...
int LookupInt(string name)
C#: int setting.LookupInt(string name) → C-API These functions look up the value of the child s...
MkBufferListC LookupAll()
C#: MkBufferListC setting.LookupAll() → C-API addon - read an entire configuration below settin...
string SourceFile()
C#: string setting.SourceFile() → C-API This function returns the name of the file from which t...
void RemoveElem(int idx)
C#: parent.RemoveElem(int idx) → C-API This function removes the child setting at the given ind...
bool Exists(string name)
C#: bool setting.Exists(string name) → C-API addon - return true if name exists in the setting ...
LcSettingC AddIfNotExists(string name, LcConfigTypeE cfgtype)
C#: LcSettingC setting.AddIfNotExists(string name, LcConfigTypeE cfgtype) → C-API addon - add n...
void Remove(string name)
C#: parent.Remove(string name) → C-API This function removes and destroys the setting named nam...
int Length()
C#: int setting.Length() → C-API This function returns the number of settings in a group,...
LcConfigTypeE Type()
C#: LcConfigTypeE setting.Type() → C-API This function returns the type of the given setting …
int Index()
C#: int setting.Index() → C-API This function returns the index of the given setting within its...
int SourceLine()
C#: int setting.SourceLine() → C-API This function returns the line number of the configuration...
string Name()
C#: string setting.Name() → C-API This function returns the name of the given setting,...
LcSettingC Parent()
C#: LcSettingC setting.Parent() → C-API This function returns the parent setting of the given s...
void SetFloat(double value)
C#: setting.SetFloat(double value) → C-API These functions set the value of the given setting t...
LcSettingC SetFloatElem(int idx, double value)
C#: LcSettingC setting.SetFloatElem(int idx, double value) → C-API These functions set the valu...
void SetInt(int value)
C#: setting.SetInt(int value) → C-API These functions set the value of the given setting to val...
LcSettingC SetStringElem(int idx, string value)
C#: LcSettingC setting.SetStringElem(int idx, string value) → C-API These functions set the val...
void SetString(string value)
C#: setting.SetString(string value) → C-API These functions set the value of the given setting ...
LcSettingC SetInt64Elem(int idx, long value)
C#: LcSettingC setting.SetInt64Elem(int idx, long value) → C-API These functions set the value ...
void SetInt64(long value)
C#: setting.SetInt64(long value) → C-API These functions set the value of the given setting to ...
void SetFormat(LcConfigFormatE format)
C#: setting.SetFormat(LcConfigFormatE format) → C-API These functions get and set the external ...
void SetBool(bool value)
C#: setting.SetBool(bool value) → C-API These functions set the value of the given setting to v...
LcSettingC SetIntElem(int idx, int value)
C#: LcSettingC setting.SetIntElem(int idx, int value) → C-API These functions set the value at ...
LcSettingC SetBoolElem(int idx, int value)
C#: LcSettingC setting.SetBoolElem(int idx, int value) → C-API These functions set the value at...
LcConfigC GetConfig()
C#: LcConfigC setting.GetConfig() → C-API addon - return the LcConfigC from the LcSettingC …
LcSettingC Add(string name, LcConfigTypeE __type)
C#: [constructor] LcSettingC parent.Add(string name, LcConfigTypeE __type) → C-API This function...
#define MK_NULL
MkErrorE
LcConfigTypeE
→ C-API: LcConfigTypeE → C-API: LcConfigTypeE
LcConfigFormatE
→ C-API: LcConfigFormatE → C-API: LcConfigFormatE