aimstil  5.0.5
til::policy::IntegerIndexing< TCollection > Class Template Reference

Mesh policy for vertices indexed with an integer. More...

#include <cathier/meshUtils.h>

Public Types

typedef std::size_t index_type
 
typedef TCollection::value_type value_type
 

Public Member Functions

 IntegerIndexing (TCollection &data)
 
TCollection::reference operator() (index_type i)
 
TCollection::const_reference operator() (index_type i) const
 

Detailed Description

template<typename TCollection>
class til::policy::IntegerIndexing< TCollection >

Mesh policy for vertices indexed with an integer.

This therefore assumes that the vertex collection is a vector of such. NB: TVertexCollection should offer random access.

Definition at line 1104 of file meshUtils.h.

Member Typedef Documentation

◆ index_type

template<typename TCollection >
typedef std::size_t til::policy::IntegerIndexing< TCollection >::index_type

Definition at line 1107 of file meshUtils.h.

◆ value_type

template<typename TCollection >
typedef TCollection::value_type til::policy::IntegerIndexing< TCollection >::value_type

Definition at line 1108 of file meshUtils.h.

Constructor & Destructor Documentation

◆ IntegerIndexing()

template<typename TCollection >
til::policy::IntegerIndexing< TCollection >::IntegerIndexing ( TCollection &  data)
inline

Definition at line 1113 of file meshUtils.h.

Member Function Documentation

◆ operator()() [1/2]

template<typename TCollection >
TCollection::reference til::policy::IntegerIndexing< TCollection >::operator() ( index_type  i)
inline

Definition at line 1116 of file meshUtils.h.

◆ operator()() [2/2]

template<typename TCollection >
TCollection::const_reference til::policy::IntegerIndexing< TCollection >::operator() ( index_type  i) const
inline

Definition at line 1118 of file meshUtils.h.


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