GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
Array< T >::ArrayRep Class Reference

The real representation of all arrays. More...

#include "Array.h"

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

Public Member Functions

 ArrayRep (T *d, octave_idx_type l)
 
template<class U >
 ArrayRep (U *d, octave_idx_type l)
 
 ArrayRep (void)
 
 ArrayRep (octave_idx_type n)
 
 ArrayRep (octave_idx_type n, const T &val)
 
 ArrayRep (const ArrayRep &a)
 
 ~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

The real representation of all arrays.

Definition at line 51 of file Array.h.

Constructor & Destructor Documentation

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

Definition at line 59 of file Array.h.

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

Definition at line 66 of file Array.h.

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

Definition at line 72 of file Array.h.

template<class T>
Array< T >::ArrayRep::ArrayRep ( octave_idx_type  n)
inlineexplicit

Definition at line 74 of file Array.h.

template<class T>
Array< T >::ArrayRep::ArrayRep ( octave_idx_type  n,
const T &  val 
)
inlineexplicit

Definition at line 77 of file Array.h.

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

Definition at line 83 of file Array.h.

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

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

Definition at line 89 of file Array.h.

Member Function Documentation

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

Definition at line 91 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: