casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ATMCommon.h
Go to the documentation of this file.
1 #ifndef _ATM_COMMON_H_
2 #define _ATM_COMMON_H_
3 /*******************************************************************************
4  * ALMA - Atacama Large Millimiter Array
5  * (c) Instituto de Estructura de la Materia, 2010
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20  *
21  * "@(#) $Id: ATMCommon.h Exp $"
22  *
23  * who when what
24  * -------- -------- ----------------------------------------------
25  * jroche 01/02/10 created
26  */
27 
28 #ifndef __cplusplus
29 #error "This is a C++ include file and cannot be used from plain C"
30 #endif
31 
32 #ifdef ALMA_TELCAL
33 #define ATM_NAMESPACE_BEGIN namespace telcal { namespace atm {
34 #define ATM_NAMESPACE_END } }
35 #define ATM_NAMESPACE telcal::atm
36 #else
37 #define ATM_NAMESPACE_BEGIN namespace atm {
38 #define ATM_NAMESPACE_END }
39 #define ATM_NAMESPACE atm
40 #endif
41 
42 #endif