theKernel 10.0
Loading...
Searching...
No Matches
MkLogFileC_TOR_CC_API

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

+ Collaboration diagram for MkLogFileC_TOR_CC_API:

Functions

static MkLogFileCccmkkernel::MkLogFileC::Open (const MkObjectC *fmtobj, MK_STRN file)
  C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …
 
 ccmkkernel::MkLogFileC::MkLogFileC (const MkObjectC *fmtobj, MK_STRN file)
  C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …
 
static MkLogFileCccmkkernel::MkLogFileC::Open (const MkObjectC *fmtobj, const std::string &file)
  C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …
 
 ccmkkernel::MkLogFileC::MkLogFileC (const MkObjectC *fmtobj, const std::string &file)
  C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …
 

Detailed Description

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

Function Documentation

◆ MkLogFileC() [1/2]

ccmkkernel::MkLogFileC::MkLogFileC ( const MkObjectC * fmtobj,
const std::string & file )
inline

C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …

Definition at line 248 of file MkLogFileC_cc.hh.

248: MkObjectC(CTOR(fmtobj, file)) {};

◆ MkLogFileC() [2/2]

ccmkkernel::MkLogFileC::MkLogFileC ( const MkObjectC * fmtobj,
MK_STRN file )
inline

C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …

Definition at line 242 of file MkLogFileC_cc.hh.

242: MkObjectC(CTOR(fmtobj, file)) {};

◆ Open() [1/2]

MkLogFileC * ccmkkernel::MkLogFileC::Open ( const MkObjectC * fmtobj,
const std::string & file )
inlinestatic

C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …

Definition at line 133 of file MkLogFileC_inline_cc.hh.

133 {
135 MK_LFL lfh_out;
136 MK_OBJN fmtobj_hdl = MkObjectC::getOBJN__null_allow(fmtobj);
137 const MK_STRN file_hdl = file.c_str();
138 enum MkErrorE errVal = MkLogFileOpen(fmtobj_hdl, file_hdl, &lfh_out);
139 MkErrorC_Check(NULL, errVal);
140 return MkLogFileC::MkLogFileC_ObjCreate(MK_RT_CALL lfh_out);
141 }
#define MkErrorC_Check(errObj, errVal)
MkErrorE
collection for the different error-codes …
const MK_STRB * MK_STRN
constant string pointer data-type
struct MkLogFileS * MK_LFL
class-shortcut for struct MkLogFileS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkLogFileOpen(...)
MK_OBJN getOBJN__null_allow() const
(const) return the LibMsgqueObject from current MkObjectC instance
const struct MkObjectS * MK_OBJN
class-shortcut for const struct MkObjectS *, all const shortcut using the XX_YYYC syntax (only for pu...
#define MK_RT_CALL
#define MkRtSetup_NULL

◆ Open() [2/2]

MkLogFileC * ccmkkernel::MkLogFileC::Open ( const MkObjectC * fmtobj,
MK_STRN file )
inlinestatic

C++: [constructor,static] MkLogFileC* MkLogFileC::Open(const MkObjectC* fmtobj, MK_STRN file) C-API
open the log-file in append mode …

Definition at line 123 of file MkLogFileC_inline_cc.hh.

123 {
125 MK_LFL lfh_out;
126 MK_OBJN fmtobj_hdl = MkObjectC::getOBJN__null_allow(fmtobj);
127 enum MkErrorE errVal = MkLogFileOpen(fmtobj_hdl, file, &lfh_out);
128 MkErrorC_Check(NULL, errVal);
129 return MkLogFileC::MkLogFileC_ObjCreate(MK_RT_CALL lfh_out);
130 }