Honeycomb  0.1
Component-Model Framework
Public Types | Static Public Member Functions | List of all members
honey::vec::priv::Segment< Vec, Dim > Struct Template Reference

Vector segment view. More...

#include <Block.h>

Public Types

typedef matrix::priv::Traits< typename std::remove_const< Vec >::typeTraits
 
typedef matrix::Block< Vec, Traits::cols==1?Dim:1, Traits::cols==1?1:Dim > type
 

Static Public Member Functions

static type create (Vec &v, sdt i, sdt dim=-1)
 

Detailed Description

template<class Vec, sdt Dim>
struct honey::vec::priv::Segment< Vec, Dim >

Vector segment view.

Member Typedef Documentation

template<class Vec, sdt Dim>
typedef matrix::priv::Traits<typename std::remove_const<Vec>::type> honey::vec::priv::Segment< Vec, Dim >::Traits
template<class Vec, sdt Dim>
typedef matrix::Block<Vec, Traits::cols == 1 ? Dim : 1, Traits::cols == 1 ? 1 : Dim> honey::vec::priv::Segment< Vec, Dim >::type

Member Function Documentation

template<class Vec, sdt Dim>
static type honey::vec::priv::Segment< Vec, Dim >::create ( Vec v,
sdt  i,
sdt  dim = -1 
)
inlinestatic

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