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

LcConfigC - the class known as lccfg or Config define the main-configuration-handleMore...

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

Classes

struct  LcCall
 

Public Member Functions

delegate void LcConfigIncludeCCB (string incDir, string path, MkBufferListC ret)
 implements the cslcconfig API object: public version from LcConfigIncludeF as method
 
delegate void LcSettingDeleteCCB (long cfsH)
 
new LcConfigC Next ()
  C#: LcConfigC cfg.Next() C-API
get next instance from linked-list of LcConfigS type
 
new LcConfigC Prev ()
  C#: LcConfigC cfg.Prev() C-API
get previous instance from linked-list of LcConfigS type
 
LcErrorTypeE ErrorType ()
  C#: LcErrorTypeE config.ErrorType() C-API
This function, which is implemented as a macro, returns the type of error that occurred during the last call to one of the read or write functions …
 
LcConfigFormatE GetDefaultFormat ()
  C#: LcConfigFormatE config.GetDefaultFormat() C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
short GetFloatPrecision ()
  C#: short config.GetFloatPrecision() C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
string GetIncludeDir ()
  C#: string config.GetIncludeDir() C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
bool GetOption (LcConfigOptionsEF option)
  C#: bool config.GetOption(LcConfigOptionsEF option) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
LcConfigOptionsEF GetOptions ()
  C#: LcConfigOptionsEF config.GetOptions() C-API
These functions get and set the options for the configuration config
 
short GetTabWidth ()
  C#: short config.GetTabWidth() C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
LcSettingC Lookup (string path)
  C#: LcSettingC config.Lookup(string path) C-API
This function locates the setting in the configuration config specified by the path path
 
bool LookupBool (string path)
  C#: bool config.LookupBool(string path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
double LookupFloat (string path)
  C#: double config.LookupFloat(string path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
int LookupInt (string path)
  C#: int config.LookupInt(string path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
long LookupInt64 (string path)
  C#: long config.LookupInt64(string path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
string LookupString (string path)
  C#: string config.LookupString(string path) C-API
These functions look up the value of the setting in the configuration config specified by the path path
 
LcSettingC RootSetting ()
  C#: LcSettingC config.RootSetting() C-API
This function, which is implemented as a macro, returns the root setting for the configuration config
 
void Clear ()
  C#: config.Clear() C-API
Since v1.7 This function clears the configuration config
 
new void Log (MkObjectC fmtobj=null, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0)
  C#: cfg.Log(MkObjectC fmtobj = null, int debug = 0, [CallerMemberName]string callfunc = null, int lvl = 0) C-API
log the config
 
void ReadFile (string filename)
  C#: config.ReadFile(string filename) C-API
This function reads and parses a configuration from the file named filename into the configuration object config
 
void ReadString (string str)
  C#: config.ReadString(string str) C-API
This function reads and parses a configuration from the string str into the configuration object config
 
void WriteFile (string filename)
  C#: config.WriteFile(string filename) C-API
This function writes the configuration config to the file named filename
 
string WriteString ()
  C#: string cfg.WriteString() C-API
read the entire configuration cfg into the string val_out
 
void SetDefaultFormat (LcConfigFormatE format)
  C#: config.SetDefaultFormat(LcConfigFormatE format) C-API
These functions, which are implemented as macros, get and set the default external format for settings in the configuration config
 
void SetFloatPrecision (short digits)
  C#: config.SetFloatPrecision(short digits) C-API
Since v1.6 These functions get and set the number of decimal digits to output after the radix character when writing the configuration to a file or stream …
 
void SetIncludeDir (string include_dir)
  C#: config.SetIncludeDir(string include_dir) C-API
ConfigSetIncludeDir specifies the include directory, include_dir, relative to which the files specified in '@include' directives will be located for the configuration config
 
void SetIncludeFunc (LcConfigIncludeCCB fConfigIncludeData=null)
  C#: cfg.SetIncludeFunc(LcConfigIncludeCCB fConfigIncludeData = null) C-API
set the __parser__(callback-name) for the include-config-file
 
void SetOption (LcConfigOptionsEF option, bool flag)
  C#: config.SetOption(LcConfigOptionsEF option, bool flag) C-API
Since v1.7 These functions get and set the given option of the configuration config
 
void SetOptions (LcConfigOptionsEF options)
  C#: config.SetOptions(LcConfigOptionsEF options) C-API
These functions get and set the options for the configuration config
 
void SetSettingDeleteFunc (LcSettingDeleteCCB fSettingDeleteData=null)
  C#: cfg.SetSettingDeleteFunc(LcSettingDeleteCCB fSettingDeleteData = null) C-API
set the callback-name for the setting-delete
 
void SetTabWidth (short width)
  C#: config.SetTabWidth(short width) C-API
These functions, which are implemented as macros, get and set the tab width for the configuration config
 
 LcConfigC ()
 CONSTRUCTOR.
 
- 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 LcConfigC LcConfigC_ObjNew (IntPtr hdl)
 
new static LcConfigC HandleResolve (Int32 netHdl)
  C#: [static] LcConfigC LcConfigC.HandleResolve(Int32 netHdl) C-API
Handle-Resolve-Slot - return a LcConfigC from netHdl or null if invalid…
 
new static LcConfigC Instances ()
  C#: [static] LcConfigC LcConfigC.Instances() C-API
get head-instance from linked-list of LcConfigS type …
 
new static LcConfigC GetNull ()
  C#: [static] LcConfigC LcConfigC.GetNull() C-API
Null-Slot - return a LcConfigC typed NULL instance …
 
static LcConfigC Create ()
  C#: [constructor,static] LcConfigC LcConfigC.Create() C-API
create a LcConfigC 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)
 

Static Protected Member Functions

static IntPtr CTOR ()
  C#: [constructor,static] LcConfigC LcConfigC.Create() C-API
create a LcConfigC instance …
 
- 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)
 

Additional Inherited Members

- Protected Member Functions inherited from csmkkernel::MkObjectC
 MkObjectC (IntPtr obj)
 
 MkObjectC ()
 
virtual void Dispose (bool disposing)
 
- Protected Attributes inherited from csmkkernel::MkObjectC
IntPtr pmkrt
 
- Properties inherited from csmkkernel::MkObjectC
IntPtr hdl
 
IntPtr hdl_null_allow
 
IntPtr mkrt
 

Detailed Description

LcConfigC - the class known as lccfg or Config define the main-configuration-handle

Definition at line 416 of file LcConfigC.cs.

Member Function Documentation

◆ LcConfigC_ObjNew()

static LcConfigC cslcconfig.LcConfigC.LcConfigC_ObjNew ( IntPtr hdl)
inlinestatic

Definition at line 38 of file LcConfigC.cs.

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

◆ LcConfigIncludeCCB()

delegate void cslcconfig.LcConfigC.LcConfigIncludeCCB ( string incDir,
string path,
MkBufferListC ret )

implements the cslcconfig API object: public version from LcConfigIncludeF as method

◆ LcSettingDeleteCCB()

delegate void cslcconfig.LcConfigC.LcSettingDeleteCCB ( long cfsH)

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