Functions | Variables
xsstringoutputtypearray.c File Reference
#include "xsstringoutputtypearray.h"
#include <memory.h>
#include <string.h>
Include dependency graph for xsstringoutputtypearray.c:

Go to the source code of this file.

Functions

int compareStringOutputType (XsStringOutputType const *a, XsStringOutputType const *b)
 The function to use for comparing two items. More...
 
void copyStringOutputType (XsStringOutputType *to, XsStringOutputType const *from)
 The function to use for copying the data of from to to. More...
 
void swapStringOutputType (XsStringOutputType *a, XsStringOutputType *b)
 The function to use for swapping the data of two array items. More...
 
void XsStringOutputTypeArray_construct (XsStringOutputTypeArray *thisPtr, XsSize count, XsStringOutputType const *src)
 

Variables

const XsArrayDescriptor g_xsStringOutputTypeArrayDescriptor
 Descriptor for XsStringOutputTypeArray. More...
 

Function Documentation

◆ compareStringOutputType()

int compareStringOutputType ( XsStringOutputType const *  a,
XsStringOutputType const *  b 
)

The function to use for comparing two items.

Parameters
aLeft hand side of comparison.
bRight hand side of comparison.
Returns
The function will return 0 when the items are equal. When greater/less comparison is possible, the function should return < 0 if a < b and > 0 if a > b.
Note
Specialization for XsStringOutputType

Definition at line 95 of file xsstringoutputtypearray.c.

◆ copyStringOutputType()

void copyStringOutputType ( XsStringOutputType to,
XsStringOutputType const *  from 
)

The function to use for copying the data of from to to.

Parameters
toPointer to item to copy to.
fromPointer to item to copy from.
Note
Specialization for XsStringOutputType

Definition at line 87 of file xsstringoutputtypearray.c.

◆ swapStringOutputType()

void swapStringOutputType ( XsStringOutputType a,
XsStringOutputType b 
)

The function to use for swapping the data of two array items.

Parameters
aPointer to first item to swap.
bPointer to second item to swap.
Note
Specialization for XsStringOutputType

Definition at line 77 of file xsstringoutputtypearray.c.

◆ XsStringOutputTypeArray_construct()

void XsStringOutputTypeArray_construct ( XsStringOutputTypeArray thisPtr,
XsSize  count,
XsStringOutputType const *  src 
)

Note
Specialization for XsStringOutputTypeArray

Definition at line 120 of file xsstringoutputtypearray.c.

Variable Documentation

◆ g_xsStringOutputTypeArrayDescriptor

const XsArrayDescriptor g_xsStringOutputTypeArrayDescriptor
Initial value:
=
{
XSEXPCASTITEMSWAP swapStringOutputType,
0,
(XsArrayItemCopyFunc)copyStringOutputType,
0,
(XsArrayItemCopyFunc)copyStringOutputType,
(XsArrayItemCompareFunc)compareStringOutputType,
XSEXPCASTRAWCOPY XsArray_rawCopy
}

Descriptor for XsStringOutputTypeArray.

Definition at line 105 of file xsstringoutputtypearray.c.

XsArray::XsArray_rawCopy
void XsArray_rawCopy(void *to, void const *from, XsSize count, XsSize iSize)
Copies items optimized in a direct way.
Definition: xsarray.c:707
copyStringOutputType
void copyStringOutputType(XsStringOutputType *to, XsStringOutputType const *from)
The function to use for copying the data of from to to.
Definition: xsstringoutputtypearray.c:87
compareStringOutputType
int compareStringOutputType(XsStringOutputType const *a, XsStringOutputType const *b)
The function to use for comparing two items.
Definition: xsstringoutputtypearray.c:95
XsStringOutputType
XsStringOutputType
String output types.
Definition: xsstringoutputtype.h:72
swapStringOutputType
void swapStringOutputType(XsStringOutputType *a, XsStringOutputType *b)
The function to use for swapping the data of two array items.
Definition: xsstringoutputtypearray.c:77


xsens_mti_driver
Author(s):
autogenerated on Sun Sep 3 2023 02:43:21