rivet is hosted by Hepforge, IPPP Durham
array_wrapper_n< T > Struct Template Reference

#include <PrettyPrint.hh>

List of all members.

Public Types

typedef const T * const_iterator
typedef T value_type

Public Member Functions

 array_wrapper_n (const T *const a, size_t n)
const_iterator begin () const
const_iterator end () const

Private Attributes

const T *const _array
size_t _n

Detailed Description

template<typename T>
struct Rivet::pretty_print::array_wrapper_n< T >

Definition at line 372 of file PrettyPrint.hh.


Member Typedef Documentation

typedef const T* const_iterator

Definition at line 374 of file PrettyPrint.hh.

typedef T value_type

Definition at line 375 of file PrettyPrint.hh.


Constructor & Destructor Documentation

array_wrapper_n ( const T *const  a,
size_t  n 
) [inline]

Definition at line 377 of file PrettyPrint.hh.

: _array(a), _n(n) { }

Member Function Documentation

const_iterator begin ( ) const [inline]

Definition at line 378 of file PrettyPrint.hh.

{ return _array; }
const_iterator end ( ) const [inline]

Definition at line 379 of file PrettyPrint.hh.

{ return _array + _n; }

Member Data Documentation

const T* const _array [private]

Definition at line 382 of file PrettyPrint.hh.

size_t _n [private]

Definition at line 383 of file PrettyPrint.hh.


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