theKernel 10.0
|
MkBufferListC - the class known as bfl or buffer-list is used to create and manage a list of MkBufferC … More...
Public Member Functions | |
MkBufferListC (MkBufferListC copy) | |
C#: → C-API Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance … | |
MkBufferListC (params string[] args) | |
C#: → C-API Constructs a MkBufferListC instance with a argc/argv data from a list of strings … | |
MkBufferListC (params object[] args) | |
C#: → C-API Constructs a MkBufferListC instance with a argc/argv data from a list of strings … | |
MkBufferListC | AppendVC (string[] argv) |
append a argc/argv list of strings to an MkBufferListS object … → C-API: BufferListAppendVC | |
MkBufferListC | AppendVA (params string[] argv) |
append a variable number of strings to an MkBufferListS object … → C-API: BufferListAppendVA | |
MkBufferListC | AppendLA (MkBufferListC args) |
C#: → 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) | |
MkBufferListC | AppendLP (MkBufferListC addBufL, int position=-1) |
C#: → C-API copy a MkBufferListS list into an MkBufferListS object on position … | |
MkBufferListC | AppendLA (params string[] args) |
C#: → 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) | |
void | AppendBIN (byte[] val) |
C#: doc_mk_cs_BufferListAppendBIN → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendBOL (bool val) |
C#: doc_mk_cs_BufferListAppendBOL → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendBUF (MkBufferC val) |
C#: → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendDBL (double val) |
C#: doc_mk_cs_BufferListAppendDBL → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendFLT (float val) |
C#: doc_mk_cs_BufferListAppendFLT → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendG (long val) |
C#: → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendI16 (short val) |
C#: doc_mk_cs_BufferListAppendI16 → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendI32 (int val) |
C#: doc_mk_cs_BufferListAppendI32 → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendI64 (long val) |
C#: doc_mk_cs_BufferListAppendI64 → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendI8 (byte val) |
C#: doc_mk_cs_BufferListAppendI8 → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendSTR (string val) |
C#: doc_mk_cs_BufferListAppendSTR → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendStringR (string val) |
C#: → C-API append a native PRIMITIVE TYPE object to a MkBufferListC … | |
void | AppendUP (MkBufferC addBuf, int position=-1) |
C#: → C-API append a MkBufferC item into an MkBufferListC object on position … | |
MkBufferC | CheckOptionBUF (string opt, MkBufferC defval=null, bool onlyFirst=true) |
C#: → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
bool | CheckOption (string opt, bool onlyFirst=false) |
C#: → C-API search for boolean option in MkBufferListS list and return MK_BOL value … | |
bool | CheckOptionBOL (string opt, bool defval=false, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionBOL → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
double | CheckOptionDBL (string opt, double defval=0, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionDBL → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
float | CheckOptionFLT (string opt, float defval=0F, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionFLT → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
short | CheckOptionI16 (string opt, short defval=0, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionI16 → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
int | CheckOptionI32 (string opt, int defval=0, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionI32 → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
long | CheckOptionI64 (string opt, long defval=0, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionI64 → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
byte | CheckOptionI8 (string opt, byte defval=0, bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionI8 → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
string | CheckOptionSTR (string opt, string defval="", bool onlyFirst=true) |
C#: doc_mk_cs_BufferListCheckOptionSTR → C-API search for opt in MkBufferListS list and fill var with opt_argument or the defval value … | |
new MkBufferListC | Next () |
C#: → C-API get next instance from linked-list of MkBufferListS type | |
new MkBufferListC | Prev () |
C#: → C-API get previous instance from linked-list of MkBufferListS type | |
MkBufferC | IndexGetBUF (int index) |
C#: → C-API get the index element from MkBufferListC ... if not available… create it. … | |
MkBufferC | IndexExtract (int index=0) |
C#: → C-API extract (read & delete) the index object from bfl … | |
MkBufferC | IndexGet (int index) |
C#: → C-API get (read only) the index object from bfl … | |
void | IndexDelete (int index, int numitems=1, bool doDelete=true) |
C#: → C-API delete the index'th list item from the MkBufferListS object … | |
string | IndexGetSTR (int index) |
C#: → C-API get the index element from MkBufferListC ... as string. … | |
void | IndexSet (int index, MkBufferC buf) |
C#: → C-API set the index object from bfl … | |
void | IndexSetBUF (int index, MkBufferC buf) |
C#: → C-API set the index element from MkBufferListC ... if not available… createspace … | |
void | IndexSetSTR (int index, string str) |
C#: → C-API set the index element from MkBufferListC ... to string… if not available… create space … | |
void | LogS (string varname="bfl", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null) |
C#: → C-API write the short-summary of the MkBufferListC to MkLogFileC (default: stderr) … | |
void | LogSS (string varname="bfl", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null) |
C#: → C-API write the very-short-summary of the MkBufferListC to MkLogFileC (default: stderr) … | |
void | LogSSS (string varname="bfl", MkObjectC fmtobj=null, [CallerMemberName]string callfunc=null) |
C#: → C-API write the very-very-short-summary of the MkBufferListC to MkLogFileC (default: stderr) … | |
MkBufferListC | PositionMerge (MkBufferListC source, int position) |
C#: → C-API merge a MkBufferListS list into an MkBufferListS object on position … | |
MkBufferListC | Reset () |
C#: → C-API reset a MkBufferListC object … | |
MkBufferListC | Sort () |
C#: → C-API sort a MkBufferListC … | |
MkBufferC | ToBuffer () |
C#: → C-API Export a bfl into an MkBufferC using an MkBufferStreamC … | |
int | Cmp (MkBufferListC bfl2) |
C#: → C-API compare two buffer-list … | |
void | Copy (MkBufferListC src) |
C#: → C-API copy all internal data from src to tgt … | |
void | Move (MkBufferListC from) |
C#: → C-API move all internal data from from to the end of to … | |
void | Reserve (int num) |
C#: → C-API reserve num items in a MkBufferListC object … | |
int | SearchC (string str, int len=-1, int startindex=0) |
C#: → C-API search MK_STR item from a MkBufferListS object starting at startindex … | |
int | Size () |
C#: → C-API get the number-of-items in the bfl … | |
MkBufferListC | Merge () |
C#: → C-API Merge-Constructor - constructs a MkBufferListC instance as a merge from an existing MkBufferListC instance … | |
MkBufferListC | Dup () |
C#: → C-API Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance … | |
MkBufferListC (int size=0) | |
CONSTRUCTOR. | |
List< object > | ToList () |
C#: → C-API get a target-language list representation of the bfl … | |
![]() | |
delegate void | MkObjectDeleteSCB (string typeName, int typeHdl, int objHdl) |
implements the csmkkernel API object: public version from MkObjectDeleteSCB as method | |
void | ErrorCheck (MkErrorE err) |
bool | Check () |
string | ToNameOfClass () |
C#: → C-API Class-Slot - returns the C#-Class-Name of the obj as string | |
void | HandleDelete () |
C#: → C-API Handle-Delete-Slot - delete a netObj from handle-storage … | |
bool | HandleExists () |
C#: → C-API check if obj has already a handle defined… | |
Int32 | HandleGet () |
C#: → C-API Handle-Get-Slot - returns a export-hdl to the MkObjectC useable for external storage | |
Int32 | HandleGetOfType () |
C#: → C-API Export-Slot - returns typeHdl of the obj . | |
Int32 | HandleGetOr0 () |
C#: → C-API return export-hdl or 0 in not created… | |
MkObjectC | Next () |
C#: → C-API get next instance from linked-list of MkObjectS type | |
MkObjectC | Prev () |
C#: → C-API get previous instance from linked-list of MkObjectS type | |
void | DbgDump (string message="var", [CallerMemberName]string callfunc=null) |
C#: → C-API debug: Dump a instance to stderr with LNG and MQ internal data… | |
void | DbgL (string message, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0) |
C#: → C-API debug: write a instance-marker to the MkLogFileC (default: stderr) using the fmtobj as prefix … | |
void | DbgLogC ([CallerMemberName]string callfunc=null) |
C#: → C-API debug: write a short-obj-summary to MkLogFileC (default: stderr) … | |
void | DbgO ([CallerMemberName]string callfunc=null) |
C#: → C-API debug: write the object-details to MkLogFileC (default: stderr) … | |
void | DbgSTACK (int skip=0, int num=-1, [CallerMemberName]string callfunc=null) |
C#: → C-API debug: write the stack-trace to MkLogFileC (default: stderr) … | |
void | LogC (string message, int debug=0, [CallerMemberName]string callfunc=null) |
C#: → C-API write a logging-message to MkLogFileC (default: stderr) using the internal format … | |
void | LogHEX (string callfunc, byte[] data) |
C#: → C-API log binaray data as HEX into the MkLogFileC (default: stderr) … | |
void | Log (MkObjectC fmtobj=null, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0) |
C#: → C-API Log-Slot - log a summary of an object to the MkLogFileC (default: stderr) target … | |
void | LogLong (MkObjectC fmtobj=null, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0) |
C#: → C-API log the MkObjectS verbose into the MkLogFileC (default: stderr) … | |
void | LogShort (MkObjectC fmtobj=null, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0) |
C#: → C-API log the MkObjectS into the MkLogFileC (default: stderr) … | |
void | LogType (MkObjectC fmtobj=null, int debug=0, [CallerMemberName]string callfunc=null, int lvl=0) |
C#: → C-API log the tyoe of the MkObjectS into the MkLogFileC (default: stderr) … | |
MkErrorC | ErrorCatch (Exception exception=null, [CallerMemberName]string callfunc=null) |
C#: → C-API convert a programming-language-error into an csmkkernel error … | |
MkErrorC | ToError () |
C#: → C-API Error-Slot - return an error-object pre initialized with obj data. | |
bool | IsNull () |
C#: → C-API ckeck if the object is null | |
string | ToName () |
C#: → C-API Info-Slot - returns brief information about the obj as a string | |
string | ToNameOfType () |
C#: → C-API Type-Slot - returns the LibMkKernel-Type-Name of the obj as a string | |
override string | ToString () |
C#: → C-API String-Slot - returns the string representation of the inst … | |
int | RefGet () |
MkRefGetP | |
void | SysKill (int pid, int signal) |
MkSysKill | |
int | SysGetPid () |
MkSysGetPid | |
void | Dispose () |
C#: → C-API Dispose-Slot - untie the connection between the Native-C#-Instance and the csmkkernel-Instance. | |
void | Delete () |
C#: → C-API Delete-Slot - delete an instance. | |
Static Protected Member Functions | |
static IntPtr | CTOR (int size=0) |
C#: → C-API Constructs a MkBufferC instance with size storage… | |
![]() | |
static object | atomObjNew (Type type, ConstructorInfo ctor, IntPtr obj) |
static object | atomObjCreate (Type type, ConstructorInfo ctor, IntPtr obj) |
static IntPtr | atomSelfCreate (ConstructorInfo ctor, IntPtr obj, IntPtr env) |
static object | atomSelfNull (ConstructorInfo ctor) |
static void | atomSelfUnlink (IntPtr self, IntPtr env) |
static ConstructorInfo | getCtor (Type type) |
static string | Name (IntPtr mkrt, IntPtr obj) |
C#: → C-API Info-Slot - returns brief information about the obj as a string | |
Additional Inherited Members | |
![]() | |
MkObjectC (IntPtr obj) | |
MkObjectC () | |
virtual void | Dispose (bool disposing) |
Support IDisposable. | |
![]() | |
IntPtr | pmkrt = IntPtr.Zero |
![]() | |
![]() | |
![]() | |
IntPtr | hdl [get, set] |
IntPtr | hdl_null_allow [get, set] |
IntPtr | mkrt [get, set] |
MkBufferListC - the class known as bfl or buffer-list is used to create and manage a list of MkBufferC …
The MkBufferListC is used to store a list of MkBufferC data into an array. In contrast to the MkBufferStreamC, each individual item can be accessed directly with the MkBufferListC.
The CLASS used to store a list of MkBufferS items into a flat array…
C-Kernel-Details
The CLASS MkBufferListS is used to store a list of MkBufferS into an MkBufferListS::data array. To access an MkBufferS item use:
0 <= index < MkBufferListS::cursize
A new MkBufferListS is always preallocated with the predefined ILS-storage (MkBufferListS::bls), but can switch to a MALLOC-storage if the storage requirements of the user exceed the predefined ILS-storage-size (MkBufferListS_bls_size).
A MkBufferListS never run out of storage.
command | alias |
---|---|
[constructor,static] MkBufferListC MkBufferListC.Create(int size = 0) | csmkkernel.MkBufferListC(int num = 0) |
[destructor] bfl.Delete() | bfl.Dispose() |
Definition at line 721 of file MkBufferListC.cs.
|
inline |
C#:
→ C-API [constructor] MkBufferListC bfl.Dup()
Dup-Constructor - create a new MkBufferListC instance as copy from an existing MkBufferListC instance …
Definition at line 71 of file MkBufferListC.cs.
|
inline |
C#:
→ C-API [constructor,static] MkBufferListC MkBufferListC.Create(int size = 0)
Constructs a MkBufferListC instance with a argc/argv data from a list of strings …
Definition at line 85 of file MkBufferListC.cs.
|
inline |
C#:
→ C-API [constructor,static] MkBufferListC MkBufferListC.Create(int size = 0)
Constructs a MkBufferListC instance with a argc/argv data from a list of strings …
Definition at line 96 of file MkBufferListC.cs.
|
inline |
append a variable number of strings to an MkBufferListS object … → C-API: BufferListAppendVA
Definition at line 117 of file MkBufferListC.cs.
|
inline |
append a argc/argv list of strings to an MkBufferListS object … → C-API: BufferListAppendVC
Definition at line 107 of file MkBufferListC.cs.
|
inlinestatic |
Definition at line 36 of file MkBufferListC.cs.