//# : a module for non-mathematical containers //# Copyright (C) 1995,1999,2001 //# Associated Universities, Inc. Washington DC, USA. //# //# This library is free software; you can redistribute it and/or modify it //# under the terms of the GNU Library General Public License as published by //# the Free Software Foundation; either version 2 of the License, or (at your //# option) any later version. //# //# This library 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 Library General Public //# License for more details. //# //# You should have received a copy of the GNU Library General Public License //# along with this library; if not, write to the Free Software Foundation, //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. //# //# Correspondence concerning AIPS++ should be addressed as follows: //# Internet email: aips2-request@nrao.edu. //# Postal address: AIPS++ Project Office //# National Radio Astronomy Observatory //# 520 Edgemont Road //# Charlottesville, VA 22903-2475 USA //# //# $Id$ #ifndef CASA_CONTAINERS_H #define CASA_CONTAINERS_H #include #include #include #include #include #include namespace casacore { //# NAMESPACE CASACORE - BEGIN // // // // Non-mathematical Containers // // // // // // // This module provides non-mathematical containers. These containers are the // prototypical computer science types of containers -- // records and simple // arrays. These classes are useful for all of the various types of low // level data management. In general, these classes will have familiar semantics // and an unsurprising interface. // Note that Casacore used to have classes such as Map and List, but they // became obsolete when the Standard C++ Library was introduced. Therefore these // classes have been removed. // // Most of the important classes in this module also have IO shift operators, // e.g. for writing out a Block (simple // array). These operators typically allow the container (and the objects it // contains) to be written out to both AipsIO and // the standard ostream. // // The class Block has the option to trace (de)allocations for Blocks with // a size above a given threshold. It uses class MemoryTrace to log the // trace messages. Unlike MemoryTrace, it also works on non-Linux systems. // Since class Array uses Block underneath, it makes it possible to trace // Array usage. // // // } //# NAMESPACE CASACORE - END #endif