theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Append_CC_API

MkBufferListC - various functions to 'append' to a MkBufferListSMore...

+ Collaboration diagram for MkBufferListC_Append_CC_API:

Functions

MkBufferListCccmkkernel::MkBufferListC::AppendLA (const std::vector< std::string > &args)
  C++: MkBufferListC* bfl.AppendLA(MkBufferListC* args) C-API
append a variable number of MkBufferC object's to an MkBufferListC object using an other MkBufferListC OR a list of arguments (only in NON C)
 
MkBufferListCccmkkernel::MkBufferListC::AppendLA (MkBufferListC *args)
  C++: MkBufferListC* bfl.AppendLA(MkBufferListC* args) C-API
append a variable number of MkBufferC object's to an MkBufferListC object using an other MkBufferListC OR a list of arguments (only in NON C)
 
MkBufferListCccmkkernel::MkBufferListC::AppendLA (const MkBufferListC &args)
  C++: MkBufferListC* bfl.AppendLA(MkBufferListC* args) C-API
append a variable number of MkBufferC object's to an MkBufferListC object using an other MkBufferListC OR a list of arguments (only in NON C)
 
MkBufferListCccmkkernel::MkBufferListC::AppendLP (MkBufferListC *addBufL, MK_NUM position=-1)
  C++: MkBufferListC* bfl.AppendLP(MkBufferListC* addBufL, MK_NUM position = -1) C-API
copy a MkBufferListS list into an MkBufferListS object on position
 
MkBufferListCccmkkernel::MkBufferListC::AppendLP (const MkBufferListC &addBufL, MK_NUM position=-1)
  C++: MkBufferListC* bfl.AppendLP(MkBufferListC* addBufL, MK_NUM position = -1) C-API
copy a MkBufferListS list into an MkBufferListS object on position
 
MkBufferListCccmkkernel::MkBufferListC::AppendVA (MK_STRN arg0,...)
  C++: MkBufferListC* bfl.AppendVA(MK_STRN arg0, ... ) C-API
append a variable number of strings to an MkBufferListS object …
 
MkBufferListCccmkkernel::MkBufferListC::AppendVA (const std::string &arg0,...)
  C++: MkBufferListC* bfl.AppendVA(MK_STRN arg0, ... ) C-API
append a variable number of strings to an MkBufferListS object …
 
MkBufferListCccmkkernel::MkBufferListC::AppendVAL (MK_STRN arg0, va_list var_list)
  C++: MkBufferListC* bfl.AppendVAL(MK_STRN arg0, va_list var_list) C-API
append a variable number of strings to an MkBufferListS object …
 
MkBufferListCccmkkernel::MkBufferListC::AppendVAL (const std::string &arg0, va_list var_list)
  C++: MkBufferListC* bfl.AppendVAL(MK_STRN arg0, va_list var_list) C-API
append a variable number of strings to an MkBufferListS object …
 
MkBufferListCccmkkernel::MkBufferListC::AppendVC (MK_NUM argc, MK_STRN argv[])
  C++: MkBufferListC* bfl.AppendVC(MK_NUM argc, MK_STRN argv[] ) C-API
append a argc/argv list of strings to an MkBufferListS object …
 
