Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

DoubleVec Class Reference

A growable reference counted array of doubles which implements copy-on-write semantics (see RCArray). More...

#include <DoubleVec.h>

Inheritance diagram for DoubleVec:

Inheritance graph
[legend]
Collaboration diagram for DoubleVec:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DoubleVec ()
 DoubleVec (size_t initialSize)
 DoubleVec (size_t initialSize, double initVal)
size_t length ()
size_t getRefCnt ()

Private Member Functions

void init (double intialVal)

Detailed Description

A growable reference counted array of doubles which implements copy-on-write semantics (see RCArray).

Definition at line 39 of file DoubleVec.h.


Constructor & Destructor Documentation

DoubleVec::DoubleVec  )  [inline]
 

Definition at line 45 of file DoubleVec.h.

References DoubleArray.

00045 : DoubleArray() {}

DoubleVec::DoubleVec size_t  initialSize  )  [inline]
 

Definition at line 46 of file DoubleVec.h.

References DoubleArray.

00046 : DoubleArray( initialSize ) {}

DoubleVec::DoubleVec size_t  initialSize,
double  initVal
[inline]
 

Definition at line 47 of file DoubleVec.h.

References DoubleArray.

00047                                                  : 
00048     DoubleArray(initialSize, initVal) {}


Member Function Documentation

size_t DoubleVec::getRefCnt  )  [inline]
 

Reimplemented from RCArray< double >.

Definition at line 51 of file DoubleVec.h.

References RCArray< double >::getRefCnt().

Referenced by Assignment(), CheckConstructor(), CheckFuncReturn(), checkPassByValue(), checkRef(), Index(), PassByReference(), and PassByValue().

00051 { return DoubleArray::getRefCnt(); }

void DoubleVec::init double  intialVal  )  [private]
 

Reimplemented from RCArray< double >.

size_t DoubleVec::length  )  [inline]
 

Definition at line 50 of file DoubleVec.h.

References RCArray< double >::length().

Referenced by AppendNewValues(), Assignment(), CheckConstructor(), CheckFuncReturn(), checkPassByValue(), checkRef(), equals(), makeCopy(), and PassByReference().

00050 { return DoubleArray::length(); }


The documentation for this class was generated from the following file:
Generated on Mon Sep 22 20:23:01 2003 by doxygen 1.3.3