opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
osc::MeshIndicesView Class Referencefinal

#include <mesh_indices_view.h>

Classes

class  Iterator
 

Public Types

using value_type = uint32_t
 
using size_type = size_t
 
using difference_type = ptrdiff_t
 
using reference = value_type
 
using const_reference = value_type
 
using pointer = void
 
using const_pointer = void
 
using iterator = Iterator
 
using const_iterator = Iterator
 

Public Member Functions

 MeshIndicesView ()=default
 
 MeshIndicesView (const uint16_t *ptr, size_t size)
 
 MeshIndicesView (const uint32_t *ptr, size_t size)
 
template<std::ranges::contiguous_range Range>
requires SameAsAnyOf<typename Range::value_type, uint16_t, uint32_t>
 MeshIndicesView (const Range &range)
 
bool is_uint16 () const
 
bool is_uint32 () const
 
bool empty () const
 
size_type size () const
 
std::span< const uint16_tto_uint16_span () const
 
std::span< const uint32_tto_uint32_span () const
 
value_type operator[] (size_type pos) const
 
value_type at (size_type pos) const
 
Iterator begin () const
 
Iterator end () const
 

Member Typedef Documentation

◆ const_iterator

◆ const_pointer

◆ const_reference

◆ difference_type

◆ iterator

◆ pointer

◆ reference

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ MeshIndicesView() [1/4]

osc::MeshIndicesView::MeshIndicesView ( )
default

◆ MeshIndicesView() [2/4]

osc::MeshIndicesView::MeshIndicesView ( const uint16_t ptr,
size_t  size 
)
inline

◆ MeshIndicesView() [3/4]

osc::MeshIndicesView::MeshIndicesView ( const uint32_t ptr,
size_t  size 
)
inline

◆ MeshIndicesView() [4/4]

template<std::ranges::contiguous_range Range>
requires SameAsAnyOf<typename Range::value_type, uint16_t, uint32_t>
osc::MeshIndicesView::MeshIndicesView ( const Range range)
inline

Member Function Documentation

◆ at()

value_type osc::MeshIndicesView::at ( size_type  pos) const
inline

◆ begin()

Iterator osc::MeshIndicesView::begin ( ) const
inline

◆ empty()

bool osc::MeshIndicesView::empty ( ) const
inline

◆ end()

Iterator osc::MeshIndicesView::end ( ) const
inline

◆ is_uint16()

bool osc::MeshIndicesView::is_uint16 ( ) const
inline

◆ is_uint32()

bool osc::MeshIndicesView::is_uint32 ( ) const
inline

◆ operator[]()

value_type osc::MeshIndicesView::operator[] ( size_type  pos) const
inline

◆ size()

size_type osc::MeshIndicesView::size ( ) const
inline

◆ to_uint16_span()

std::span< const uint16_t > osc::MeshIndicesView::to_uint16_span ( ) const
inline

◆ to_uint32_span()

std::span< const uint32_t > osc::MeshIndicesView::to_uint32_span ( ) const
inline

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