VectorSlice< S, Precision, PtrType, ConstPtrType, RefType, ConstRefType > Struct Template Reference
[TooN internals]

Hold a pointer to yield a statically sized slice of a Vector. Not resizable. More...

#include <allocator.hh>

List of all members.

Public Types

typedef PtrType PointerType
typedef ConstPtrType ConstPointerType
typedef RefType ReferenceType
typedef ConstRefType ConstReferenceType

Public Member Functions

int size () const
 VectorSlice (PtrType p)
 VectorSlice (PtrType p, int)
template<class Op >
 VectorSlice (const Operator< Op > &op)

Public Attributes

const PtrType my_data

Protected Member Functions

PtrType data ()
ConstPtrType data () const
void try_destructive_resize (int)
template<class Op >
void try_destructive_resize (const Operator< Op > &)

Detailed Description

template<int S, class Precision, class PtrType = Precision*, class ConstPtrType = const Precision*, class RefType = Precision&, class ConstRefType = const Precision&>
struct TooN::Internal::VectorSlice< S, Precision, PtrType, ConstPtrType, RefType, ConstRefType >

Hold a pointer to yield a statically sized slice of a Vector. Not resizable.

For internal use only.

Generated on Wed Nov 3 16:15:54 2010 for TooN by  doxygen 1.6.3