Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

idio.h

Go to the documentation of this file.
00001 /************************************************************************* 00002 * $Id: idio.h,v 1.1 2005/09/09 08:22:35 bellet Exp $ 00003 ************************************************************************** 00004 This software is governed by the CeCILL license under French law and 00005 abiding by the rules of distribution of free software. You can use, 00006 modify and/ or redistribute the software under the terms of the CeCILL 00007 license as circulated by CEA, CNRS and INRIA at the following URL 00008 "http://www.cecill.info". 00009 00010 As a counterpart to the access to the source code and rights to copy, 00011 modify and redistribute granted by the license, users are provided only 00012 with a limited warranty and the software's author, the holder of the 00013 economic rights, and the successive licensors have only limited 00014 liability. 00015 00016 In this respect, the user's attention is drawn to the risks associated 00017 with loading, using, modifying and/or developing or reproducing the 00018 software by the user in light of its specific status of free software, 00019 that may mean that it is complicated to manipulate, and that also 00020 therefore means that it is reserved for developers and experienced 00021 professionals having in-depth computer knowledge. Users are therefore 00022 encouraged to load and test the software's suitability as regards their 00023 requirements in conditions enabling the security of their systems and/or 00024 data to be ensured and, more generally, to use and operate it in the 00025 same conditions as regards security. 00026 00027 The fact that you are presently reading this means that you have had 00028 knowledge of the CeCILL license and that you accept its terms. 00029 00030 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de 00031 l'Image). All rights reserved. See License.txt for details. 00032 00033 Version 1.0 05/09/2005 00034 *************************************************************************/ 00035 00036 /* 00037 * DESCRIPTION : Constantes pour l'acces aux fichiers. 00038 * 00039 * ID_RFILE_BIN : read binary ("rb") 00040 * ID_RFILE_TEXT : read text 00041 * ID_WFILE_BIN : write binary 00042 * ID_WFILE_TEXT : write text 00043 * ID_AFILE_BIN : append binary 00044 * ID_AFILE_TEXT : append text 00045 * ID_RFILE_P_BIN : read binary + ("rb+") 00046 * ID_RFILE_P_TEXT : read text + 00047 * ID_WFILE_P_BIN : write binary + 00048 * ID_WFILE_P_TEXT : write text + 00049 * ID_AFILE_P_BIN : append binary + 00050 * ID_AFILE_P_TEXT : append text + 00051 * 00052 */ 00053 00054 #if defined(_MSC_VER) 00055 #define ID_RFILE_BIN "rb" 00056 #define ID_RFILE_TEXT "rt" 00057 #define ID_WFILE_BIN "wb" 00058 #define ID_WFILE_TEXT "wt" 00059 #define ID_AFILE_BIN "ab" 00060 #define ID_AFILE_TEXT "at" 00061 #define ID_RFILE_P_BIN "rb+" 00062 #define ID_RFILE_P_TEXT "rt+" 00063 #define ID_WFILE_P_BIN "wb+" 00064 #define ID_WFILE_P_TEXT "wt+" 00065 #define ID_AFILE_P_BIN "ab+" 00066 #define ID_AFILE_P_TEXT "at+" 00067 #else 00068 #define ID_RFILE_BIN "rb" 00069 #define ID_RFILE_TEXT "r" 00070 #define ID_WFILE_BIN "wb" 00071 #define ID_WFILE_TEXT "w" 00072 #define ID_AFILE_BIN "ab" 00073 #define ID_AFILE_TEXT "a" 00074 #define ID_RFILE_P_BIN "rb+" 00075 #define ID_RFILE_P_TEXT "r+" 00076 #define ID_WFILE_P_BIN "wb+" 00077 #define ID_WFILE_P_TEXT "w+" 00078 #define ID_AFILE_P_BIN "ab+" 00079 #define ID_AFILE_P_TEXT "a+" 00080 #endif 00081

Generated on Wed Oct 19 09:28:33 2005 for SIMRI3D by doxygen 1.3.7