#include <mi32/midblary.h>
Public Member Functions | |
| void | Attach (MIDOUBLEARRAY &rhs) |
| void | Free () |
| int | GetNumReserved () const |
| double * | GetPointer () |
| MIDOUBLEARRAY (const MIDOUBLEARRAY &rhs) | |
| MIDOUBLEARRAY () | |
| MIDOUBLEARRAY & | operator= (const MIDOUBLEARRAY &rhs) |
| ERRVALUE | Reserve (INT32 NewSize, bool keepold=false) |
| void | ReserveExc (INT32 NewSize, bool keepold=false) |
| void | Swap (MIDOUBLEARRAY &rhs) |
| ~MIDOUBLEARRAY () | |
Not aligning on a double boundary can cause a speed penalty on some platforms. This class creates a buffer that is forced to be double aligned. This is exported from MISYSTEM.DLL and must not be inherited from. Currently DOUBLE_ARRAY<> and POLYLINE classes use this class as their foundation. Thise classes should meet most of your needs.
Definition at line 46 of file midblary.h.
|
|
Default Constructor.
|
|
|
Copy Constructor.
|
|
|
Destructor.
|
|
|
Attach a MIDOUBLEARRAY to this one and clear out 'rhs'.
|
|
|
Free MIDOUBLEARRAY buffer.
|
|
|
Get reserved size of buffer in doubles.
|
|
|
Get pointer to internal buffer. DO NOT REALLOCATE OR FREE THIS POINTER, YOU WILL CRASH
|
|
|
Assignment.
|
|
||||||||||||
|
Reserve number of doubles in the array.
|
|
||||||||||||
|
Reserve number of doubles in the array, throws exception if error.
|
|
|
Swap buffers between 'this' and 'rhs'.
|
1.3.8-20040913