_MEDfamily23Info30.c

Aller à la documentation de ce fichier.
00001 /*  This file is part of MED.
00002  *
00003  *  COPYRIGHT (C) 1999 - 2011  EDF R&D, CEA/DEN
00004  *  MED is free software: you can redistribute it and/or modify
00005  *  it under the terms of the GNU Lesser General Public License as published by
00006  *  the Free Software Foundation, either version 3 of the License, or
00007  *  (at your option) any later version.
00008  *
00009  *  MED is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Lesser General Public License for more details.
00013  *
00014  *  You should have received a copy of the GNU Lesser General Public License
00015  *  along with MED.  If not, see <http://www.gnu.org/licenses/>.
00016  */
00017 
00018 
00019 #include <med.h>
00020 #include <med_config.h>
00021 #include <med_outils.h>
00022 
00023 #include <string.h>
00024 #include <stdlib.h>
00025 
00026 void
00027 _MEDfamily23Info30(int dummy,...)
00028 {
00029 
00030   MED_VARGS_DECL(const, med_idt       , , fid             );
00031   MED_VARGS_DECL(const, char*   , const , meshname        );
00032   MED_VARGS_DECL(const, int           , , famit           );
00033   MED_VARGS_DECL(, char*        , const , familyname      );
00034   MED_VARGS_DECL(, med_int*     , const , attributenumber );
00035   MED_VARGS_DECL(, med_int*     , const , attributevalue  );
00036   MED_VARGS_DECL(, char*        , const , attributedes    );
00037   MED_VARGS_DECL(, med_int*     , const , familynumber    );
00038   MED_VARGS_DECL(, char*        , const , groupname       );
00039   MED_VARGS_DECL(, med_err*            ,, fret            );
00040 
00041   va_list params;
00042   va_start(params,dummy);
00043 
00044   MED_VARGS_DEF(const, med_idt       , , fid             );
00045   MED_VARGS_DEF(const, char*   , const , meshname        );
00046   MED_VARGS_DEF(const, int           , , famit           );
00047   MED_VARGS_DEF(, char*        , const , familyname      );
00048   MED_VARGS_DEF(, med_int*     , const , attributenumber );
00049   MED_VARGS_DEF(, med_int*     , const , attributevalue  );
00050   MED_VARGS_DEF(, char*        , const , attributedes    );
00051   MED_VARGS_DEF(, med_int*     , const , familynumber    );
00052   MED_VARGS_DEF(, char*        , const , groupname       );
00053   MED_VARGS_DEF(, med_err*            ,, fret            );
00054 /*   ISCRUTE(                   fid); */
00055 /*   SSCRUTE(                meshname); */
00056 /*   ISCRUTE_int(                    famit); */
00057 /*   SSCRUTE(                familyname); */
00058 
00059   *fret = MEDfamilyInfo(fid,
00060                         meshname,
00061                         famit,
00062                         familyname,
00063                         familynumber,
00064                         groupname);
00065 /*   ISCRUTE(                *familynumber); */
00066 /*   ISCRUTE(                *attributenumber); */
00067 /*   XSCRUTE(                attributevalue); */
00068 /*   SSCRUTE(                attributedes); */
00069 /*   SSCRUTE(                groupname); */
00070 
00071   va_end(params);
00072 
00073   return;
00074 }

Généré le Mon Nov 7 16:21:23 2011 pour MED fichier par  doxygen 1.6.1