aimstil  5.0.5
til::detail::AddNeighborIndexAttribute< TMesh, TParam > Class Template Reference

This class enhance a mesh class with a neighbor index attribute. More...

#include <til/til_declarations.h>

Inheritance diagram for til::detail::AddNeighborIndexAttribute< TMesh, TParam >:
Collaboration diagram for til::detail::AddNeighborIndexAttribute< TMesh, TParam >:

Public Types

typedef TParam::NeighborIndex NeighborIndex
 
typedef TParam::NeighborIndexCollection NeighborIndexCollection
 

Public Member Functions

 AddNeighborIndexAttribute ()
 
 AddNeighborIndexAttribute (const TMesh &mesh)
 
 AddNeighborIndexAttribute (const TMesh &mesh, shared_ptr< NeighborIndexCollection > &ni)
 
const NeighborIndexCollectiongetNeighborIndices () const
 
NeighborIndexCollectiongetNeighborIndices ()
 

Detailed Description

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
class til::detail::AddNeighborIndexAttribute< TMesh, TParam >

This class enhance a mesh class with a neighbor index attribute.

The first template argument is the mesh class we want to upgrade. The second template argument is the parameters for this upgrade, giving for exemple the type of the neigbor indices.

Definition at line 45 of file til_declarations.h.

Member Typedef Documentation

◆ NeighborIndex

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
typedef TParam::NeighborIndex til::detail::AddNeighborIndexAttribute< TMesh, TParam >::NeighborIndex

Definition at line 329 of file Mesh.h.

◆ NeighborIndexCollection

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
typedef TParam::NeighborIndexCollection til::detail::AddNeighborIndexAttribute< TMesh, TParam >::NeighborIndexCollection

Definition at line 330 of file Mesh.h.

Constructor & Destructor Documentation

◆ AddNeighborIndexAttribute() [1/3]

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
til::detail::AddNeighborIndexAttribute< TMesh, TParam >::AddNeighborIndexAttribute ( )
inline

Definition at line 334 of file Mesh.h.

◆ AddNeighborIndexAttribute() [2/3]

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
til::detail::AddNeighborIndexAttribute< TMesh, TParam >::AddNeighborIndexAttribute ( const TMesh &  mesh)
inlineexplicit

Definition at line 335 of file Mesh.h.

◆ AddNeighborIndexAttribute() [3/3]

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
til::detail::AddNeighborIndexAttribute< TMesh, TParam >::AddNeighborIndexAttribute ( const TMesh &  mesh,
shared_ptr< NeighborIndexCollection > &  ni 
)
inline

Definition at line 336 of file Mesh.h.

Member Function Documentation

◆ getNeighborIndices() [1/2]

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
const NeighborIndexCollection& til::detail::AddNeighborIndexAttribute< TMesh, TParam >::getNeighborIndices ( ) const
inline

Definition at line 341 of file Mesh.h.

Referenced by til::getNeighborIndices().

◆ getNeighborIndices() [2/2]

template<class TMesh, typename TParam = DefaultAttributes<TMesh>>
NeighborIndexCollection& til::detail::AddNeighborIndexAttribute< TMesh, TParam >::getNeighborIndices ( )
inline

Definition at line 342 of file Mesh.h.


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