DX::IDXFileFloat32 Struct Reference

#include <IDXFileFloat32.h>

Inherits DX::IDXFile.

Collaboration diagram for DX::IDXFileFloat32:

Collaboration graph
[legend]

List of all members.

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


Detailed Description

File for storing floats.

Member Function Documentation

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.

Parameters:
value A float array to copy data from.
length The amount of data to copy.
start The point to start adding data.
Returns:
Error_NullParam if value was null.
Error_OutOfRange if start was greater than GetCount.
Error_Success if the data was added.

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.

Parameters:
values A float array to copy data from.
length A uint which is the number of floats to copy from the array passed in.
Returns:
Error_NullParam if values was null.
Error_Success if the values were appended,

virtual DXError DXMCALL DX::IDXFileFloat32::Add ( float  value  )  [pure virtual]

Add the value to the end of the data.

Parameters:
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.

Parameters:
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.
Returns:
Error_NullParam if out was null.
Error_OutOfRange if start was out of range.
Error_Success if the result was stored in out.

virtual DXError DXMCALL DX::IDXFileFloat32::Get ( FloatArray  out  )  const [pure virtual]

Get all the floats.

Parameters:
out A user allocated array of floats. Must be of length greater than or equal to GetCount.
Returns:
Error_NullParam if out was null.
Error_Success if the result was stored in out.

virtual DXError DXMCALL DX::IDXFileFloat32::Get ( uint  index,
FloatPtr  out 
) const [pure virtual]

Get the float at the specified index.

Parameters:
index The index of the float to retrieve.
out A pointer to a float where the result will be stored.
Returns:
Error_NullParam if out was null.
Error_OutOfRange if index was out of range.
Error_Success if the result was stored in out.

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.

Parameters:
start The index of the first element to remove.
count The number of elements to remove.
Returns:
Error_OutOfRange if start was out of range.
Error_Success if the element was removed.

virtual DXError DXMCALL DX::IDXFileFloat32::Remove ( uint  index  )  [pure virtual]

Remove the element at the specified index.

Parameters:
index The index of the element to remove.
Returns:
Error_OutOfRange if index was out of range.
Error_Success if the element was removed.

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.

Parameters:
values An array of floats.
length The number of floats to copy from the array.
Returns:
Error_NullParam if values was null.
Error_Success if the values were updated.

virtual DXError DXMCALL DX::IDXFileFloat32::Set ( uint  index,
float  value 
) [pure virtual]

Set the float at the specified index.

Parameters:
index The index of the float to set.
value The value to set the float to.
Returns:
Error_OutOfRange if index was out of range.
Error_Success if the float was updated.


Generated on Wed Jun 17 17:24:50 2009 for DXMesh API by  doxygen 1.5.7.1