GNU Octave  4.2.1
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<typename 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 numel (void) const
 

Public Attributes

octave_refcount< intcount
 
T * data
 
octave_idx_type len
 

Private Member Functions

ArrayRepoperator= (const ArrayRep &a)
 

Detailed Description

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

The real representation of all arrays.

Definition at line 132 of file Array.h.

Constructor & Destructor Documentation

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

Definition at line 140 of file Array.h.

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

Definition at line 147 of file Array.h.

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

Definition at line 153 of file Array.h.

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

Definition at line 155 of file Array.h.

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

Definition at line 158 of file Array.h.

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

Definition at line 164 of file Array.h.

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

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

Definition at line 170 of file Array.h.

Member Function Documentation

template<typename T>
octave_idx_type Array< T >::ArrayRep::numel ( void  ) const
inline

Definition at line 172 of file Array.h.

template<typename T>
ArrayRep& Array< T >::ArrayRep::operator= ( const ArrayRep a)
private

Member Data Documentation

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

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