casacore
Loading...
Searching...
No Matches
Utilities.h
Go to the documentation of this file.
1//# Utilities.h: Bag of unrelated classes and groups for general use.
2//# Copyright (C) 1995,1996,1997,2000,2001
3//# Associated Universities, Inc. Washington DC, USA.
4//#
5//# This library is free software; you can redistribute it and/or modify it
6//# under the terms of the GNU Library General Public License as published by
7//# the Free Software Foundation; either version 2 of the License, or (at your
8//# option) any later version.
9//#
10//# This library is distributed in the hope that it will be useful, but WITHOUT
11//# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12//# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13//# License for more details.
14//#
15//# You should have received a copy of the GNU Library General Public License
16//# along with this library; if not, write to the Free Software Foundation,
17//# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18//#
19//# Correspondence concerning AIPS++ should be addressed as follows:
20//# Internet email: casa-feedback@nrao.edu.
21//# Postal address: AIPS++ Project Office
22//# National Radio Astronomy Observatory
23//# 520 Edgemont Road
24//# Charlottesville, VA 22903-2475 USA
25
26
27#ifndef CASA_UTILITIES_H
28#define CASA_UTILITIES_H
29
30#include <casacore/casa/aips.h>
31
32#include <casacore/casa/Utilities/Assert.h>
33#include <casacore/casa/Utilities/BinarySearch.h>
34#include <casacore/casa/Utilities/BitVector.h>
35#include <casacore/casa/Utilities/Compare.h>
36#include <casacore/casa/Utilities/Copy.h>
37#include <casacore/casa/Utilities/CountedPtr.h>
38#include <casacore/casa/Utilities/DataType.h>
39#include <casacore/casa/Utilities/DynBuffer.h>
40#include <casacore/casa/Utilities/Fallible.h>
41#include <casacore/casa/Utilities/GenSort.h>
42#include <casacore/casa/Utilities/Regex.h>
43#include <casacore/casa/Utilities/Sequence.h>
44#include <casacore/casa/Utilities/Sort.h>
45#include <casacore/casa/Utilities/SortError.h>
46#include <casacore/casa/BasicSL/String.h>
47#include <casacore/casa/Utilities/ValType.h>
48
49namespace casacore { //# NAMESPACE CASACORE - BEGIN
50
51// <module>
52//
53// <summary> Classes and global functions for general use </summary>
54
55// <reviewed reviewer="Friso Olnon" date="1995/03/20" demos="">
56// </reviewed>
57
58// <synopsis>
59//
60// This module is a bag of unrelated mini-modules, classes and
61// global functions. The following functional groups can be recognized:
62// <ul>
63// <li> Object utilities:
64// <ul>
65// <li> <linkto class=ObjCompare>ObjCompare</linkto>
66// objects with each other. A signature for comparison functions
67// is defined (required for comparison functions used in the
68// <linkto class=Sort>Sort</linkto>
69// class), and one such function is provided.
70// <li> <linkto group="Copy.h#copy">objcopy/objmove/objset</linkto>
71// copies objects from one place to another.
72// <li> <linkto class=Fallible>Mark</linkto>
73// objects as valid or invalid.
74// <li> <linkto class=Notice>Notices</linkto>
75// provide basic support for shared access of data by various objects.
76// <li> <linkto class=Sort>Sort</linkto>
77// objects on one or more keys, in ascending or descending order.
78// <linkto class=GenSort>Fast sorting</linkto>
79// is provided for certain types of objects.
80// <li> <linkto group="BinarySearch.h#binarysearch">Binary Search</linkto>
81// templated functions for sorted containers (ascending or descending
82// order) are available.
83// <li> <linkto group="LinearSearch.h#linearsearch">Linear Search</linkto>
84// templated functions for unsorted containers are available.
85// </ul>
86// <li> Logical utilities:
87// <ul>
88// <li> <linkto class=assert_>Assertion</linkto>
89// lets you throw an error when a condition in not fullfilled.
90// <li> <linkto class=BitVector>Bit vectors</linkto>
91// are an efficient method to keep True/False information on a set of
92// items or conditions.
93// </ul>
94// <li> Pointer utilities
95// <ul>
96// <li> <linkto class=CountedPtr>Counted pointers</linkto>
97// provide support for reference counting.
98// </ul>
99// <li> Datatype utilities
100// <ul>
101// <li> <linkto group="DataType.h#DataType">DataType</linkto>
102// enumerates the possible data types in the table system.
103// <li> <linkto class=ValType>ValType</linkto>
104// describes the data types and their undefined values.
105// </ul>
106// <li> Other utilities
107// <ul>
108// <li> <linkto class=DynBuffer>Dynamic buffers</linkto>
109// are used to store data in dynamically allocated buffers.
110// <li> <linkto class=Regex>Regular expressions</linkto>
111// are supported by the class <linkto class=Regex>Regex</linkto>
112// built on top of std::regex.
113// <li> <linkto class=Sequence>Sequences</linkto>
114// of any datatype can be derived from the base class
115// <linkto class=Sequence>Sequence</linkto>.
116// One example is <linkto class=uIntSequence>uIntSequence</linkto>,
117// provided for general use.
118// <li> <linkto class=String>Strings</linkto>.
119// for the C++ preprocessor
120// </ul>
121// </ul>
122//
123// <note role=tip> You may want to look at the individual header files
124// to see whether you might not prefer to include only the header
125// files you really need; it may be more efficient to do so.
126// </note>
127//
128// </synopsis>
129
130//# <todo asof="1995/03/20">
131//# <li>
132//# </todo>
133
134// </module>
135
136
137} //# NAMESPACE CASACORE - END
138
139#endif
140
this file contains all the compiler specific defines
Definition mainpage.dox:28