theConfig 10.0
Loading...
Searching...
No Matches
cslcconfig.LcSettingC Class Reference

LcSettingC - the class known as lccfs or Setting define a single config-settingMore...

+ Inheritance diagram for cslcconfig.LcSettingC:
+ Collaboration diagram for cslcconfig.LcSettingC:

Public Member Functions

new LcSettingC Next ()
  C#: LcSettingC cfs.Next() C-API
get next instance from linked-list of LcSettingS type
 
new LcSettingC Prev ()
  C#: LcSettingC cfs.Prev() C-API
get previous instance from linked-list of LcSettingS type
 
LcSettingC GetElem (int idx)
  C#: LcSettingC setting.GetElem(int idx) C-API
This function fetches the element at the given index index in the setting setting, which must be an array, list, or group …
 
LcSettingC GetMember (string name)
  C#: LcSettingC setting.GetMember(string name) C-API
This function fetches the child setting named name from the group setting
 
bool GetBool ()
  C#: bool setting.GetBool() C-API
These functions return the value of the given setting
 
bool GetBoolElem (int idx)
  C#: bool setting.GetBoolElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
double GetFloat ()
  C#: double setting.GetFloat() 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 specified index index in the setting setting
 
LcConfigFormatE GetFormat ()
  C#: LcConfigFormatE setting.GetFormat() C-API
These functions get and set the external format for the setting setting
 
int GetInt ()
  C#: int setting.GetInt() C-API
These functions return the value of the given setting
 
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 specified index index in the setting setting
 
int GetIntElem (int idx)
  C#: int setting.GetIntElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
string GetString ()
  C#: string setting.GetString() C-API
These functions return the value of the given setting
 
string GetStringElem (int idx)
  C#: string setting.GetStringElem(int idx) C-API
These functions return the value at the specified index index in the setting setting
 
bool IsAggregate ()
  C#: bool setting.IsAggregate() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
bool IsArray ()
  C#: bool setting.IsArray() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
bool IsGroup ()
  C#: bool setting.IsGroup() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
bool IsList ()
  C#: bool setting.IsList() C-API
These convenience functions, which are implemented as macros, test if the setting setting is of a given type …
 
bool IsNumber ()
  C#: bool setting.IsNumber() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
bool IsRoot ()
  C#: bool setting.IsRoot() C-API
This function returns CONFIG_TRUE if the given setting is the root setting, and CONFIG_FALSE otherwise …
 
bool IsScalar ()
  C#: bool setting.IsScalar() C-API
These convenience functions, some of which are implemented as macros, test if the setting setting is of an aggregate type (a group, array, or list), of a scalar type (integer, 64-bit integer, floating point, boolean, or string), and of a number (integer, 64-bit integer, or floating point), respectively …
 
LcSettingC Lookup (string path)
  C#: LcSettingC setting.Lookup(string path) C-API
This function locates a setting by a path path relative to the setting setting
 
MkBufferListC LookupAll ()
  C#: MkBufferListC setting.LookupAll() C-API
addon - read an entire configuration below setting into MkBufferListC
 
bool LookupBool (string name)
  C#: bool setting.LookupBool(string name) C-API
These functions look up the value of the child setting named name of the setting setting
 
double LookupFloat (string name)
  C#: double setting.LookupFloat(string name) C-API
These functions look up the value of the child setting named name of the setting setting
 
int LookupInt (string name)
  C#: int setting.LookupInt(string name) C-API
These functions look up the value of the child setting named name of the setting setting
 
long LookupInt64 (string name)
  C#: long setting.LookupInt64(string name) C-API
These functions look up the value of the child setting named name of the setting setting
 
string LookupString (string name)
  C#: string setting.LookupString(string name) C-API
These functions look up the value of the child setting named name of the setting setting
 
LcSettingC AddIfNotExists (string name, LcConfigTypeE cfgtype)
  C#: LcSettingC setting.AddIfNotExists(string name, LcConfigTypeE cfgtype) C-API
