OpenMesh::vector_traits< T > Struct Template Reference

#include <vector_traits.hh>

List of all members.

Public Types

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

Static Public Member Functions

static size_t size ()
 size/dimension of the vector

Static Public Attributes

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

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 86 of file vector_traits.hh.


Member Typedef Documentation

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

Type of the scalar value.

Definition at line 92 of file vector_traits.hh.

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

Type of the vector class.

Definition at line 89 of file vector_traits.hh.


Member Function Documentation

template<typename T>
static size_t OpenMesh::vector_traits< T >::size (  )  [inline, static]

size/dimension of the vector

Definition at line 98 of file vector_traits.hh.


Member Data Documentation

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

size/dimension of the vector

Definition at line 95 of file vector_traits.hh.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


openmesh
Author(s): Benjamin Pitzer
autogenerated on Fri Jan 11 12:11:17 2013