ViennaGrid - The Vienna Grid Library  2.1.0
Public Types
handle< MeshSegmentHandleType, element_type_or_tag > Struct Template Reference

Metafunction for the type retrieval of an element handle. More...

#include <mesh.hpp>

Public Types

typedef detail::STATIC_ASSERT
< is_element_present
< MeshSegmentHandleType,
element_type_or_tag >::value >
::type 
ERROR_ELEMENT_IS_NOT_PRESENT_IN_MESH
typedef handle< typename
element_collection
< MeshSegmentHandleType >
::type, element_type_or_tag >
::type 
type

Detailed Description

template<typename MeshSegmentHandleType, typename element_type_or_tag>
struct viennagrid::result_of::handle< MeshSegmentHandleType, element_type_or_tag >

Metafunction for the type retrieval of an element handle.

Template Parameters:
SomethingTThe host type, can be a collection, an element, a mesh, a segmentation or a segment
ElementTypeOrTagTThe requested element tag, element type is also supported, in this case the requested element type is returned

Member Typedef Documentation

typedef detail::STATIC_ASSERT< is_element_present<MeshSegmentHandleType, element_type_or_tag>::value >::type ERROR_ELEMENT_IS_NOT_PRESENT_IN_MESH
typedef handle< typename element_collection< MeshSegmentHandleType >::type, element_type_or_tag >::type type

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