concepts::DynArrayPage< T > Class Template Reference

A page of a dynamic array. More...

#include <dynArray.hh>

Public Member Functions

 DynArrayPage (const DynArrayPage &pg)
 Copy constructor of the whole queue. More...
 
 DynArrayPage (uint idx, uint sz, DynArrayPage *lnk=0)
 
uint index () const
 
DynArrayPagelink () const
 
T & operator[] (uint i)
 
 ~DynArrayPage ()
 

Private Attributes

uint idx_
 
DynArrayPagelnk_
 
T * mem_
 
uint sz_
 

Detailed Description

template<class T>
class concepts::DynArrayPage< T >

A page of a dynamic array.

See also
DynArray

Definition at line 72 of file dynArray.hh.

Constructor & Destructor Documentation

◆ DynArrayPage() [1/2]

template<class T >
concepts::DynArrayPage< T >::DynArrayPage ( uint  idx,
uint  sz,
DynArrayPage< T > *  lnk = 0 
)
inline

Definition at line 78 of file dynArray.hh.

◆ DynArrayPage() [2/2]

template<class T >
concepts::DynArrayPage< T >::DynArrayPage ( const DynArrayPage< T > &  pg)
inline

Copy constructor of the whole queue.

Definition at line 83 of file dynArray.hh.

◆ ~DynArrayPage()

template<class T >
concepts::DynArrayPage< T >::~DynArrayPage ( )
inline

Definition at line 89 of file dynArray.hh.

Member Function Documentation

◆ index()

template<class T >
uint concepts::DynArrayPage< T >::index ( ) const
inline

Definition at line 93 of file dynArray.hh.

◆ link()

template<class T >
DynArrayPage* concepts::DynArrayPage< T >::link ( ) const
inline

Definition at line 94 of file dynArray.hh.

◆ operator[]()

template<class T >
T& concepts::DynArrayPage< T >::operator[] ( uint  i)
inline

Definition at line 91 of file dynArray.hh.

Member Data Documentation

◆ idx_

template<class T >
uint concepts::DynArrayPage< T >::idx_
private

Definition at line 74 of file dynArray.hh.

◆ lnk_

template<class T >
DynArrayPage* concepts::DynArrayPage< T >::lnk_
private

Definition at line 73 of file dynArray.hh.

◆ mem_

template<class T >
T* concepts::DynArrayPage< T >::mem_
private

Definition at line 76 of file dynArray.hh.

◆ sz_

template<class T >
uint concepts::DynArrayPage< T >::sz_
private

Definition at line 75 of file dynArray.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich