theKernel 10.0
Loading...
Searching...
No Matches
MkBufferListC_TOR_CC_API

MkBufferListC - various functions to create and destroy a MkBufferListSMore...

+ Collaboration diagram for MkBufferListC_TOR_CC_API:

Functions

MkBufferListCccmkkernel::MkBufferListC::Merge ()
  C++: [constructor] MkBufferListC* bfl.Merge() C-API
Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance …
 
MkBufferListCccmkkernel::MkBufferListC::Dup () const
  C++: [constructor] MkBufferListC* bfl.Dup() C-API
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …
 
static MkBufferListCccmkkernel::MkBufferListC::Create (MK_NUM size=0)
  C++: [constructor,static] MkBufferListC* MkBufferListC::Create(MK_NUM size = 0) C-API
Constructs a MkBufferC instance with size storage…
 
 ccmkkernel::MkBufferListC::MkBufferListC (MK_NUM size=0)
  C++: [constructor,static] MkBufferListC* MkBufferListC::Create(MK_NUM size = 0) C-API
Constructs a MkBufferC instance with size storage…
 
static MkBufferListCccmkkernel::MkBufferListC::CreateLA (MkBufferListC *args)
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateLA(MkBufferListC* args) C-API
Constructs a MkBufferListC instance with an other MkBufferListC OR a list of arguments (only in NON C)
 
static MkBufferListCccmkkernel::MkBufferListC::CreateLA (const MkBufferListC &args)
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateLA(MkBufferListC* args) C-API
Constructs a MkBufferListC instance with an other MkBufferListC OR a list of arguments (only in NON C)
 
static MkBufferListCccmkkernel::MkBufferListC::CreateVA (MK_STRN arg0,...)
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVA(MK_STRN arg0, ... ) C-API
Constructs a MkBufferListC instance with a varargs argument that ends with MK_NULL
 
static MkBufferListCccmkkernel::MkBufferListC::CreateVA (const std::string &arg0,...)
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVA(MK_STRN arg0, ... ) C-API
Constructs a MkBufferListC instance with a varargs argument that ends with MK_NULL
 
static MkBufferListCccmkkernel::MkBufferListC::CreateVAL (MK_STRN arg0, va_list var_list)
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVAL(MK_STRN arg0, va_list var_list) C-API
Constructs a MkBufferListC instance with a va_list argument …
 
static MkBufferListCccmkkernel::MkBufferListC::CreateVAL (const std::string &arg0, va_list var_list)
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVAL(MK_STRN arg0, va_list var_list) C-API
Constructs a MkBufferListC instance with a va_list argument …
 
static MkBufferListCccmkkernel::MkBufferListC::CreateVC (MK_NUM argc, MK_STRN argv[])
  C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVC(MK_NUM argc, MK_STRN argv[] ) C-API
Constructs a MkBufferListC instance with a argc/argv data from a list of strings …
 
static MkBufferListCccmkkernel::MkBufferListC::CreateTLS (MK_STRN tlsName, MK_BOOL resetB=true)
  C++: [static] MkBufferListC* MkBufferListC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferListCreate but require no cleanup …
 
static MkBufferListCccmkkernel::MkBufferListC::CreateTLS (const std::string &tlsName, MK_BOOL resetB=true)
  C++: [static] MkBufferListC* MkBufferListC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferListCreate but require no cleanup …
 

Detailed Description

MkBufferListC - various functions to create and destroy a MkBufferListS

Function Documentation

◆ Create()

MkBufferListC * ccmkkernel::MkBufferListC::Create ( MK_NUM size = 0)
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::Create(MK_NUM size = 0) C-API
Constructs a MkBufferC instance with size storage…

Definition at line 890 of file MkBufferListC_inline_cc.hh.

890 {
892 MK_BFL __retVal__L = MkBufferListCreate(size);
893 if (__retVal__L == NULL) {
894 throw MkInitError("MkBufferListC::Create");
895 }
896 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
897 }
struct MkBufferListS * MK_BFL
class-shortcut for struct MkBufferListS *, all shortcut using the XX_YYY syntax (only for public API)...
#define MkBufferListCreate(...)
#define MK_RT_CALL
#define MkRtSetup_NULL

◆ CreateLA() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateLA ( const MkBufferListC & args)
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateLA(MkBufferListC* args) C-API
Constructs a MkBufferListC instance with an other MkBufferListC OR a list of arguments (only in NON C)

Definition at line 911 of file MkBufferListC_inline_cc.hh.

911 {
913 const MK_BAC args_hdl = MkBufferListC::getBFL(args);
914 MK_BFL __retVal__L = MkBufferListCreateLA(args_hdl);
915 if (__retVal__L == NULL) {
916 throw MkInitError("MkBufferListC::CreateLA");
917 }
918 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
919 }
MK_BFL getBFL() const
return the LibMsgqueObject from current MkBufferListC instance
struct MkBufferListS * MK_BAC
a list of 'buffer' as last argument in function …
#define MkBufferListCreateLA(...)

◆ CreateLA() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateLA ( MkBufferListC * args)
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateLA(MkBufferListC* args) C-API
Constructs a MkBufferListC instance with an other MkBufferListC OR a list of arguments (only in NON C)

Definition at line 900 of file MkBufferListC_inline_cc.hh.

900 {
902 MK_BAC args_hdl = MkBufferListC::getBFL(args);
903 MK_BFL __retVal__L = MkBufferListCreateLA(args_hdl);
904 if (__retVal__L == NULL) {
905 throw MkInitError("MkBufferListC::CreateLA");
906 }
907 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
908 }

◆ CreateTLS() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateTLS ( const std::string & tlsName,
MK_BOOL resetB = true )
inlinestatic

C++: [static] MkBufferListC* MkBufferListC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferListCreate but require no cleanup …

Definition at line 989 of file MkBufferListC_inline_cc.hh.

989 {
991 const MK_STRN tlsName_hdl = tlsName.c_str();
992 MK_BFL __retVal__L = MkBufferListCreateTLS(tlsName_hdl, resetB);
994 }
static MkBufferListC * MkBufferListC_ObjNew(MK_RT_ARGS MK_BFL hdl)
return MkBufferListC from LibMsgqueObject
#define MkBufferListCreateTLS(...)
const MK_STRB * MK_STRN
constant string pointer data-type

◆ CreateTLS() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateTLS ( MK_STRN tlsName,
MK_BOOL resetB = true )
inlinestatic

C++: [static] MkBufferListC* MkBufferListC::CreateTLS(MK_STRN tlsName, MK_BOOL resetB = true) C-API
same as BufferListCreate but require no cleanup …

Definition at line 982 of file MkBufferListC_inline_cc.hh.

982 {
984 MK_BFL __retVal__L = MkBufferListCreateTLS(tlsName, resetB);
986 }

◆ CreateVA() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateVA ( const std::string & arg0,
... )
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVA(MK_STRN arg0, ... ) C-API
Constructs a MkBufferListC instance with a varargs argument that ends with MK_NULL

Definition at line 935 of file MkBufferListC_inline_cc.hh.

935 {
937 const MK_STRN arg0_hdl = arg0.c_str();
938 va_list ap;
939 va_start (ap, arg0);
940 MK_BFL __retVal__L = MkBufferListCreateVAL(arg0_hdl, ap);
941 va_end (ap);
942 if (__retVal__L == NULL) {
943 throw MkInitError("MkBufferListC::CreateVA");
944 }
945 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
946 }
#define MkBufferListCreateVAL(...)

◆ CreateVA() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateVA ( MK_STRN arg0,
... )
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVA(MK_STRN arg0, ... ) C-API
Constructs a MkBufferListC instance with a varargs argument that ends with MK_NULL

Definition at line 922 of file MkBufferListC_inline_cc.hh.

922 {
924 va_list ap;
925 va_start (ap, arg0);
926 MK_BFL __retVal__L = MkBufferListCreateVAL(arg0, ap);
927 va_end (ap);
928 if (__retVal__L == NULL) {
929 throw MkInitError("MkBufferListC::CreateVA");
930 }
931 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
932 }

◆ CreateVAL() [1/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateVAL ( const std::string & arg0,
va_list var_list )
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVAL(MK_STRN arg0, va_list var_list) C-API
Constructs a MkBufferListC instance with a va_list argument …

Definition at line 959 of file MkBufferListC_inline_cc.hh.

959 {
961 const MK_STRN arg0_hdl = arg0.c_str();
962 MK_BFL __retVal__L = MkBufferListCreateVAL(arg0_hdl, var_list);
963 if (__retVal__L == NULL) {
964 throw MkInitError("MkBufferListC::CreateVAL");
965 }
966 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
967 }

◆ CreateVAL() [2/2]

MkBufferListC * ccmkkernel::MkBufferListC::CreateVAL ( MK_STRN arg0,
va_list var_list )
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVAL(MK_STRN arg0, va_list var_list) C-API
Constructs a MkBufferListC instance with a va_list argument …

Definition at line 949 of file MkBufferListC_inline_cc.hh.

949 {
951 MK_BFL __retVal__L = MkBufferListCreateVAL(arg0, var_list);
952 if (__retVal__L == NULL) {
953 throw MkInitError("MkBufferListC::CreateVAL");
954 }
955 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
956 }

◆ CreateVC()

MkBufferListC * ccmkkernel::MkBufferListC::CreateVC ( MK_NUM argc,
MK_STRN argv[] )
inlinestatic

C++: [constructor,static] MkBufferListC* MkBufferListC::CreateVC(MK_NUM argc, MK_STRN argv[] ) C-API
Constructs a MkBufferListC instance with a argc/argv data from a list of strings …

Definition at line 970 of file MkBufferListC_inline_cc.hh.

970 {
972 MK_BFL __retVal__L = MkBufferListCreateVC(argc,argv);
973 if (__retVal__L == NULL) {
974 throw MkInitError("MkBufferListC::CreateVC");
975 }
976 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
977 }
#define MkBufferListCreateVC(...)

◆ Dup()

MkBufferListC * ccmkkernel::MkBufferListC::Dup ( ) const
inline

C++: [constructor] MkBufferListC* bfl.Dup() C-API
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …

Definition at line 868 of file MkBufferListC_inline_cc.hh.

868 {
869 MK_UNUSED auto bfl = getBFLN();
870 MK_BFL __retVal__L = MkBufferListDup(bfl);
871 if (__retVal__L == NULL) {
872 throw MkInitError("MkBufferListC::Dup");
873 }
874 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
875 }
MK_BFLN getBFLN() const
(const) return the LibMsgqueObject from current MkBufferListC instance
#define MkBufferListDup(...)
#define MK_UNUSED
mark unnused variables and functions

◆ Merge()

MkBufferListC * ccmkkernel::MkBufferListC::Merge ( )
inline

C++: [constructor] MkBufferListC* bfl.Merge() C-API
Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance …

Definition at line 856 of file MkBufferListC_inline_cc.hh.

856 {
857 MK_UNUSED auto bfl = getBFL();
858 MK_BFL __retVal__L = MkBufferListMerge(bfl);
859 if (__retVal__L == NULL) {
860 throw MkInitError("MkBufferListC::Merge");
861 }
862 return MkBufferListC::MkBufferListC_ObjCreate(MK_RT_CALL __retVal__L);
863 }
#define MkBufferListMerge(...)

◆ MkBufferListC()

ccmkkernel::MkBufferListC::MkBufferListC ( MK_NUM size = 0)
inline

C++: [constructor,static] MkBufferListC* MkBufferListC::Create(MK_NUM size = 0) C-API
Constructs a MkBufferC instance with size storage…

Definition at line 585 of file MkBufferListC_cc.hh.

585: MkObjectC(CTOR(size)) {};