00001 /************************************************************************* 00002 00003 Copyright Rice University, 2004, 2005, 2006. 00004 All rights reserved. 00005 00006 Permission is hereby granted, free of charge, to any person obtaining a 00007 copy of this software and associated documentation files (the "Software"), 00008 to deal in the Software without restriction, including without limitation 00009 the rights to use, copy, modify, merge, publish, distribute, and/or sell 00010 copies of the Software, and to permit persons to whom the Software is 00011 furnished to do so, provided that the above copyright notice(s) and this 00012 permission notice appear in all copies of the Software and that both the 00013 above copyright notice(s) and this permission notice appear in supporting 00014 documentation. 00015 00016 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 00017 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 00018 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY 00019 RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS 00020 NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL 00021 DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR 00022 PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS 00023 ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 00024 THIS SOFTWARE. 00025 00026 Except as contained in this notice, the name of a copyright holder shall 00027 not be used in advertising or otherwise to promote the sale, use or other 00028 dealings in this Software without prior written authorization of the 00029 copyright holder. 00030 00031 **************************************************************************/ 00032 #ifndef __RVL_STD_CPP_INCLUDES_H_ 00033 #define __RVL_STD_CPP_INCLUDES_H_ 00034 // C includes 00035 00036 #include <sys/types.h> 00037 #include <sys/uio.h> 00038 #include <string.h> 00039 #include <unistd.h> 00040 #include <fcntl.h> 00041 #include <sys/stat.h> 00042 #include <stdio.h> 00043 #include <float.h> 00044 #include <math.h> 00045 #include <stdlib.h> 00046 #include <assert.h> 00047 #include <ctype.h> 00048 #include <time.h> 00049 00050 // C++ includes 00051 00052 #include <iostream> 00053 #include <fstream> 00054 #include <sstream> 00055 #include <iomanip> 00056 #include <limits> 00057 #include <exception> 00058 #include <stdexcept> 00059 #include <typeinfo> 00060 #include <string> 00061 #include <map> 00062 #include <list> 00063 #include <vector> 00064 #include <valarray> 00065 #include <complex> 00066 #include <memory> 00067 00068 using namespace std; 00069 00070 // Define how fortran names appear on this system 00071 00072 #if defined (_IBMR2) || defined (hpux) 00073 #define F77NAME(x) x 00074 #else 00075 #define F77NAME(x) x##_ 00076 #endif 00077 00078 #endif