theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Check_PY_API

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

+ Collaboration diagram for MkBufferListC_Check_PY_API:

Functions

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionBUF (MkBufferListC_ARGS)
  Python: MkBufferC bfl.CheckOptionBUF(opt:string, ?defval:MkBufferC=None?, ?onlyFirst:bool=true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOption (MkBufferListC_ARGS)
  Python: bool bfl.CheckOption(opt:string, ?onlyFirst:bool=false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionBOL (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionDBL (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionFLT (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI16 (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI32 (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI64 (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI8 (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionSTR (MkBufferListC_ARGS)
  Python: doc_mk_py_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 

Detailed Description

MkBufferListC - various functions to 'check' a MkBufferListS

This functions are used for parsing command-line-arguments.

Function Documentation

◆ pymkkernel_MkBufferListC_CheckOption()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOption ( MkBufferListC_ARGS )
static

Python: bool bfl.CheckOption(opt:string, ?onlyFirst:bool=false?) C-API
search for boolean option in MkBufferListS list and return MK_BOL value …

Definition at line 478 of file MkBufferListC_py.c.

478 {
481 MK_STRN opt = 0;
483 MK_BOOL onlyFirst = false;
486 OT_retObj_SET_BOL(MkBufferListCheckOption (hdl, opt, onlyFirst));
487 goto end;
488 error:
490 end:
492}
#define OT_CHECK_bool(val)
#define OT_SETUP_VARARGS(min, max, d)
#define OT_retObj_SET_BOL(nat)
#define OT_retObj_SET_Error
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_OPTIONAL(val)
#define OT_CHECK_NOARGS
#define OT_CHECK_STRN(val)
#define OT_SETUP_hdl
#define CheckOption_doc
#define MkBufferListCheckOption(...)
const MK_STRB * MK_STRN
constant string pointer data-type
bool MK_BOOL
real bool data-type

◆ pymkkernel_MkBufferListC_CheckOptionBOL()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionBOL ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 497 of file MkBufferListC_py.c.

497 {
500 MK_STRN opt = 0;
502 MK_BOOL defval = false;
504 MK_BOOL onlyFirst = true;
507 MK_BOOL val_out;
508 MkErrorC_Check(hdl,MkBufferListCheckOptionBOL (hdl, opt, defval, onlyFirst, &val_out));
509 OT_retObj_SET_BOL(val_out);
510 goto end;
511 error:
513 end:
515}
#define MkErrorC_Check(mng, PROC)
#define CheckOptionBOL_doc
#define MkBufferListCheckOptionBOL(...)

◆ pymkkernel_MkBufferListC_CheckOptionBUF()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionBUF ( MkBufferListC_ARGS )
static

Python: MkBufferC bfl.CheckOptionBUF(opt:string, ?defval:MkBufferC=None?, ?onlyFirst:bool=true?) C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 455 of file MkBufferListC_py.c.

455 {
458 MK_STRN opt = 0;
460 MK_BUF defval = NULL;
462 MK_BOOL onlyFirst = true;
465 MK_BUF val_out;
466 MkErrorC_Check(hdl,MkBufferListCheckOptionBUF (hdl, opt, defval, onlyFirst, &val_out));
467 OT_retObj_SET_BUF(val_out);
468 goto end;
469 error:
471 end:
473}
#define OT_retObj_SET_BUF(nat)
#define CheckOptionBUF_doc
#define MkBufferListCheckOptionBUF(...)
#define MK_NULL_YES
flag, allow NULL
#define OT_CHECK_BUF(val, nullB)
The ABSTRACT-CLASS used to store a native-type-data-item defined by PRIMITIVE TYPE …

◆ pymkkernel_MkBufferListC_CheckOptionDBL()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionDBL ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 518 of file MkBufferListC_py.c.

518 {
521 MK_STRN opt = 0;
523 MK_DBL defval = 0;
525 MK_BOOL onlyFirst = true;
528 MK_DBL val_out;
529 MkErrorC_Check(hdl,MkBufferListCheckOptionDBL (hdl, opt, defval, onlyFirst, &val_out));
530 OT_retObj_SET_DBL(val_out);
531 goto end;
532 error:
534 end:
536}
#define OT_CHECK_NF8(val)
#define OT_retObj_SET_DBL(nat)
#define CheckOptionDBL_doc
#define MkBufferListCheckOptionDBL(...)
double MK_DBL
8 byte double data-type

◆ pymkkernel_MkBufferListC_CheckOptionFLT()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionFLT ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 539 of file MkBufferListC_py.c.

539 {
542 MK_STRN opt = 0;
544 MK_FLT defval = 0;
546 MK_BOOL onlyFirst = true;
549 MK_FLT val_out;
550 MkErrorC_Check(hdl,MkBufferListCheckOptionFLT (hdl, opt, defval, onlyFirst, &val_out));
551 OT_retObj_SET_FLT(val_out);
552 goto end;
553 error:
555 end:
557}
#define OT_retObj_SET_FLT(nat)
#define OT_CHECK_NF4(val)
#define CheckOptionFLT_doc
#define MkBufferListCheckOptionFLT(...)
float MK_FLT
4 byte float data-type

◆ pymkkernel_MkBufferListC_CheckOptionI16()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI16 ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 560 of file MkBufferListC_py.c.

560 {
563 MK_STRN opt = 0;
565 MK_I16 defval = 0;
567 MK_BOOL onlyFirst = true;
570 MK_I16 val_out;
571 MkErrorC_Check(hdl,MkBufferListCheckOptionI16 (hdl, opt, defval, onlyFirst, &val_out));
572 OT_retObj_SET_I16(val_out);
573 goto end;
574 error:
576 end:
578}
#define OT_retObj_SET_I16(nat)
#define OT_CHECK_NI2(val)
#define CheckOptionI16_doc
#define MkBufferListCheckOptionI16(...)
signed short int MK_I16
2 byte short data-type

◆ pymkkernel_MkBufferListC_CheckOptionI32()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI32 ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 581 of file MkBufferListC_py.c.

581 {
584 MK_STRN opt = 0;
586 MK_I32 defval = 0;
588 MK_BOOL onlyFirst = true;
591 MK_I32 val_out;
592 MkErrorC_Check(hdl,MkBufferListCheckOptionI32 (hdl, opt, defval, onlyFirst, &val_out));
593 OT_retObj_SET_I32(val_out);
594 goto end;
595 error:
597 end:
599}
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_I32(nat)
#define CheckOptionI32_doc
#define MkBufferListCheckOptionI32(...)
signed int MK_I32
4 byte integer data-type

◆ pymkkernel_MkBufferListC_CheckOptionI64()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI64 ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 602 of file MkBufferListC_py.c.

602 {
605 MK_STRN opt = 0;
607 MK_I64 defval = 0;
609 MK_BOOL onlyFirst = true;
612 MK_I64 val_out;
613 MkErrorC_Check(hdl,MkBufferListCheckOptionI64 (hdl, opt, defval, onlyFirst, &val_out));
614 OT_retObj_SET_I64(val_out);
615 goto end;
616 error:
618 end:
620}
#define OT_CHECK_NI8(val)
#define OT_retObj_SET_I64(nat)
#define CheckOptionI64_doc
#define MkBufferListCheckOptionI64(...)
signed long long MK_I64
8 byte wide integer data-type

◆ pymkkernel_MkBufferListC_CheckOptionI8()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionI8 ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 623 of file MkBufferListC_py.c.

623 {
626 MK_STRN opt = 0;
628 MK_I8 defval = 0;
630 MK_BOOL onlyFirst = true;
633 MK_I8 val_out;
634 MkErrorC_Check(hdl,MkBufferListCheckOptionI8 (hdl, opt, (MK_I8)(defval), onlyFirst, &val_out));
635 OT_retObj_SET_I8(val_out);
636 goto end;
637 error:
639 end:
641}
#define OT_CHECK_NI1(val)
#define OT_retObj_SET_I8(nat)
#define CheckOptionI8_doc
#define MkBufferListCheckOptionI8(...)
signed char MK_I8
1 byte byte data-type

◆ pymkkernel_MkBufferListC_CheckOptionSTR()

static OT_ProcRet pymkkernel_MkBufferListC_CheckOptionSTR ( MkBufferListC_ARGS )
static

Python: doc_mk_py_BufferListCheckOptionSTR C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 644 of file MkBufferListC_py.c.

644 {
647 MK_STRN opt = 0;
649 MK_STRN defval = "";
651 MK_BOOL onlyFirst = true;
654 MK_STRN val_out;
655 MkErrorC_Check(hdl,MkBufferListCheckOptionSTR (hdl, opt, defval, onlyFirst, &val_out));
656 OT_retObj_SET_STR(val_out);
657 goto end;
658 error:
660 end:
662}
#define OT_retObj_SET_STR(nat)
#define CheckOptionSTR_doc
#define MkBufferListCheckOptionSTR(...)