AFF --- A container for numbers (array) by Friederich and Forbriger.
sharedheap.h File Reference

shared heap representation (prototypes) More...

#include <new>
#include <aff/lib/error.h>
#include <aff/lib/types.h>
#include <aff/lib/sharedheap_def.h>
Include dependency graph for sharedheap.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  aff::util::SHeap< T >
 A structure to be shared between different SharedHeap instances. More...
 
class  aff::ConstSharedHeap< T >
 This is the base class for const elements. More...
 
class  aff::SharedHeap< T >
 A template class to share heap memory for different array projections. More...
 

Namespaces

 aff
 Root namespace of library.
 
 aff::util
 Internal utilities.
 

Macros

#define AFF_SHAREDHEAP_H_VERSION   "AFF_SHAREDHEAP_H V1.8"
 

Detailed Description

shared heap representation (prototypes)


Author
Thomas Forbriger
Since
08/12/2002

shared heap representation (prototypes)


This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

See also
aff::SHeap
aff::ConstSharedHeap
aff::SharedHeap

Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)

REVISIONS and CHANGES

  • 08/12/2002 V1.0 copied from libcontxx
  • 16/12/2002 V1.1 (thof)
    • introduced new concept of const correct containers
    • moved AllocException to error.h
  • 17/12/2002 V1.2 (thof)
    • use access declarations (hint by wolle)
  • 20/12/2002 V1.3 (thof)
    • moved SHeap to namespace util
  • 28/12/2002 V1.4 (thof)
    • changed base class from specialization to independent class template
    • added class documentation
  • 29/12/2002 V1.5 (thof)
    • use "using" syntax for access declarations
    • resolved conflicts with protected operator[] in derived classes
  • 31/12/2002 V1.6 (thof)
    • removed constructor from Theadstruct
    • made the non-initializing constructor protected. Default constructor remains public (it is needed if we construct a container for ConstSharedHeap elements).
  • 19/12/2003 V1.7 (thof)
    • index check now should work
  • 04/07/2005 V1.8 (thof)
    • allows data modification through instances being declared const

Definition in file sharedheap.h.