AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

Bucket Class Template Reference

Assemble elements of type "Type" in a consecutive memory block. More...

#include <BucketType.h>

Inheritance diagram for Bucket:

Inheritance graph
[legend]
Collaboration diagram for Bucket:

Collaboration graph
[legend]
List of all members.

Public Methods

 Bucket (const unsigned bktnum)
 Bucket (void const *package)
 Bucket (void *package)
 Bucket (void const *package, unsigned const size, int const n)
 Bucket (Bucket< Type > const &other)
Type * add (void)
Type * add (Type const &t)
Type * insert (void)
Type * insert (Type const &t)
Type * first (void)
Type * last (void)
Type * current (void) const
Type * remove (void)
Type * prev (void)
Type * next (void)
record * currec (void)
void setcurrec (union record *c)
void empty (void)
void split (Bucket< Type > &bt)

Detailed Description

template<class Type>
class Bucket< Type >

Assemble elements of type "Type" in a consecutive memory block.

The dynamic list for type "Type" is implemented, but the elements are NOT linked with pointers. Various list-manipulation routines are supplied.

Author:
Manish Parashar, Ralf Deiterding (minor corrections)

Definition at line 28 of file BucketType.h.


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


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04