Base class for DynArray for the non-template part. More...

#include <dynArray.hh>

Inheritance diagram for concepts::DynArrayBase:
concepts::OutputOperator

Public Member Functions

 DynArrayBase (const DynArrayBase &base)
 Copy constructor. More...
 
 DynArrayBase (const uint htblsz, const uint htblmsk, const uint pgsz, const uint pgmsk, const bool init=false)
 
uint max () const
 Maximal referenced index + 1. More...
 
uint min () const
 Minimal referenced index. More...
 
virtual ~DynArrayBase ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 
void operator= (DynArrayBase &)
 

Protected Attributes

bool empty_
 
const uint htblmsk_
 Hash table mask. More...
 
const uint htblsz_
 Size of the hash table function (how many bits of the page number) More...
 
bool init_
 
uint max_
 
uint min_
 
uint npg_
 
const uint pgmsk_
 
const uint pgsz_
 Size of a page in number of entries. More...
 

Detailed Description

Base class for DynArray for the non-template part.

Author
Philipp Frauenfelder, 2001.

Definition at line 27 of file dynArray.hh.

Constructor & Destructor Documentation

◆ DynArrayBase() [1/2]

concepts::DynArrayBase::DynArrayBase ( const uint  htblsz,
const uint  htblmsk,
const uint  pgsz,
const uint  pgmsk,
const bool  init = false 
)

◆ DynArrayBase() [2/2]

concepts::DynArrayBase::DynArrayBase ( const DynArrayBase base)

Copy constructor.

◆ ~DynArrayBase()

virtual concepts::DynArrayBase::~DynArrayBase ( )
virtual

Member Function Documentation

◆ info()

virtual std::ostream& concepts::DynArrayBase::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ max()

uint concepts::DynArrayBase::max ( ) const
inline

Maximal referenced index + 1.

Definition at line 37 of file dynArray.hh.

◆ min()

uint concepts::DynArrayBase::min ( ) const
inline

Minimal referenced index.

Definition at line 40 of file dynArray.hh.

◆ operator=()

void concepts::DynArrayBase::operator= ( DynArrayBase )
inlineprotected

Definition at line 58 of file dynArray.hh.

Member Data Documentation

◆ empty_

bool concepts::DynArrayBase::empty_
protected

Definition at line 43 of file dynArray.hh.

◆ htblmsk_

const uint concepts::DynArrayBase::htblmsk_
protected

Hash table mask.

Definition at line 52 of file dynArray.hh.

◆ htblsz_

const uint concepts::DynArrayBase::htblsz_
protected

Size of the hash table function (how many bits of the page number)

Definition at line 49 of file dynArray.hh.

◆ init_

bool concepts::DynArrayBase::init_
protected

Definition at line 42 of file dynArray.hh.

◆ max_

uint concepts::DynArrayBase::max_
protected

Definition at line 44 of file dynArray.hh.

◆ min_

uint concepts::DynArrayBase::min_
protected

Definition at line 45 of file dynArray.hh.

◆ npg_

uint concepts::DynArrayBase::npg_
protected

Definition at line 46 of file dynArray.hh.

◆ pgmsk_

const uint concepts::DynArrayBase::pgmsk_
protected

Definition at line 56 of file dynArray.hh.

◆ pgsz_

const uint concepts::DynArrayBase::pgsz_
protected

Size of a page in number of entries.

Definition at line 55 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