Core Plot (macOS)
Cocoa plotting framework for macOS, iOS, and tvOS
CPTMutableNumericData(TypeConversion) Category Reference

Type conversion methods for CPTMutableNumericData. More...

#import <CPTMutableNumericData+TypeConversion.h>

+ Collaboration diagram for CPTMutableNumericData(TypeConversion):

Public Instance Methods

Type Conversion
(void) - convertToType:sampleBytes:byteOrder:
 Converts the current numeric data to a new data type. More...
 

Properties

Data Format
CPTNumericDataType dataType
 The type of data stored in the data buffer. More...
 
CPTDataTypeFormat dataTypeFormat
 The format of the data stored in the data buffer. More...
 
size_t sampleBytes
 The number of bytes in a single sample of data. More...
 
CFByteOrder byteOrder
 The byte order used to store each sample in the data buffer. More...
 

Detailed Description

Type conversion methods for CPTMutableNumericData.

Method Documentation

◆ convertToType:sampleBytes:byteOrder:

- (void) convertToType: (CPTDataTypeFormat newDataType
sampleBytes: (size_t)  newSampleBytes
byteOrder: (CFByteOrder newByteOrder 

Converts the current numeric data to a new data type.

Parameters
newDataTypeThe new data type format.
newSampleBytesThe number of bytes used to store each sample.
newByteOrderThe new byte order.

Extends class CPTMutableNumericData.

Property Documentation

◆ byteOrder

- (CFByteOrder) byteOrder
readwritenonatomicassign

The byte order used to store each sample in the data buffer.

Extends class CPTMutableNumericData.

◆ dataType

- (CPTNumericDataType) dataType
readwritenonatomicassign

The type of data stored in the data buffer.

Extends class CPTMutableNumericData.

◆ dataTypeFormat

- (CPTDataTypeFormat) dataTypeFormat
readwritenonatomicassign

The format of the data stored in the data buffer.

Extends class CPTMutableNumericData.

◆ sampleBytes

- (size_t) sampleBytes
readwritenonatomicassign

The number of bytes in a single sample of data.

Extends class CPTMutableNumericData.


The documentation for this category was generated from the following files: