Open CASCADE Technology  6.9.0
Public Types | Static Public Member Functions

BVH::Array< T, N > Struct Template Reference

Tool class providing typical operations on the array. It allows for interoperability between STD vector and NCollection vector. 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 Standard_Integer theIndex)
 
static BVH::VectorType< T, N >
::Type & 
ChangeValue (BVH_ArrayNt &theArray, const Standard_Integer theIndex)
 
static void Append (BVH_ArrayNt &theArray, const typename BVH::VectorType< T, N >::Type &theElement)
 
static Standard_Integer Size (const BVH_ArrayNt &theArray)
 
static void Clear (BVH_ArrayNt &theArray)
 

Detailed Description

template<class T, int N = 1>
struct BVH::Array< T, N >

Tool class providing typical operations on the array. It allows for interoperability between STD vector and NCollection vector.

Template Parameters
TNumeric data type
NComponent number

Member Typedef Documentation

template<class T , int N = 1>
typedef BVH::ArrayType<T, N>::Type BVH::Array< T, N >::BVH_ArrayNt

Member Function Documentation

template<class T , int N = 1>
static void BVH::Array< T, N >::Append ( BVH_ArrayNt theArray,
const typename BVH::VectorType< T, N >::Type &  theElement 
)
inlinestatic
template<class T , int N = 1>
static BVH::VectorType<T, N>::Type& BVH::Array< T, N >::ChangeValue ( BVH_ArrayNt theArray,
const Standard_Integer  theIndex 
)
inlinestatic
template<class T , int N = 1>
static void BVH::Array< T, N >::Clear ( BVH_ArrayNt theArray)
inlinestatic
template<class T , int N = 1>
static Standard_Integer BVH::Array< T, N >::Size ( const BVH_ArrayNt theArray)
inlinestatic
template<class T , int N = 1>
static const BVH::VectorType<T, N>::Type& BVH::Array< T, N >::Value ( const BVH_ArrayNt theArray,
const Standard_Integer  theIndex 
)
inlinestatic

The documentation for this struct was generated from the following file: