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

idacr-restricted.h

Go to the documentation of this file.
00001 /************************************************************************* 00002 * $Id: idacr-restricted.h,v 1.1 2005/09/09 08:22:25 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 #ifndef _IDACR_RESTRICTED_H 00037 #define _IDACR_RESTRICTED_H 00038 00039 #include "idcommon.h" 00040 00041 /* Not For Rats Functions ('Hidden' Functions) 00042 * ====================== 00043 * 00044 * Utilisees seulement en interne 00045 * N'ont pas etre connues des end-users 00046 * Ne seront pas SWIGees 00047 */ 00048 00049 typedef struct acr_element { 00050 unsigned short int group; 00051 unsigned short int number; 00052 uint32_t length; 00053 uint32_t skippedLength; /* pour compatibilite DICOM VR */ 00054 long int value; /* pointeur sur chaine de caracteres */ 00055 /* ou valeur entiere (max 32 bits) */ 00056 /* des soucis a prevoir */ 00057 /* avec les DEC Alpha, ptrs 64 bits */ 00058 struct acr_element *suiv; 00059 int type; 00060 } ACR_ELEMENT; 00061 00062 00063 00064 int IdAcrWriteListeAcr(char *nf, ACR_ELEMENT *header); 00065 00066 ACR_ELEMENT * IdAcrMakeListFromInfo (char **,char **); 00067 ACR_ELEMENT * IdAcrInquireHeader (char *, int); 00068 00069 char ** _IdAcrInquireScanElscintInfoXXX (FILE *, char **); 00070 char ** _IdAcrInquirePatientInfoXXX (FILE *, char **); 00071 char ** _IdAcrInquireIRMInfoXXX (FILE *, char **); 00072 00073 int _IdAcrTestSwap (uint32_t); 00074 int _IdAcrCheckSwap (FILE *); 00075 00076 ACR_ELEMENT *_IdAcrMakeElement (int, int, long int, int, long int); 00077 ACR_ELEMENT *_IdAcrAddElement (ACR_ELEMENT *, ACR_ELEMENT *); 00078 ACR_ELEMENT *_IdAcrAppendElement (ACR_ELEMENT *, ACR_ELEMENT *); 00079 ACR_ELEMENT *_IdAcrFreeListe (ACR_ELEMENT *); 00080 ACR_ELEMENT *_IdAcrMergeListes (ACR_ELEMENT *, ACR_ELEMENT *); 00081 00082 ACR_ELEMENT *_IdAcrReadNextElement(FILE *, int); 00083 ACR_ELEMENT *_IdAcrFindElement (ACR_ELEMENT *, int, int); 00084 00085 void _IdAcrAdjustLength (ACR_ELEMENT *); 00086 void _IdAcrAffListe (ACR_ELEMENT *); 00087 void _IdAcrAffListe2 (ACR_ELEMENT *, int, int); 00088 void _IdAcrAffListeBref (ACR_ELEMENT *); 00089 int _IdAcrAddHisto (char *); 00090 long _IdAcrReadElement (int, int, FILE *, void *); 00091 void * _IdAcrReadElementFromLabel(char *libelle, FILE * fp, 00092 char * vr, void *buff); 00093 00094 // FIXME IDODUDE long _IdAcrReadElementR (int, int, FILE *, void *); 00095 long _IdAcrOverWriteElement (int, int, FILE *, void *); 00096 long _IdAcrGetElementLength (int, int, FILE *); 00097 long _IdAcrModifElementLength(int, int, FILE *, uint32_t); 00098 00099 short int _IdAcrCheckType (FILE *, char *, int, int, int); 00100 long _IdAcrGetPixelOffset (FILE *); 00101 00102 00103 00104 /* Don't use any Longer Functions 00105 * ============================== 00106 * 00107 * Ne doivent plus etre utilisees par personne 00108 * Ne sont laissees que pour compatibilite avec versions anterieures 00109 * Ne seront pas SWIGees 00110 */ 00111 00112 int IdAcrInquireInfo (char *, unsigned short int * OUTPUT, 00113 unsigned short int * OUTPUT, int * OUTPUT, 00114 int * OUTPUT, int * OUTPUT, int * OUTPUT); 00115 int IdAcrInquireInfoTot (char *, unsigned short int * OUTPUT, 00116 unsigned short int * OUTPUT, 00117 unsigned short int * OUTPUT, int * OUTPUT, 00118 int * OUTPUT, int * OUTPUT, int * OUTPUT, 00119 int * OUTPUT); 00120 int IdAcrInquireInfoTot2 (char *, unsigned short int * OUTPUT, 00121 unsigned short int * OUTPUT, 00122 unsigned short int * OUTPUT, int * OUTPUT, 00123 int * OUTPUT, int * OUTPUT, int * OUTPUT, 00124 int * OUTPUT, int * OUTPUT); 00125 00126 int IdAcrInquireInfoTot3 (char *, unsigned short int * OUTPUT, 00127 unsigned short int * OUTPUT, 00128 unsigned short int * OUTPUT, int * OUTPUT, 00129 int * OUTPUT, int * OUTPUT, int * OUTPUT, 00130 int * OUTPUT, int * OUTPUT, int * OUTPUT); 00131 00132 #endif

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