#include <IDXFileFloat32.h>
Inherits DX::IDXFile.
Public Member Functions | |
virtual uint DXMCALL | GetCount () const =0 |
virtual DXError DXMCALL | Get (uint index, FloatPtr out) const =0 |
virtual DXError DXMCALL | Get (FloatArray out) const =0 |
virtual DXError DXMCALL | Get (uint start, uint count, FloatArray out) const =0 |
virtual DXError DXMCALL | Set (uint index, float value)=0 |
virtual DXError DXMCALL | Set (FloatArray values, uint length)=0 |
virtual DXError DXMCALL | Add (float value)=0 |
virtual DXError DXMCALL | Add (FloatArray values, uint length)=0 |
virtual DXError DXMCALL | Add (FloatArray value, uint length, uint start)=0 |
virtual DXError DXMCALL | Remove (uint index)=0 |
virtual DXError DXMCALL | Remove (uint start, uint count)=0 |
virtual DXError DXMCALL DX::IDXFileFloat32::Add | ( | FloatArray | value, | |
uint | length, | |||
uint | start | |||
) | [pure virtual] |
Add the data in the float array specified to any point in the data.
value | A float array to copy data from. | |
length | The amount of data to copy. | |
start | The point to start adding data. |
virtual DXError DXMCALL DX::IDXFileFloat32::Add | ( | FloatArray | values, | |
uint | length | |||
) | [pure virtual] |
Add the data in the float array specified to the end of the data.
values | A float array to copy data from. | |
length | A uint which is the number of floats to copy from the array passed in. |
virtual DXError DXMCALL DX::IDXFileFloat32::Add | ( | float | value | ) | [pure virtual] |
Add the value to the end of the data.
value | The float to add. always. |
virtual DXError DXMCALL DX::IDXFileFloat32::Get | ( | uint | start, | |
uint | count, | |||
FloatArray | out | |||
) | const [pure virtual] |
Get a chunk of floats.
start | The index of the first element to retrieve. | |
count | The number of elements to retrieve. | |
out | A user allocated array of floats of length at least count. |
virtual DXError DXMCALL DX::IDXFileFloat32::Get | ( | FloatArray | out | ) | const [pure virtual] |
Get all the floats.
out | A user allocated array of floats. Must be of length greater than or equal to GetCount. |
virtual DXError DXMCALL DX::IDXFileFloat32::Get | ( | uint | index, | |
FloatPtr | out | |||
) | const [pure virtual] |
Get the float at the specified index.
index | The index of the float to retrieve. | |
out | A pointer to a float where the result will be stored. |
virtual uint DXMCALL DX::IDXFileFloat32::GetCount | ( | ) | const [pure virtual] |
Get the number of floats in this file.
virtual DXError DXMCALL DX::IDXFileFloat32::Remove | ( | uint | start, | |
uint | count | |||
) | [pure virtual] |
Remove a range of elements from the file.
start | The index of the first element to remove. | |
count | The number of elements to remove. |
virtual DXError DXMCALL DX::IDXFileFloat32::Remove | ( | uint | index | ) | [pure virtual] |
Remove the element at the specified index.
index | The index of the element to remove. |
virtual DXError DXMCALL DX::IDXFileFloat32::Set | ( | FloatArray | values, | |
uint | length | |||
) | [pure virtual] |
Replace all the values in the array with the values in the float array passed in.
values | An array of floats. | |
length | The number of floats to copy from the array. |
virtual DXError DXMCALL DX::IDXFileFloat32::Set | ( | uint | index, | |
float | value | |||
) | [pure virtual] |
Set the float at the specified index.
index | The index of the float to set. | |
value | The value to set the float to. |