Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
NCollection_LocalArray< theItem, MAX_ARRAY_SIZE >::InlineStorageTrivial Struct Reference

Inline storage for trivial types: typed array with direct element access. More...

#include <NCollection_LocalArray.hxx>

Public Member Functions

theItem * ptr () noexcept
 
const theItem * ptr () const noexcept
 

Data Fields

theItem myData [MAX_ARRAY_SIZE]
 

Detailed Description

template<class theItem, int MAX_ARRAY_SIZE = 1024>
struct NCollection_LocalArray< theItem, MAX_ARRAY_SIZE >::InlineStorageTrivial

Inline storage for trivial types: typed array with direct element access.

Member Function Documentation

◆ ptr() [1/2]

template<class theItem , int MAX_ARRAY_SIZE = 1024>
const theItem * NCollection_LocalArray< theItem, MAX_ARRAY_SIZE >::InlineStorageTrivial::ptr ( ) const
inlinenoexcept

◆ ptr() [2/2]

template<class theItem , int MAX_ARRAY_SIZE = 1024>
theItem * NCollection_LocalArray< theItem, MAX_ARRAY_SIZE >::InlineStorageTrivial::ptr ( )
inlinenoexcept

Field Documentation

◆ myData

template<class theItem , int MAX_ARRAY_SIZE = 1024>
theItem NCollection_LocalArray< theItem, MAX_ARRAY_SIZE >::InlineStorageTrivial::myData[MAX_ARRAY_SIZE]

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