Next: , Previous: bpipe_dpktf_resize_output, Up: Data Packet Field Manipulations


A.3.15 bpipe_dpktf_type

return the datatype of a data packet field

Synopsis

     #include <bpipe/bpipe.h>
     
     
     
BPDataType bpipe_dpktf_type(DpktField *dpktf);

Parameters

DpktField *dpktf
a pointer to the data packet field

Description

return the datatype of a data packet field

Returns

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