Public Member Functions | Public Attributes | Private Member Functions

Array< T >::ArrayRep Class Reference

#include "Array.h"

Collaboration diagram for Array< T >::ArrayRep:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ArrayRep (T *d, octave_idx_type l)
template<class U >
 ArrayRep (U *d, octave_idx_type l)
 ArrayRep (octave_idx_type n)
 ArrayRep (const ArrayRep &a)
 ArrayRep (octave_idx_type n, const T &val)
 ArrayRep (void)
 ~ArrayRep (void)
octave_idx_type length (void) const

Public Attributes

octave_refcount< intcount
T * data
octave_idx_type len

Private Member Functions

ArrayRepoperator= (const ArrayRep &a)

Detailed Description

template<class T>
class Array< T >::ArrayRep

Definition at line 57 of file Array.h.


Constructor & Destructor Documentation

template<class T>
Array< T >::ArrayRep::ArrayRep ( T *  d,
octave_idx_type  l 
) [inline]

Definition at line 65 of file Array.h.

References copy_or_memcpy().

template<class T>
template<class U >
Array< T >::ArrayRep::ArrayRep ( U *  d,
octave_idx_type  l 
) [inline]

Definition at line 72 of file Array.h.

template<class T>
Array< T >::ArrayRep::ArrayRep ( void   )  [inline]

Definition at line 78 of file Array.h.

template<class T>
Array< T >::ArrayRep::ArrayRep ( octave_idx_type  n  )  [inline, explicit]

Definition at line 80 of file Array.h.

template<class T>
Array< T >::ArrayRep::ArrayRep ( octave_idx_type  n,
const T &  val 
) [inline, explicit]

Definition at line 82 of file Array.h.

References fill_or_memset().

template<class T>
Array< T >::ArrayRep::ArrayRep ( const ArrayRep a  )  [inline]

Definition at line 88 of file Array.h.

References copy_or_memcpy(), Array< T >::ArrayRep::data, and Array< T >::ArrayRep::len.

template<class T>
Array< T >::ArrayRep::~ArrayRep ( void   )  [inline]

Definition at line 94 of file Array.h.


Member Function Documentation

template<class T>
octave_idx_type Array< T >::ArrayRep::length ( void   )  const [inline]

Definition at line 96 of file Array.h.

template<class T>
ArrayRep& Array< T >::ArrayRep::operator= ( const ArrayRep a  )  [private]

Member Data Documentation

template<class T>
octave_refcount<int> Array< T >::ArrayRep::count
template<class T>
T* Array< T >::ArrayRep::data
template<class T>
octave_idx_type Array< T >::ArrayRep::len

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