addon - add name with type only if not exists in the setting
 
LcSettingC Parent ()
  C#: LcSettingC setting.Parent() C-API
This function returns the parent setting of the given setting, or NULL if setting is the root setting …
 
bool Exists (string name)
  C#: bool setting.Exists(string name) C-API
addon - return true if name exists in the setting otherwise false
 
int Index ()
  C#: int setting.Index() C-API
This function returns the index of the given setting within its parent setting …
 
int Length ()
  C#: int setting.Length() C-API
This function returns the number of settings in a group, or the number of elements in a list or array …
 
string Name ()
  C#: string setting.Name() C-API
This function returns the name of the given setting, or NULL if the setting has no name …
 
void Remove (string name)
  C#: parent.Remove(string name) C-API
This function removes and destroys the setting named name from the parent setting parent, which must be a group …
 
void RemoveElem (int idx)
  C#: parent.RemoveElem(int idx) C-API
This function removes the child setting at the given index index from the setting parent, which must be a group, list, or array …
 
string SourceFile ()
  C#: string setting.SourceFile() C-API
This function returns the name of the file from which the setting setting was read, or NULL if the setting was not read from a file …
 
int SourceLine ()
  C#: int setting.SourceLine() C-API
This function returns the line number of the configuration file or stream at which the setting setting was read, or 0 if no line number is available …
 
LcConfigTypeE Type ()
  C#: LcConfigTypeE setting.Type() C-API
This function returns the type of the given setting
 
LcSettingC SetBoolElem (int idx, int value)
  C#: LcSettingC setting.SetBoolElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC SetFloatElem (int idx, double value)
  C#: LcSettingC setting.SetFloatElem(int idx, double value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC SetInt64Elem (int idx, long value)
  C#: LcSettingC setting.SetInt64Elem(int idx, long value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC SetIntElem (int idx, int value)
  C#: LcSettingC setting.SetIntElem(int idx, int value) C-API
These functions set the value at the specified index index in the setting setting to value
 
LcSettingC SetStringElem (int idx, string value)
  C#: LcSettingC setting.SetStringElem(int idx, string value) C-API
These functions set the value at the specified index index in the setting setting to value
 
void SetBool (bool value)
  C#: setting.SetBool(bool value) C-API
These functions set the value of the given setting to value
 
void SetFloat (double value)
  C#: setting.SetFloat(double value) C-API
These functions set the value of the given setting to value
 
void SetFormat (LcConfigFormatE format)
  C#: setting.SetFormat(LcConfigFormatE format) C-API
These functions get and set the external format for the setting setting
 
void SetInt (int value)
  C#: setting.SetInt(int value) C-API
These functions set the value of the given setting to value
 
void SetInt64 (long value)
  C#: setting.SetInt64(long value) C-API
These functions set the value of the given setting to value
 
void SetString (string value)
  C#: setting.SetString(string value) C-API
These functions set the value of the given setting to value
 
LcSettingC Add (string name, LcConfigTypeE __type)
  C#: [constructor] LcSettingC parent.Add(string name, LcConfigTypeE __type) C-API
This function adds a new child setting or element to the setting parent, which must be a group, array, or list …
 
LcConfigC GetConfig ()
  C#: LcConfigC setting.GetConfig() C-API
addon - return the LcConfigC from the LcSettingC
 
- Public Member Functions inherited from csmkkernel::MkObjectC
delegate void MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl)
 
void ErrorCheck (MkErrorE err)
 
bool Check ()
 
string ToNameOfClass ()
 
void HandleDelete ()
 
bool HandleExists ()
 
Int32 HandleGet ()
 
Int32 HandleGetOfType ()
 
Int32 HandleGetOr0 ()
 
MkObjectC Next ()
 
MkObjectC Prev ()
 
void DbgDump (string message="var",[CallerMemberName]string callfunc=null)
 
