theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Check_TCL_API

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

+ Collaboration diagram for MkBufferListC_Check_TCL_API:

Functions

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionBUF (MkBufferListC_ARGS)
  Tcl: MkBufferC [$bfl CheckOptionBUF opt:string ?defval:MkBufferC="MK_NULL"? ?onlyFirst:bool=true?] C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOption (MkBufferListC_ARGS)
  Tcl: 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 tclmkkernel_MkBufferListC_CheckOptionBOL (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionDBL (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionFLT (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI16 (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI32 (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI64 (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI8 (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionSTR (MkBufferListC_ARGS)
  Tcl: doc_mk_tcl_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

◆ tclmkkernel_MkBufferListC_CheckOption()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOption ( MkBufferListC_ARGS )
static

Tcl: 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 500 of file MkBufferListC_tcl.c.

500 {
503 MK_STRN opt = 0;
505 MK_BOOL onlyFirst = false;
508 OT_retObj_SET_BOL(MkBufferListCheckOption (hdl, opt, onlyFirst));
509 goto end;
510 error:
512 end:
514}
#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

◆ tclmkkernel_MkBufferListC_CheckOptionBOL()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionBOL ( MkBufferListC_ARGS )
static

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

Definition at line 519 of file MkBufferListC_tcl.c.

519 {
522 MK_STRN opt = 0;
524 MK_BOOL defval = false;
526 MK_BOOL onlyFirst = true;
529 MK_BOOL val_out;
530 MkErrorC_Check(hdl,MkBufferListCheckOptionBOL (hdl, opt, defval, onlyFirst, &val_out));
531 OT_retObj_SET_BOL(val_out);
532 goto end;
533 error:
535 end:
537}
#define MkErrorC_Check(mng, PROC)
#define CheckOptionBOL_doc
#define MkBufferListCheckOptionBOL(...)

◆ tclmkkernel_MkBufferListC_CheckOptionBUF()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionBUF ( MkBufferListC_ARGS )
static

Tcl: MkBufferC [$bfl CheckOptionBUF opt:string ?defval:MkBufferC="MK_NULL"? ?onlyFirst:bool=true?] C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …

Definition at line 477 of file MkBufferListC_tcl.c.

477 {
480 MK_STRN opt = 0;
482 MK_BUF defval = NULL;
484 MK_BOOL onlyFirst = true;
487 MK_BUF val_out;
488 MkErrorC_Check(hdl,MkBufferListCheckOptionBUF (hdl, opt, defval, onlyFirst, &val_out));
489 OT_retObj_SET_BUF(val_out);
490 goto end;
491 error:
493 end:
495}
#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 …

◆ tclmkkernel_MkBufferListC_CheckOptionDBL()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionDBL ( MkBufferListC_ARGS )
static

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

Definition at line 540 of file MkBufferListC_tcl.c.

540 {
543 MK_STRN opt = 0;
545 MK_DBL defval = 0;
547 MK_BOOL onlyFirst = true;
550 MK_DBL val_out;
551 MkErrorC_Check(hdl,MkBufferListCheckOptionDBL (hdl, opt, defval, onlyFirst, &val_out));
552 OT_retObj_SET_DBL(val_out);
553 goto end;
554 error:
556 end:
558}
#define OT_CHECK_NF8(val)
#define OT_retObj_SET_DBL(nat)
#define CheckOptionDBL_doc
#define MkBufferListCheckOptionDBL(...)
double MK_DBL
8 byte double data-type

◆ tclmkkernel_MkBufferListC_CheckOptionFLT()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionFLT ( MkBufferListC_ARGS )
static

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

Definition at line 561 of file MkBufferListC_tcl.c.

561 {
564 MK_STRN opt = 0;
566 MK_FLT defval = 0;
568 MK_BOOL onlyFirst = true;
571 MK_FLT val_out;
572 MkErrorC_Check(hdl,MkBufferListCheckOptionFLT (hdl, opt, defval, onlyFirst, &val_out));
573 OT_retObj_SET_FLT(val_out);
574 goto end;
575 error:
577 end:
579}
#define OT_retObj_SET_FLT(nat)
#define OT_CHECK_NF4(val)
#define CheckOptionFLT_doc
#define MkBufferListCheckOptionFLT(...)
float MK_FLT
4 byte float data-type

◆ tclmkkernel_MkBufferListC_CheckOptionI16()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI16 ( MkBufferListC_ARGS )
static

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

Definition at line 582 of file MkBufferListC_tcl.c.

582 {
585 MK_STRN opt = 0;
587 MK_I16 defval = 0;
589 MK_BOOL onlyFirst = true;
592 MK_I16 val_out;
593 MkErrorC_Check(hdl,MkBufferListCheckOptionI16 (hdl, opt, defval, onlyFirst, &val_out));
594 OT_retObj_SET_I16(val_out);
595 goto end;
596 error:
598 end:
600}
#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

◆ tclmkkernel_MkBufferListC_CheckOptionI32()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI32 ( MkBufferListC_ARGS )
static

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

Definition at line 603 of file MkBufferListC_tcl.c.

603 {
606 MK_STRN opt = 0;
608 MK_I32 defval = 0;
610 MK_BOOL onlyFirst = true;
613 MK_I32 val_out;
614 MkErrorC_Check(hdl,MkBufferListCheckOptionI32 (hdl, opt, defval, onlyFirst, &val_out));
615 OT_retObj_SET_I32(val_out);
616 goto end;
617 error:
619 end:
621}
#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

◆ tclmkkernel_MkBufferListC_CheckOptionI64()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI64 ( MkBufferListC_ARGS )
static

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

Definition at line 624 of file MkBufferListC_tcl.c.

624 {
627 MK_STRN opt = 0;
629 MK_I64 defval = 0;
631 MK_BOOL onlyFirst = true;
634 MK_I64 val_out;
635 MkErrorC_Check(hdl,MkBufferListCheckOptionI64 (hdl, opt, defval, onlyFirst, &val_out));
636 OT_retObj_SET_I64(val_out);
637 goto end;
638 error:
640 end:
642}
#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

◆ tclmkkernel_MkBufferListC_CheckOptionI8()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionI8 ( MkBufferListC_ARGS )
static

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

Definition at line 645 of file MkBufferListC_tcl.c.

645 {
648 MK_STRN opt = 0;
650 MK_I8 defval = 0;
652 MK_BOOL onlyFirst = true;
655 MK_I8 val_out;
656 MkErrorC_Check(hdl,MkBufferListCheckOptionI8 (hdl, opt, (MK_I8)(defval), onlyFirst, &val_out));
657 OT_retObj_SET_I8(val_out);
658 goto end;
659 error:
661 end:
663}
#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

◆ tclmkkernel_MkBufferListC_CheckOptionSTR()

static OT_ProcRet tclmkkernel_MkBufferListC_CheckOptionSTR ( MkBufferListC_ARGS )
static

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

Definition at line 666 of file MkBufferListC_tcl.c.

666 {
669 MK_STRN opt = 0;
671 MK_STRN defval = "";
673 MK_BOOL onlyFirst = true;
676 MK_STRN val_out;
677 MkErrorC_Check(hdl,MkBufferListCheckOptionSTR (hdl, opt, defval, onlyFirst, &val_out));
678 OT_retObj_SET_STR(val_out);
679 goto end;
680 error:
682 end:
684}
#define OT_retObj_SET_STR(nat)
#define CheckOptionSTR_doc
#define MkBufferListCheckOptionSTR(...)