Herezh_dev/herezh_pp/Enumeration/Enum_ddl_var_static.cc

66 lines
2.2 KiB
C++
Raw Normal View History

/*! \file Enum_ddl_var_static.cc
\brief def de grandeurs statiques relatives aux Enum_ddl.
*/
// FICHIER Enum_ddl_var_static.cc
// This file is part of the Herezh++ application.
//
// The finite element software Herezh++ is dedicated to the field
// of mechanics for large transformations of solid structures.
// It is developed by Gérard Rio (APP: IDDN.FR.010.0106078.000.R.P.2006.035.20600)
// INSTITUT DE RECHERCHE DUPUY DE LÔME (IRDL) <https://www.irdl.fr/>.
//
// Herezh++ is distributed under GPL 3 license ou ultérieure.
//
// Copyright (C) 1997-2021 Université Bretagne Sud (France)
// AUTHOR : Gérard Rio
// E-MAIL : gerardrio56@free.fr
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty
// of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
// See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//
// For more information, please consult: <https://herezh.irdl.fr/>.
// fichier pour définir les variables statics utilisés par Enum_ddl
#include "Enum_ddl.h"
# include "ParaGlob.h"
# include <iostream>
using namespace std; //introduces namespace std
#include <stdlib.h>
#include "Sortie.h"
#if defined SYSTEM_MAC_OS_CARBON
#include <stringfwd.h> // a priori ce n'est pas portable
#else
#include <string.h> // pour le flot en memoire centrale
#endif
#include <string>
/// @addtogroup Group_types_enumeres
/// @{
/// tout d'abord on définit la map qui permet de relier les chaines et les types énumérés
/// 1) def de la map et des tableaux
map < string, Enum_ddl , std::less < string> >
ClassPourEnum_ddl::map_Enum_ddl;
/// 2) def de la grandeur statique qui permet de remplir la map
ClassPourEnum_ddl ClassPourEnum_ddl::remplir_map;
/// @} // end of group