theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_TOR_CS_API

MkLogFileC - various functions to 'create and delete' a MkLogFileSMore...

+ Collaboration diagram for MkLogFileC_TOR_CS_API:

Functions

static IntPtr csmkkernel.MkLogFileC.CTOR (MkObjectC fmtobj, string file)
  C#: [constructor,static] MkLogFileC MkLogFileC.Open(MkObjectC fmtobj, string file) C-API
open the log-file in append mode …
 
 csmkkernel.MkLogFileC.MkLogFileC (MkObjectC fmtobj, string file)
 CONSTRUCTOR.
 
static MkLogFileC csmkkernel.MkLogFileC.Open (MkObjectC fmtobj, string file)
  C#: [constructor,static] MkLogFileC MkLogFileC.Open(MkObjectC fmtobj, string file) C-API
open the log-file in append mode …
 

Detailed Description

MkLogFileC - various functions to 'create and delete' a MkLogFileS

Function Documentation

◆ CTOR()

static IntPtr csmkkernel.MkLogFileC.CTOR ( MkObjectC fmtobj,
string file )
inlinestaticprotected

C#: [constructor,static] MkLogFileC MkLogFileC.Open(MkObjectC fmtobj, string file) C-API
open the log-file in append mode …

Definition at line 153 of file MkLogFileC.cs.

153 {
154 IntPtr lfh_out;
155 IntPtr fmtobj_hdl = MkObjectC.getOBJ_null_allow(fmtobj);
156 IntPtr file_cstr = Marshal.StringToHGlobalAnsi(file);
157 MkErrorE errVal = Mk.MkLogFileOpen(IntPtr.Zero, fmtobj_hdl, file_cstr, out lfh_out);
158 Marshal.FreeHGlobal(file_cstr);
159 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
160 return (IntPtr)lfh_out;
161 }
csmkkernel.MkKernel Mk
MkObjectC(IntPtr obj)
Definition MkObjectC.cs:121
MkErrorE
collection for the different error-codes …

◆ MkLogFileC()

csmkkernel.MkLogFileC.MkLogFileC ( MkObjectC fmtobj,
string file )
inline

CONSTRUCTOR.

C#: [constructor,static] MkLogFileC MkLogFileC.Open(MkObjectC fmtobj, string file) C-API
open the log-file in append mode …

Definition at line 164 of file MkLogFileC.cs.

164: this(CTOR(fmtobj, file)) {}
static IntPtr CTOR(MkObjectC fmtobj, string file)
C#: [constructor,static] MkLogFileC MkLogFileC.Open(MkObjectC fmtobj, string file) → C-API open ...

◆ Open()

static MkLogFileC csmkkernel.MkLogFileC.Open ( MkObjectC fmtobj,
string file )
inlinestatic

C#: [constructor,static] MkLogFileC MkLogFileC.Open(MkObjectC fmtobj, string file) C-API
open the log-file in append mode …

Definition at line 167 of file MkLogFileC.cs.

167 {
168 IntPtr lfh_out;
169 IntPtr fmtobj_hdl = MkObjectC.getOBJ_null_allow(fmtobj);
170 IntPtr file_cstr = Marshal.StringToHGlobalAnsi(file);
171 MkErrorE errVal = Mk.MkLogFileOpen(IntPtr.Zero, fmtobj_hdl, file_cstr, out lfh_out);
172 Marshal.FreeHGlobal(file_cstr);
173 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
174 return MkLogFileC.MkLogFileC_ObjCreate(lfh_out);
175 }