ViennaGrid - The Vienna Grid Library  2.1.0
Public Types
cell< something > Struct Template Reference

Metafunction for obtaining the cell type of something. Will fail if there is more than one cell type. More...

#include <mesh.hpp>

Public Types

typedef cells< something >::type all_cell_types
typedef
viennagrid::detail::STATIC_ASSERT
< viennagrid::detail::result_of::size
< all_cell_types >::value==1 >
::type 
static_assert_typedef
typedef
viennagrid::detail::result_of::at
< all_cell_types, 0 >::type 
type

Detailed Description

template<typename something>
struct viennagrid::result_of::cell< something >

Metafunction for obtaining the cell type of something. Will fail if there is more than one cell type.

Template Parameters:
SomethingTThe host type, can be a collection, a mesh, a segmentation or a segment

Member Typedef Documentation

typedef cells<something>::type all_cell_types
typedef viennagrid::detail::STATIC_ASSERT< viennagrid::detail::result_of::size<all_cell_types>::value == 1 >::type static_assert_typedef

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