Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class DynBlock
Class DynBlock
|
template class
DynBlock<class Type>
: public Block<Type>
|
|
Programmer: Matt Splett
|
Description:
DynBlock is a wrapper on low level arrays which grow
automatically. Subclass of Block.
Public Methods:
-
DynBlock
(const UInteger & size=10);
-
Public default constructor with default allocation of 10 elements.
-
DynBlock
(const UInteger &, Type*);
-
Constructor to build from a specified size and a low level array
-
DynBlock
( const DynBlock<Type> & );
-
Copy Constructor
-
virtual Type &
operator []
(const UInteger &);
-
Overridden subindex operator that automatically grows the block.
-
virtual const Type &
operator []
(const UInteger &);
-
note Overridden subindex operator that doesn't grow.
Protected Methods:
-
UInteger
calculateSize
(const UInteger &);
-
Algorhythm to compute new desired size.
Protected Members:
Sitemap | Search || Zen Spider Website
/ Satori
/ Satori Class Index
/ Class DynBlock