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

Go to the source code of this file.

Functions

int compareFilterProfile (XsFilterProfile const *a, XsFilterProfile const *b)
 The function to use for comparing two items. More...
 
void copyFilterProfile (XsFilterProfile *to, XsFilterProfile const *from)
 The function to use for copying the data of from to to. More...
 
void swapFilterProfile (XsFilterProfile *a, XsFilterProfile *b)
 The function to use for swapping the data of two array items. More...
 
void XsFilterProfileArray_construct (XsFilterProfileArray *thisPtr, XsSize count, XsFilterProfile const *src)
 
void zeroFilterProfile (XsFilterProfile *a)
 zero the pointer value More...
 

Variables

const XsArrayDescriptor g_xsFilterProfileArrayDescriptor
 Descriptor for XsFilterProfileArray. More...
 

Function Documentation

◆ compareFilterProfile()

int compareFilterProfile ( XsFilterProfile const *  a,
XsFilterProfile 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 XsFilterProfile

Definition at line 95 of file xsfilterprofilearray.c.

◆ copyFilterProfile()

void copyFilterProfile ( XsFilterProfile to,
XsFilterProfile 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 XsFilterProfile

Definition at line 87 of file xsfilterprofilearray.c.

◆ swapFilterProfile()

void swapFilterProfile ( XsFilterProfile a,
XsFilterProfile 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 XsFilterProfile

Definition at line 77 of file xsfilterprofilearray.c.

◆ XsFilterProfileArray_construct()

void XsFilterProfileArray_construct ( XsFilterProfileArray thisPtr,
XsSize  count,
XsFilterProfile const *  src 
)

Note
Specialization for XsFilterProfileArray

Definition at line 132 of file xsfilterprofilearray.c.

◆ zeroFilterProfile()

void zeroFilterProfile ( XsFilterProfile a)

zero the pointer value

Definition at line 111 of file xsfilterprofilearray.c.

Variable Documentation

◆ g_xsFilterProfileArrayDescriptor

const XsArrayDescriptor g_xsFilterProfileArrayDescriptor
Initial value:
=
{
sizeof(XsFilterProfile),
XSEXPCASTITEMSWAP swapFilterProfile,
XSEXPCASTITEMMAKE zeroFilterProfile,
XSEXPCASTITEMCOPY copyFilterProfile,
XSEXPCASTITEMMAKE zeroFilterProfile,
XSEXPCASTITEMCOPY copyFilterProfile,
XSEXPCASTITEMCOMP compareFilterProfile,
XSEXPCASTRAWCOPY XsArray_rawCopy
}

Descriptor for XsFilterProfileArray.

Definition at line 117 of file xsfilterprofilearray.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
XsFilterProfile
struct XsFilterProfile XsFilterProfile
Definition: xsfilterprofile.h:300
compareFilterProfile
int compareFilterProfile(XsFilterProfile const *a, XsFilterProfile const *b)
The function to use for comparing two items.
Definition: xsfilterprofilearray.c:95
swapFilterProfile
void swapFilterProfile(XsFilterProfile *a, XsFilterProfile *b)
The function to use for swapping the data of two array items.
Definition: xsfilterprofilearray.c:77
zeroFilterProfile
void zeroFilterProfile(XsFilterProfile *a)
zero the pointer value
Definition: xsfilterprofilearray.c:111
copyFilterProfile
void copyFilterProfile(XsFilterProfile *to, XsFilterProfile const *from)
The function to use for copying the data of from to to.
Definition: xsfilterprofilearray.c:87


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