00001 /* SimData: Data Infrastructure for Simulations 00002 * Copyright (C) 2002 Mark Rose <tm2@stm.lbl.gov> 00003 * 00004 * This file is part of SimData. 00005 * 00006 * This program is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU General Public License 00008 * as published by the Free Software Foundation; either version 2 00009 * of the License, or (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00021 00032 #ifndef __SIMDATA_NAMESPACE_H__ 00033 #define __SIMDATA_NAMESPACE_H__ 00034 00035 // turn on the simdata namespace by default 00036 #define USE_NAMESPACE_SIMDATA 00037 00038 #ifdef NO_NAMESPACE_SIMDATA 00039 #undef USE_NAMESPACE_SIMDATA 00040 #endif // USE_NAMESPACE_SIMDATA 00041 00042 // simdata namespace macros, to easily turn namespace support 00043 // on or off. 00044 00045 #ifdef USE_NAMESPACE_SIMDATA 00046 #define USING_SIMDATA using namespace simdata; 00047 #define NAMESPACE_SIMDATA namespace simdata { 00048 #define NAMESPACE_SIMDATA_END } 00049 #define SIMDATA(x) simdata::x 00050 #else 00051 #define USING_SIMDATA 00052 #define NAMESPACE_SIMDATA 00053 #define NAMESPACE_SIMDATA_END 00054 #define SIMDATA(x) x 00055 #endif 00056 00057 #endif //__SIMDATA_NAMESPACE_H__ 00058 00059
|
SimData version pre-0.4.0. For more information on SimData, visit the SimData Homepage. Generated on Tue Oct 14 12:06:39 2003, using Doxygen 1.2.18. |