Interface CDoublePointer
- All Superinterfaces:
ComparableWord, PointerBase, WordBase
A pointer to a C primitive 'double' value.
- Since:
- 19.0
-
Method Summary
Modifier and TypeMethodDescriptionaddressOf(int index) Computes the address of the array element with the specified index, treating the pointer as an array of the C type.addressOf(SignedWord index) Computes the address of the array element with the specified index, treating the pointer as an array of the C type.doubleread()Reads the value at the pointer address.doubleread(int index) Reads the value of the array element with the specified index, treating the pointer as an array of the C type.doubleread(SignedWord index) Reads the value of the array element with the specified index, treating the pointer as an array of the C type.voidwrite(double value) Writes the value at the pointer address.voidwrite(int index, double value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.voidwrite(SignedWord index, double value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.Methods inherited from interface ComparableWord
equal, notEqualMethods inherited from interface PointerBase
isNonNull, isNull
-
Method Details
-
read
double read()Reads the value at the pointer address.- Since:
- 19.0
-
read
double read(int index) Reads the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
read
Reads the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
write
void write(double value) Writes the value at the pointer address.- Since:
- 19.0
-
write
void write(int index, double value) Writes the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
write
Writes the value of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
addressOf
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-
addressOf
Computes the address of the array element with the specified index, treating the pointer as an array of the C type.- Since:
- 19.0
-