PdCom
5.3
Process data communication client
|
#include "SizeTypeInfo.h"
#include <array>
#include <cstddef>
#include <cstdint>
#include <pdcom5_export.h>
#include <string>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Functions | |
void PDCOM5_PUBLIC | PdCom::details::copyData (void *dst, TypeInfo::DataType dst_type, const void *src, TypeInfo::DataType src_type, size_t nelem, size_t offset=0) |
Data Conversion Matrix. More... | |
void PDCOM5_PUBLIC PdCom::details::copyData | ( | void * | dst, |
TypeInfo::DataType | dst_type, | ||
const void * | src, | ||
TypeInfo::DataType | src_type, | ||
size_t | nelem, | ||
size_t | offset = 0 |
||
) |
Data Conversion Matrix.
This method converts an array of one numeric type to another.
Essentially does
dst | Destination array, must not be null. |
dst_type | Type of the destination array. |
src | Source array, must not be null. |
src_type | Type of the source array. |
nelem | Number of elements to copy. |
offset | Optional offset of the first element to copy. |