casacore
Loading...
Searching...
No Matches
casa
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: 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
#ifndef CASA_AIPSTYPE_H
27
#define CASA_AIPSTYPE_H
28
29
// For temporary backward namespace compatibility, use casa as alias for casacore.
30
//# Note: namespace casa = casacore; does not work for forward declarations.
31
32
#if defined (UseCasaNamespace)
33
# define casacore casa
34
#endif
35
36
namespace
casacore
{
//# NAMESPACE CASACORE - BEGIN
37
38
// Define the standard types used by Casacore
39
40
typedef
bool
Bool
;
41
const
Bool
True
=
true
;
42
const
Bool
False
=
false
;
43
44
typedef
char
Char
;
45
typedef
unsigned
char
uChar
;
46
typedef
short
Short
;
47
typedef
unsigned
short
uShort
;
48
typedef
int
Int
;
49
typedef
unsigned
int
uInt
;
50
typedef
long
Long
;
51
typedef
unsigned
long
uLong
;
52
typedef
float
Float
;
53
typedef
double
Double
;
54
typedef
long
double
lDouble
;
55
56
}
//# NAMESPACE CASACORE - END
57
58
#endif
casacore
this file contains all the compiler specific defines
Definition
mainpage.dox:28
casacore::uChar
unsigned char uChar
Definition
aipstype.h:45
casacore::False
const Bool False
Definition
aipstype.h:42
casacore::uLong
unsigned long uLong
Definition
aipstype.h:51
casacore::Long
long Long
Definition
aipstype.h:50
casacore::Short
short Short
Definition
aipstype.h:46
casacore::uInt
unsigned int uInt
Definition
aipstype.h:49
casacore::uShort
unsigned short uShort
Definition
aipstype.h:47
casacore::Float
float Float
Definition
aipstype.h:52
casacore::Int
int Int
Definition
aipstype.h:48
casacore::Bool
bool Bool
Define the standard types used by Casacore.
Definition
aipstype.h:40
casacore::True
const Bool True
Definition
aipstype.h:41
casacore::Double
double Double
Definition
aipstype.h:53
casacore::Char
char Char
Definition
aipstype.h:44
casacore::lDouble
long double lDouble
Definition
aipstype.h:54
Generated by
1.12.0