void DbgL (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void DbgLogC ([CallerMemberName]string callfunc=null)
 
void DbgO ([CallerMemberName]string callfunc=null)
 
void DbgSTACK (int skip=0, int num=-1,[CallerMemberName]string callfunc=null)
 
void LogC (string message, int debug=0,[CallerMemberName]string callfunc=null)
 
void LogHEX (string callfunc, byte[] data)
 
void Log (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogLong (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogShort (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
void LogType (MkObjectC fmtobj=null, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
MkErrorC ErrorCatch (Exception exception=null,[CallerMemberName]string callfunc=null)
 
MkErrorC ToError ()
 
bool IsNull ()
 
string ToName ()
 
string ToNameOfType ()
 
override string ToString ()
 
int RefGet ()
 
void SysKill (int pid, int signal)
 
int SysGetPid ()
 
void Dispose ()
 
void Delete ()
 

Static Public Member Functions

static LcSettingC LcSettingC_ObjNew (IntPtr hdl)
 
new static LcSettingC HandleResolve (Int32 netHdl)
  C#: [static] LcSettingC LcSettingC.HandleResolve(Int32 netHdl) C-API
Handle-Resolve-Slot - return a LcSettingC from netHdl or null if invalid…
 
new static LcSettingC Instances ()
  C#: [static] LcSettingC LcSettingC.Instances() C-API
get head-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 instance …
 
- Static Public Member Functions inherited from csmkkernel::MkObjectC
static MkObjectC MkObjectC_ObjNew (IntPtr hdl)
 
static IntPtr getOBJ (string cls, MkObjectC obj)
 
static IntPtr getOBJ_null_allow (MkObjectC obj)
 
static MkObjectC HandleResolve (Int32 netHdl)
 
static void HandleDeleteByNetHdl (Int32 netHdl)
 
static MkObjectC Instances ()
 
static MkObjectC GetNull ()
 
static void DbgM (string message, int debug=0,[CallerMemberName]string callfunc=null, int lvl=0)
 
static int SysHashI32 (string key, int length=-1)
 
static string SysHashSTR (string key, int length=-1)
 
static void DeleteCallbackCleanup (string ident)
 
static void DeleteCallbackSetup (string ident, MkObjectDeleteSCB callback=null, string filter=null)
 
static int getPId ()
 
static int getTId ()
 
static string getStackTrace (int level=2)
 
static string getCallerProc (int level=2)
 
static int getCallerLine (int level=2)
 
static string getCallerFile (int level=2)
 

Additional Inherited Members

- Protected Member Functions inherited from csmkkernel::MkObjectC
 MkObjectC (IntPtr obj)
 
 MkObjectC ()
 
virtual void Dispose (bool disposing)
 
- Static Protected Member Functions inherited from csmkkernel::MkObjectC
static object atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj)
 
static object atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj)
 
static IntPtr atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env)
 
static object atomSelfNull (ConstructorInfo ctor)
 
static void atomSelfUnlink (IntPtr self, IntPtr env)
 
static ConstructorInfo getCtor (Type type)
 
static string Name (IntPtr mkrt, IntPtr obj)
 
- Protected Attributes inherited from csmkkernel::MkObjectC
IntPtr pmkrt
 
- Properties inherited from csmkkernel::MkObjectC
IntPtr hdl
 
IntPtr hdl_null_allow
 
IntPtr mkrt
 

Detailed Description

LcSettingC - the class known as lccfs or Setting define a single config-setting

Definition at line 573 of file LcSettingC.cs.

Member Function Documentation

◆ LcSettingC_ObjNew()

static LcSettingC cslcconfig.LcSettingC.LcSettingC_ObjNew ( IntPtr hdl)
inlinestatic

Definition at line 38 of file LcSettingC.cs.

38 {
39 return hdl != IntPtr.Zero ? (LcSettingC) atomObjNew(typeof(LcSettingC), ctor, hdl) : MK_NULL.Value;
40 }
static object atomObjNew(Type type, ConstructorInfo ctor, IntPtr obj)
+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: