Go to the source code of this file.
◆ CPTDataOrder
Enumeration of memory arrangements for multi-dimensional data arrays.
- See also
- See Wikipedia for more information.
Enumerator |
---|
CPTDataOrderRowsFirst | Numeric data is arranged in row-major order.
|
CPTDataOrderColumnsFirst | Numeric data is arranged in column-major order.
|
◆ CPTDataTypeFormat
Enumeration of data formats for numeric data.
Enumerator |
---|
CPTUndefinedDataType | Undefined.
|
CPTIntegerDataType | Integer.
|
CPTUnsignedIntegerDataType | Unsigned integer.
|
CPTFloatingPointDataType | Floating point.
|
CPTComplexFloatingPointDataType | Complex floating point.
|
CPTDecimalDataType | NSDecimal.
|
◆ CPTDataType()
Initializes a CPTNumericDataType struct with the given parameter values.
- Parameters
-
format | The data type format. |
sampleBytes | The number of bytes in each sample. |
byteOrder | The byte order used to store the data samples. |
- Returns
- The initialized CPTNumericDataType struct.
◆ CPTDataTypeEqualToDataType()
Compares two data types for equality.
- Parameters
-
dataType1 | The first data type format. |
dataType2 | The second data type format. |
- Returns
- Returns YES if the two data types have the same format, size, and byte order.
◆ CPTDataTypeIsSupported()
Validates a data type format.
- Parameters
-
format | The data type format. |
- Returns
- Returns YES if the format is supported by CPTNumericData, NO otherwise.
◆ CPTDataTypeStringFromDataType()
Generates a string representation of the given data type.
- Parameters
-
- Returns
- The string representation of the given data type.
◆ CPTDataTypeWithDataTypeString()