|
Open CASCADE Technology
6.5.4
|
Auxiliary class optimizing creation of array buffer for evaluation of bspline (using stack allocation for small arrays)
#include <PLib_LocalArray.hxx>
Public Member Functions | |
| PLib_LocalArray (const size_t theSize) | |
| PLib_LocalArray () | |
| virtual | ~PLib_LocalArray () |
| void | Allocate (const size_t theSize) |
| operator Standard_Real * () const | |
Static Public Attributes | |
| static const size_t | MAX_ARRAY_SIZE = 1024 |
Protected Member Functions | |
| void | Deallocate () |
Protected Attributes | |
| Standard_Real | myBuffer [MAX_ARRAY_SIZE] |
| Standard_Real * | myPtr |
| PLib_LocalArray::PLib_LocalArray | ( | const size_t | theSize | ) | [inline] |
| PLib_LocalArray::PLib_LocalArray | ( | ) | [inline] |
| virtual PLib_LocalArray::~PLib_LocalArray | ( | ) | [inline, virtual] |
| void PLib_LocalArray::Allocate | ( | const size_t | theSize | ) | [inline] |
| void PLib_LocalArray::Deallocate | ( | ) | [inline, protected] |
| PLib_LocalArray::operator Standard_Real * | ( | ) | const [inline] |
const size_t PLib_LocalArray::MAX_ARRAY_SIZE = 1024 [static] |
Standard_Real PLib_LocalArray::myBuffer[MAX_ARRAY_SIZE] [protected] |
Standard_Real* PLib_LocalArray::myPtr [protected] |
1.8.0