![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Tool class providing typical operations on the array. More...
#include <BVH_Types.hxx>
Public Types | |
| typedef BVH::ArrayType< T, N >::Type | BVH_ArrayNt |
Static Public Member Functions | |
| static const BVH::VectorType< T, N >::Type & | Value (const BVH_ArrayNt &theArray, const int theIndex) |
| Returns a const reference to the element with the given index. | |
| static BVH::VectorType< T, N >::Type & | ChangeValue (BVH_ArrayNt &theArray, const int theIndex) |
| Returns a reference to the element with the given index. | |
| static void | Append (BVH_ArrayNt &theArray, const typename BVH::VectorType< T, N >::Type &theElement) |
| Adds the new element at the end of the array. | |
| static int | Size (const BVH_ArrayNt &theArray) |
| Returns the number of elements in the given array. | |
| static void | Clear (BVH_ArrayNt &theArray) |
| Removes all elements from the given array. | |
| static void | Reserve (BVH_ArrayNt &theArray, const int theCount) |
| Requests that the array capacity be at least enough to contain given number of elements. | |
Tool class providing typical operations on the array.
| T | Numeric data type |
| N | Component number |
| typedef BVH::ArrayType<T,N>::Type BVH::Array< T, N >::BVH_ArrayNt |
|
inlinestatic |
Adds the new element at the end of the array.
|
inlinestatic |
Returns a reference to the element with the given index.
|
inlinestatic |
Removes all elements from the given array.
|
inlinestatic |
Requests that the array capacity be at least enough to contain given number of elements.
|
inlinestatic |
Returns the number of elements in the given array.
|
inlinestatic |
Returns a const reference to the element with the given index.