casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aipstype.h
Go to the documentation of this file.
1 //# aipstype.h: Global initialization for standard Casacore types
2 //# Copyright (C) 2000,2001,2002
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: aips2-request@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 //# $Id$
27 
28 #ifndef CASA_AIPSTYPE_H
29 #define CASA_AIPSTYPE_H
30 
31 // For temporary backward namespace compatibility, use casa as alias for casacore.
32 //# Note: namespace casa = casacore; does not work for forward declarations.
33 
34 #if defined (UseCasaNamespace)
35 # define casacore casa
36 #endif
37 
38 namespace casacore { //# NAMESPACE CASACORE - BEGIN
39 
40 // Define the standard types used by Casacore
41 
42 typedef bool Bool;
43 const Bool True = true;
44 const Bool False = false;
45 
46 typedef char Char;
47 typedef unsigned char uChar;
48 typedef short Short;
49 typedef unsigned short uShort;
50 typedef int Int;
51 typedef unsigned int uInt;
52 typedef long Long;
53 typedef unsigned long uLong;
54 typedef float Float;
55 typedef double Double;
56 typedef long double lDouble;
57 
58 } //# NAMESPACE CASACORE - END
59 
60 #endif
int Int
Definition: aipstype.h:50
unsigned char uChar
Definition: aipstype.h:47
char Char
Definition: aipstype.h:46
short Short
Definition: aipstype.h:48
long Long
Definition: aipstype.h:52
double Double
Definition: aipstype.h:55
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
float Float
Definition: aipstype.h:54
const Bool False
Definition: aipstype.h:44
unsigned long uLong
Definition: aipstype.h:53
long double lDouble
Definition: aipstype.h:56
const Bool True
Definition: aipstype.h:43
unsigned int uInt
Definition: aipstype.h:51
unsigned short uShort
Definition: aipstype.h:49