void ccmkkernel::MkBufferListC::AppendBIN (MK_BNP val)
  C++: doc_mk_cc_BufferListAppendBIN C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendBOL (MK_BOL val)
  C++: doc_mk_cc_BufferListAppendBOL C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendBUF (MkBufferC *val)
  C++: bfl.AppendBUF(MkBufferC* val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendBUF (const MkBufferC &val)
  C++: bfl.AppendBUF(MkBufferC* val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendDBL (MK_DBL val)
  C++: doc_mk_cc_BufferListAppendDBL C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendFLT (MK_FLT val)
  C++: doc_mk_cc_BufferListAppendFLT C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendG (MK_LONG val)
  C++: bfl.AppendG(MK_LONG val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendI16 (MK_I16 val)
  C++: doc_mk_cc_BufferListAppendI16 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendI32 (MK_I32 val)
  C++: doc_mk_cc_BufferListAppendI32 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendI64 (MK_I64 val)
  C++: doc_mk_cc_BufferListAppendI64 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendI8 (MK_I8 val)
  C++: doc_mk_cc_BufferListAppendI8 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendSTR (MK_STRN val)
  C++: doc_mk_cc_BufferListAppendSTR C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendSTR (const std::string &val)
  C++: doc_mk_cc_BufferListAppendSTR C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendStringR (const std::string &val)
  C++: bfl.AppendStringR(const std::string& val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC
 
void ccmkkernel::MkBufferListC::AppendUP (MkBufferC *addBuf, MK_NUM position=-1)
  C++: bfl.AppendUP(MkBufferC* addBuf, MK_NUM position = -1) C-API
append a MkBufferC item into an MkBufferListC object on position
 
void ccmkkernel::MkBufferListC::AppendUP (const MkBufferC &addBuf, MK_NUM position=-1)
  C++: bfl.AppendUP(MkBufferC* addBuf, MK_NUM position = -1) C-API
append a MkBufferC item into an MkBufferListC object on position
 
void ccmkkernel::MkBufferListC::AppendV (MK_FST printfmt,...)
  C++: bfl.AppendV(MK_FST printfmt, ... ) C-API
append an printf like format object to the end of an MkBufferListS object …
 
void ccmkkernel::MkBufferListC::AppendVL (MK_FST printfmt, va_list var_list)
  C++: bfl.AppendVL(MK_FST printfmt, va_list var_list) C-API
append an printf like format object to the end of an MkBufferListS object …
 

Detailed Description

MkBufferListC - various functions to 'append' to a MkBufferListS

Function Documentation

◆ AppendBIN()

void ccmkkernel::MkBufferListC::AppendBIN ( MK_BNP val)
inline

C++: doc_mk_cc_BufferListAppendBIN C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 180 of file MkBufferListC_inline_cc.hh.

180 {
181 MK_UNUSED auto bfl = getBFL();
182 const MkBinaryR val_ref = MkBinaryCreate(val.first,val.second);
183 MkBufferListAppendBIN(bfl, val_ref);
184 }
#define MkBufferListAppendBIN(...)
MK_BFL getBFL() const
return the LibMsgqueObject from current MkBufferListC instance
static MkBinaryR MkBinaryCreate(MK_SIZE size, MK_BINN data)
create a binary from data and size ...
#define MK_UNUSED
mark unnused variables and functions

◆ AppendBOL()

void ccmkkernel::MkBufferListC::AppendBOL ( MK_BOL val)
inline

C++: doc_mk_cc_BufferListAppendBOL C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 187 of file MkBufferListC_inline_cc.hh.

187 {
188 MK_UNUSED auto bfl = getBFL();
189 MkBufferListAppendBOL(bfl, (MK_BOL)(val?1:0));
190 }
#define MkBufferListAppendBOL(...)
unsigned char MK_BOL
1 byte boolean data-type

◆ AppendBUF() [1/2]

void ccmkkernel::MkBufferListC::AppendBUF ( const MkBufferC & val)
inline

C++: bfl.AppendBUF(MkBufferC* val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 200 of file MkBufferListC_inline_cc.hh.

200 {
201 MK_UNUSED auto bfl = getBFL();
202 const MK_BUF val_hdl = MkBufferC::getBUF(val);
203 MkBufferListAppendBUF(bfl, val_hdl);
204 }
MK_BUF getBUF() const
return the LibMsgqueObject from current MkBufferC instance
struct MkBufferS * MK_BUF
class-shortcut for struct MkBufferS *, all shortcut using the XX_YYY syntax (only for public API) …
#define MkBufferListAppendBUF(...)

◆ AppendBUF() [2/2]

void ccmkkernel::MkBufferListC::AppendBUF ( MkBufferC * val)
inline

C++: bfl.AppendBUF(MkBufferC* val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 193 of file MkBufferListC_inline_cc.hh.

193 {
194 MK_UNUSED auto bfl = getBFL();
195 MK_BUF val_hdl = MkBufferC::getBUF(val);
196 MkBufferListAppendBUF(bfl, val_hdl);
197 }

◆ AppendDBL()

void ccmkkernel::MkBufferListC::AppendDBL ( MK_DBL val)
inline

C++: doc_mk_cc_BufferListAppendDBL C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 207 of file MkBufferListC_inline_cc.hh.

207 {
208 MK_UNUSED auto bfl = getBFL();
209 MkBufferListAppendDBL(bfl, val);
210 }
#define MkBufferListAppendDBL(...)

◆ AppendFLT()

void ccmkkernel::MkBufferListC::AppendFLT ( MK_FLT val)
inline

C++: doc_mk_cc_BufferListAppendFLT C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 213 of file MkBufferListC_inline_cc.hh.

213 {
214 MK_UNUSED auto bfl = getBFL();
215 MkBufferListAppendFLT(bfl, val);
216 }
#define MkBufferListAppendFLT(...)

◆ AppendG()

void ccmkkernel::MkBufferListC::AppendG ( MK_LONG val)
inline

C++: bfl.AppendG(MK_LONG val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 219 of file MkBufferListC_inline_cc.hh.

219 {
220 MK_UNUSED auto bfl = getBFL();
221 MkBufferListAppendG(bfl, val);
222 }
#define MkBufferListAppendG(...)

◆ AppendI16()

void ccmkkernel::MkBufferListC::AppendI16 ( MK_I16 val)
inline

C++: doc_mk_cc_BufferListAppendI16 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 225 of file MkBufferListC_inline_cc.hh.

225 {
226 MK_UNUSED auto bfl = getBFL();
227 MkBufferListAppendI16(bfl, val);
228 }
#define MkBufferListAppendI16(...)

◆ AppendI32()

void ccmkkernel::MkBufferListC::AppendI32 ( MK_I32 val)
inline

C++: doc_mk_cc_BufferListAppendI32 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 231 of file MkBufferListC_inline_cc.hh.

231 {
232 MK_UNUSED auto bfl = getBFL();
233 MkBufferListAppendI32(bfl, val);
234 }
#define MkBufferListAppendI32(...)

◆ AppendI64()

void ccmkkernel::MkBufferListC::AppendI64 ( MK_I64 val)
inline

C++: doc_mk_cc_BufferListAppendI64 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 237 of file MkBufferListC_inline_cc.hh.

237 {
238 MK_UNUSED auto bfl = getBFL();
239 MkBufferListAppendI64(bfl, val);
240 }
#define MkBufferListAppendI64(...)

◆ AppendI8()

void ccmkkernel::MkBufferListC::AppendI8 ( MK_I8 val)
inline

C++: doc_mk_cc_BufferListAppendI8 C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 243 of file MkBufferListC_inline_cc.hh.

243 {
244 MK_UNUSED auto bfl = getBFL();
245 MkBufferListAppendI8(bfl, (MK_I8)(val));
246 }
#define MkBufferListAppendI8(...)
signed char MK_I8
1 byte byte data-type

◆ AppendLA() [1/3]

MkBufferListC * ccmkkernel::MkBufferListC::AppendLA ( const MkBufferListC & args)
inline

C++: MkBufferListC* bfl.AppendLA(MkBufferListC* args) C-API
append a variable number of MkBufferC object's to an MkBufferListC object using an other MkBufferListC OR a list of arguments (only in NON C)

Definition at line 111 of file MkBufferListC_inline_cc.hh.

111 {
112 MK_UNUSED auto bfl = getBFL();
113 const MK_BAC args_hdl = MkBufferListC::getBFL(args);
114 MK_BFL __retVal__L = MkBufferListAppendLA(bfl, args_hdl);
116 }
#define MkBufferListAppendLA(...)
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
return MkBufferListC from LibMsgqueObject
struct MkBufferListS * MK_BFL
class-shortcut for struct MkBufferListS *, all shortcut using the XX_YYY syntax (only for public API)...
struct MkBufferListS * MK_BAC
a list of 'buffer' as last argument in function …
#define MK_RT_CALL

◆ AppendLA() [2/3]

MkBufferListC * ccmkkernel::MkBufferListC::AppendLA ( const std::vector< std::string > & args)
inline

C++: MkBufferListC* bfl.AppendLA(MkBufferListC* args) C-API
append a variable number of MkBufferC object's to an MkBufferListC object using an other MkBufferListC OR a list of arguments (only in NON C)

Definition at line 81 of file MkBufferListC_inline_cc.hh.

81 {
82 MK_UNUSED auto bfl = getBFL();
83 MkRtSetup_X(bfl);
84 for(const std::string& str : vals) {
85 MkBufferListAppendStringR(bfl,MkStringCreate((MK_NUM)str.size(),str.c_str()));
86 }
87 return this;
88 }
#define MkBufferListAppendStringR(...)
static MkStringR MkStringCreate(MK_NUM len, MK_STRN str)
create a str from ptr and len ...
int32_t MK_NUM
array size data-type ('num' items in array …
#define MkRtSetup_X(x)

◆ AppendLA() [3/3]

MkBufferListC * ccmkkernel::MkBufferListC::AppendLA ( MkBufferListC * args)
inline

C++: MkBufferListC* bfl.AppendLA(MkBufferListC* args) C-API
append a variable number of MkBufferC object's to an MkBufferListC object using an other MkBufferListC OR a list of arguments (only in NON C)

Definition at line 103 of file MkBufferListC_inline_cc.hh.

103 {
104 MK_UNUSED auto bfl = getBFL();
105 MK_BAC args_hdl = MkBufferListC::getBFL(args);
106 MK_BFL __retVal__L = MkBufferListAppendLA(bfl, args_hdl);
108 }

◆ AppendLP() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::AppendLP ( const MkBufferListC & addBufL,
MK_NUM position = -1 )
inline

C++: MkBufferListC* bfl.AppendLP(MkBufferListC* addBufL, MK_NUM position = -1) C-API
copy a MkBufferListS list into an MkBufferListS object on position

Definition at line 127 of file MkBufferListC_inline_cc.hh.

127 {
128 MK_UNUSED auto bfl = getBFL();
129 const MK_BFL addBufL_hdl = MkBufferListC::getBFL(addBufL);
130 MK_BFL __retVal__L = MkBufferListAppendLP(bfl, addBufL_hdl, position);
132 }
#define MkBufferListAppendLP(...)

◆ AppendLP() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::AppendLP ( MkBufferListC * addBufL,
MK_NUM position = -1 )
inline

C++: MkBufferListC* bfl.AppendLP(MkBufferListC* addBufL, MK_NUM position = -1) C-API
copy a MkBufferListS list into an MkBufferListS object on position

Definition at line 119 of file MkBufferListC_inline_cc.hh.

119 {
120 MK_UNUSED auto bfl = getBFL();
121 MK_BFL addBufL_hdl = MkBufferListC::getBFL(addBufL);
122 MK_BFL __retVal__L = MkBufferListAppendLP(bfl, addBufL_hdl, position);
124 }

◆ AppendSTR() [1/2]

void ccmkkernel::MkBufferListC::AppendSTR ( const std::string & val)
inline

C++: doc_mk_cc_BufferListAppendSTR C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 255 of file MkBufferListC_inline_cc.hh.

255 {
256 MK_UNUSED auto bfl = getBFL();
257 const MK_STRN val_hdl = val.c_str();
258 MkBufferListAppendSTR(bfl, val_hdl);
259 }
#define MkBufferListAppendSTR(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ AppendSTR() [2/2]

void ccmkkernel::MkBufferListC::AppendSTR ( MK_STRN val)
inline

C++: doc_mk_cc_BufferListAppendSTR C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 249 of file MkBufferListC_inline_cc.hh.

249 {
250 MK_UNUSED auto bfl = getBFL();
251 MkBufferListAppendSTR(bfl, val);
252 }

◆ AppendStringR()

void ccmkkernel::MkBufferListC::AppendStringR ( const std::string & val)
inline

C++: bfl.AppendStringR(const std::string& val) C-API
append a native PRIMITIVE TYPE object to a MkBufferListC

Definition at line 262 of file MkBufferListC_inline_cc.hh.

262 {
263 MK_UNUSED auto bfl = getBFL();
264 const MkStringR val_ref = MkStringCreate((MK_NUM)val.size(),val.c_str());
265 MkBufferListAppendStringR(bfl, val_ref);
266 }

◆ AppendUP() [1/2]

void ccmkkernel::MkBufferListC::AppendUP ( const MkBufferC & addBuf,
MK_NUM position = -1 )
inline

C++: bfl.AppendUP(MkBufferC* addBuf, MK_NUM position = -1) C-API
append a MkBufferC item into an MkBufferListC object on position

Definition at line 276 of file MkBufferListC_inline_cc.hh.

276 {
277 MK_UNUSED auto bfl = getBFL();
278 const MK_BUF addBuf_hdl = MkBufferC::getBUF(addBuf);
279 MkBufferListAppendUP(bfl, addBuf_hdl, position);
280 }
#define MkBufferListAppendUP(...)

◆ AppendUP() [2/2]

void ccmkkernel::MkBufferListC::AppendUP ( MkBufferC * addBuf,
MK_NUM position = -1 )
inline

C++: bfl.AppendUP(MkBufferC* addBuf, MK_NUM position = -1) C-API
append a MkBufferC item into an MkBufferListC object on position

Definition at line 269 of file MkBufferListC_inline_cc.hh.

269 {
270 MK_UNUSED auto bfl = getBFL();
271 MK_BUF addBuf_hdl = MkBufferC::getBUF(addBuf);
272 MkBufferListAppendUP(bfl, addBuf_hdl, position);
273 }

◆ AppendV()

void ccmkkernel::MkBufferListC::AppendV ( MK_FST printfmt,
... )
inline

C++: bfl.AppendV(MK_FST printfmt, ... ) C-API
append an printf like format object to the end of an MkBufferListS object …

Definition at line 283 of file MkBufferListC_inline_cc.hh.

283 {
284 MK_UNUSED auto bfl = getBFL();
285 va_list ap;
286 va_start (ap, printfmt);
287 MkBufferListAppendVL(bfl, printfmt, ap);
288 va_end (ap);
289 }
#define MkBufferListAppendVL(...)

◆ AppendVA() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::AppendVA ( const std::string & arg0,
... )
inline

C++: MkBufferListC* bfl.AppendVA(MK_STRN arg0, ... ) C-API
append a variable number of strings to an MkBufferListS object …

Definition at line 145 of file MkBufferListC_inline_cc.hh.

145 {
146 MK_UNUSED auto bfl = getBFL();
147 const MK_STRN arg0_hdl = arg0.c_str();
148 va_list ap;
149 va_start (ap, arg0);
150 MK_BFL __retVal__L = MkBufferListAppendVAL(bfl, arg0_hdl, ap);
151 va_end (ap);
153 }
#define MkBufferListAppendVAL(...)

◆ AppendVA() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::AppendVA ( MK_STRN arg0,
... )
inline

C++: MkBufferListC* bfl.AppendVA(MK_STRN arg0, ... ) C-API
append a variable number of strings to an MkBufferListS object …

Definition at line 135 of file MkBufferListC_inline_cc.hh.

135 {
136 MK_UNUSED auto bfl = getBFL();
137 va_list ap;
138 va_start (ap, arg0);
139 MK_BFL __retVal__L = MkBufferListAppendVAL(bfl, arg0, ap);
140 va_end (ap);
142 }

◆ AppendVAL() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::AppendVAL ( const std::string & arg0,
va_list var_list )
inline

C++: MkBufferListC* bfl.AppendVAL(MK_STRN arg0, va_list var_list) C-API
append a variable number of strings to an MkBufferListS object …

Definition at line 163 of file MkBufferListC_inline_cc.hh.

163 {
164 MK_UNUSED auto bfl = getBFL();
165 const MK_STRN arg0_hdl = arg0.c_str();
166 MK_BFL __retVal__L = MkBufferListAppendVAL(bfl, arg0_hdl, var_list);
168 }

◆ AppendVAL() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::AppendVAL ( MK_STRN arg0,
va_list var_list )
inline

C++: MkBufferListC* bfl.AppendVAL(MK_STRN arg0, va_list var_list) C-API
append a variable number of strings to an MkBufferListS object …

Definition at line 156 of file MkBufferListC_inline_cc.hh.

156 {
157 MK_UNUSED auto bfl = getBFL();
158 MK_BFL __retVal__L = MkBufferListAppendVAL(bfl, arg0, var_list);
160 }

◆ AppendVC()

MkBufferListC * ccmkkernel::MkBufferListC::AppendVC ( MK_NUM argc,
MK_STRN argv[] )
inline

C++: MkBufferListC* bfl.AppendVC(MK_NUM argc, MK_STRN argv[] ) C-API
append a argc/argv list of strings to an MkBufferListS object …

Definition at line 171 of file MkBufferListC_inline_cc.hh.

171 {
172 MK_UNUSED auto bfl = getBFL();
173 MK_BFL __retVal__L = MkBufferListAppendVC(bfl, argc,argv);
175 }
#define MkBufferListAppendVC(...)

◆ AppendVL()

void ccmkkernel::MkBufferListC::AppendVL ( MK_FST printfmt,
va_list var_list )
inline

C++: bfl.AppendVL(MK_FST printfmt, va_list var_list) C-API
append an printf like format object to the end of an MkBufferListS object …

Definition at line 292 of file MkBufferListC_inline_cc.hh.

292 {
293 MK_UNUSED auto bfl = getBFL();
294 MkBufferListAppendVL(bfl, printfmt, var_list);
295 }