Public Member Functions

vtk_vertex_id_repository< DomainSegmentType, IDHandler > Class Template Reference

A utility class managing the vertex ID in the domain. This is trivial if the vertices provide an ID, but a little tricky if vertex objects don't provide integral IDs. More...

#include <vtk_common.hpp>

Public Member Functions

 vtk_vertex_id_repository (SegmentType const &seg)
long operator() (VertexType const &v, SegmentType const &seg) const
 Returns the ID of the the vertex with respect to the segment.

Detailed Description

template<typename DomainSegmentType, typename IDHandler = typename viennagrid::result_of::element_id_handler<typename DomainSegmentType::config_type, viennagrid::point_tag>::type>
class viennagrid::io::vtk_vertex_id_repository< DomainSegmentType, IDHandler >

A utility class managing the vertex ID in the domain. This is trivial if the vertices provide an ID, but a little tricky if vertex objects don't provide integral IDs.

Template Parameters:
DomainSegmentType Type of either a domain or a segment
IDHandler The ID handling class used for dispatching.

Constructor & Destructor Documentation

vtk_vertex_id_repository ( SegmentType const &  seg  )  [inline]

Member Function Documentation

long operator() ( VertexType const &  v,
SegmentType const &  seg 
) const [inline]

Returns the ID of the the vertex with respect to the segment.


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