Helper functions for interaction with the DataType enum.
More...
#include <PointData.h>
Definition at line 45 of file PointData.h.
◆ byteWidth()
| static int DataTypeUtils::byteWidth |
( |
DataType |
dt | ) |
|
|
inlinestatic |
This function returns the size of the data type in bytes.
- Parameters
-
- Returns
- size of the data type in bytes
Definition at line 73 of file PointData.h.
◆ isFloat()
| static bool DataTypeUtils::isFloat |
( |
DataType |
dt | ) |
|
|
inlinestatic |
This function returns true if the data type is a floating point type.
- Parameters
-
Definition at line 63 of file PointData.h.
◆ isSigned()
| static bool DataTypeUtils::isSigned |
( |
DataType |
dt | ) |
|
|
inlinestatic |
This function returns true if the data type is signed.
- Parameters
-
Definition at line 54 of file PointData.h.
◆ toDataType()
| static DataType DataTypeUtils::toDataType |
( |
const char * |
str | ) |
|
|
static |
◆ toString()
| static const char* DataTypeUtils::toString |
( |
DataType |
dt | ) |
|
|
static |
This function returns the human readable representation of the data type.
- Parameters
-
- Returns
- human readable string
The documentation for this struct was generated from the following file: