Next: bpipe_dpktf, Previous: bpipe_dpktf_resize_output, Up: Data Packet Field Manipulations
return the datatype of a data packet field
#include <bpipe/bpipe.h>BPDataType bpipe_dpktf_type(DpktField *dpktf);
DpktField *dpktf
- a pointer to the data packet field
return the datatype of a data packet field
Returns the data type of a data packet field, if it exists. If it
doesn't exist, it returns BPDType_NOTYPE
.
Possible values for a
BPDataType
are as follows:
BPDType_char
,
BPDType_double
,
BPDType_int
,
BPDType_uint
,
BPDType_DVector2
,
BPDType_DVector3
,
BPDType_IVector2
,
BPDType_IVector3
,
BPDType_UIVector2
,
BPDType_UIVector3
,
BPDType_DComplex
,
BPDType_DCVector2
,
BPDType_DCVector3