casacore
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
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: 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
#define casacore casa
34
35
namespace
casacore
{
//# NAMESPACE CASACORE - BEGIN
36
37
// Define the standard types used by Casacore
38
39
typedef
bool
Bool
;
40
const
Bool
True
=
true
;
41
const
Bool
False
=
false
;
42
43
typedef
char
Char
;
44
typedef
unsigned
char
uChar
;
45
typedef
short
Short
;
46
typedef
unsigned
short
uShort
;
47
typedef
int
Int
;
48
typedef
unsigned
int
uInt
;
49
typedef
long
Long
;
50
typedef
unsigned
long
uLong
;
51
typedef
float
Float
;
52
typedef
double
Double
;
53
typedef
long
double
lDouble
;
54
55
}
//# NAMESPACE CASACORE - END
56
57
#endif
casacore::Int
int Int
Definition:
aipstype.h:47
casacore::uChar
unsigned char uChar
Definition:
aipstype.h:44
casacore::Char
char Char
Definition:
aipstype.h:43
casacore::Short
short Short
Definition:
aipstype.h:45
casacore::Long
long Long
Definition:
aipstype.h:49
casacore::Double
double Double
Definition:
aipstype.h:52
casacore::Bool
bool Bool
Define the standard types used by Casacore.
Definition:
aipstype.h:39
casacore::Float
float Float
Definition:
aipstype.h:51
casacore::False
const Bool False
Definition:
aipstype.h:41
casacore::uLong
unsigned long uLong
Definition:
aipstype.h:50
casacore::lDouble
long double lDouble
Definition:
aipstype.h:53
casacore::True
const Bool True
Definition:
aipstype.h:40
casacore
this file contains all the compiler specific defines
Definition:
mainpage.dox:28
casacore::uInt
unsigned int uInt
Definition:
aipstype.h:48
casacore::uShort
unsigned short uShort
Definition:
aipstype.h:46
Generated by
1.8.11