Developer Documentation
OpenMesh::vector_traits< T > Struct Template Reference

#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Utils/vector_traits.hh>

Public Types

typedef T::vector_type vector_type
 Type of the vector class. More...
 
typedef T::value_type value_type
 Type of the scalar value. More...
 

Static Public Member Functions

static size_t size ()
 size/dimension of the vector More...
 

Static Public Attributes

static const size_t size_ = T::size_
 size/dimension of the vector More...
 

Detailed Description

template<typename T>
struct OpenMesh::vector_traits< T >

Helper class providing information about a vector type.

If want to use a different vector type than the one provided OpenMesh you need to supply a specialization of this class for the new vector type.

Definition at line 88 of file vector_traits.hh.

Member Typedef Documentation

◆ value_type

template<typename T >
typedef T::value_type OpenMesh::vector_traits< T >::value_type

Type of the scalar value.

Definition at line 94 of file vector_traits.hh.

◆ vector_type

template<typename T >
typedef T::vector_type OpenMesh::vector_traits< T >::vector_type

Type of the vector class.

Definition at line 91 of file vector_traits.hh.

Member Function Documentation

◆ size()

template<typename T >
static size_t OpenMesh::vector_traits< T >::size ( )
inlinestatic

size/dimension of the vector

Definition at line 100 of file vector_traits.hh.

Member Data Documentation

◆ size_

template<typename T >
const size_t OpenMesh::vector_traits< T >::size_ = T::size_
static

size/dimension of the vector

Definition at line 97 of file vector_traits.hh.


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