theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_Check_ATL_API

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

+ Collaboration diagram for MkBufferListC_Check_ATL_API:

Functions

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionBUF (MkBufferListC_ARGS)
  Atl: MkBufferC [MkBufferListC::CheckOptionBUF $bfl opt:string ?defval:MkBufferC=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 atlmkkernel_MkBufferListC_CheckOption (MkBufferListC_ARGS)
  Atl: bool [MkBufferListC::CheckOption $bfl opt:string ?onlyFirst:bool=false?] C-API
search for boolean option in MkBufferListS list and return MK_BOL value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionBOL (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionBOL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionDBL (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionDBL C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionFLT (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionFLT C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI16 (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionI16 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI32 (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionI32 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI64 (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionI64 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI8 (MkBufferListC_ARGS)
  Atl: doc_mk_atl_BufferListCheckOptionI8 C-API
search for opt in MkBufferListS list and fill var with opt_argument or the defval value …
 
static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionSTR (MkBufferListC_ARGS)
  Atl: doc_mk_atl_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

◆ atlmkkernel_MkBufferListC_CheckOption()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOption ( MkBufferListC_ARGS )
static

Atl: bool [MkBufferListC::CheckOption $bfl opt:string ?onlyFirst:bool=false?] C-API
search for boolean option in MkBufferListS list and return MK_BOL value …

Definition at line 479 of file MkBufferListC_atl.c.

479 {
482 MK_STRN opt = 0;
484 MK_BOOL onlyFirst = false;
487 OT_retObj_SET_BOL(MkBufferListCheckOption (hdl, opt, onlyFirst));
488 goto end;
489 error:
491 end:
493}
#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

◆ atlmkkernel_MkBufferListC_CheckOptionBOL()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionBOL ( MkBufferListC_ARGS )
static

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

Definition at line 498 of file MkBufferListC_atl.c.

498 {
501 MK_STRN opt = 0;
503 MK_BOOL defval = false;
505 MK_BOOL onlyFirst = true;
508 MK_BOOL val_out;
509 MkErrorC_Check(hdl,MkBufferListCheckOptionBOL (hdl, opt, defval, onlyFirst, &val_out));
510 OT_retObj_SET_BOL(val_out);
511 goto end;
512 error:
514 end:
516}
#define MkErrorC_Check(mng, PROC)
#define CheckOptionBOL_doc
#define MkBufferListCheckOptionBOL(...)

◆ atlmkkernel_MkBufferListC_CheckOptionBUF()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionBUF ( MkBufferListC_ARGS )
static

Atl: MkBufferC [MkBufferListC::CheckOptionBUF $bfl opt:string ?defval:MkBufferC=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 456 of file MkBufferListC_atl.c.

456 {
459 MK_STRN opt = 0;
461 MK_BUF defval = NULL;
463 MK_BOOL onlyFirst = true;
466 MK_BUF val_out;
467 MkErrorC_Check(hdl,MkBufferListCheckOptionBUF (hdl, opt, defval, onlyFirst, &val_out));
468 OT_retObj_SET_BUF(val_out);
469 goto end;
470 error:
472 end:
474}
#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 …

◆ atlmkkernel_MkBufferListC_CheckOptionDBL()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionDBL ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionDBL 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_atl.c.

519 {
522 MK_STRN opt = 0;
524 MK_DBL defval = 0;
526 MK_BOOL onlyFirst = true;
529 MK_DBL val_out;
530 MkErrorC_Check(hdl,MkBufferListCheckOptionDBL (hdl, opt, defval, onlyFirst, &val_out));
531 OT_retObj_SET_DBL(val_out);
532 goto end;
533 error:
535 end:
537}
#define OT_CHECK_NF8(val)
#define OT_retObj_SET_DBL(nat)
#define CheckOptionDBL_doc
#define MkBufferListCheckOptionDBL(...)
double MK_DBL
8 byte double data-type

◆ atlmkkernel_MkBufferListC_CheckOptionFLT()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionFLT ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionFLT 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_atl.c.

540 {
543 MK_STRN opt = 0;
545 MK_FLT defval = 0;
547 MK_BOOL onlyFirst = true;
550 MK_FLT val_out;
551 MkErrorC_Check(hdl,MkBufferListCheckOptionFLT (hdl, opt, defval, onlyFirst, &val_out));
552 OT_retObj_SET_FLT(val_out);
553 goto end;
554 error:
556 end:
558}
#define OT_retObj_SET_FLT(nat)
#define OT_CHECK_NF4(val)
#define CheckOptionFLT_doc
#define MkBufferListCheckOptionFLT(...)
float MK_FLT
4 byte float data-type

◆ atlmkkernel_MkBufferListC_CheckOptionI16()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI16 ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionI16 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_atl.c.

561 {
564 MK_STRN opt = 0;
566 MK_I16 defval = 0;
568 MK_BOOL onlyFirst = true;
571 MK_I16 val_out;
572 MkErrorC_Check(hdl,MkBufferListCheckOptionI16 (hdl, opt, defval, onlyFirst, &val_out));
573 OT_retObj_SET_I16(val_out);
574 goto end;
575 error:
577 end:
579}
#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

◆ atlmkkernel_MkBufferListC_CheckOptionI32()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI32 ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionI32 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_atl.c.

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

◆ atlmkkernel_MkBufferListC_CheckOptionI64()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI64 ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionI64 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_atl.c.

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

◆ atlmkkernel_MkBufferListC_CheckOptionI8()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionI8 ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionI8 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_atl.c.

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

◆ atlmkkernel_MkBufferListC_CheckOptionSTR()

static OT_ProcRet atlmkkernel_MkBufferListC_CheckOptionSTR ( MkBufferListC_ARGS )
static

Atl: doc_mk_atl_BufferListCheckOptionSTR 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_atl.c.

645 {
648 MK_STRN opt = 0;
650 MK_STRN defval = "";
652 MK_BOOL onlyFirst = true;
655 MK_STRN val_out;
656 MkErrorC_Check(hdl,MkBufferListCheckOptionSTR (hdl, opt, defval, onlyFirst, &val_out));
657 OT_retObj_SET_STR(val_out);
658 goto end;
659 error:
661 end:
663}
#define OT_retObj_SET_STR(nat)
#define CheckOptionSTR_doc
#define MkBufferListCheckOptionSTR(...)