1 /*! 2 * \file ProviderIdentifier.hxx 3 * \brief 4 * \author Thomas Helfer 5 * \date 27 juin 2015 6 * \copyright Copyright (C) 2006-2018 CEA/DEN, EDF R&D. All rights 7 * reserved. 8 * This project is publicly released under either the GNU GPL Licence 9 * or the CECILL-A licence. A copy of thoses licences are delivered 10 * with the sources of TFEL. CEA or EDF may also distribute this 11 * project under specific licensing conditions. 12 * <!-- Local IspellDict: english --> 13 */ 14 15 #ifndef LIB_MFRONT_BEHAVIOURBRICK_PROVIDERIDENTIFIER_HXX 16 #define LIB_MFRONT_BEHAVIOURBRICK_PROVIDERIDENTIFIER_HXX 17 18 #include<string> 19 #include"MFront/MFrontConfig.hxx" 20 21 namespace mfront{ 22 23 namespace bbrick{ 24 25 /*! 26 * \brief available requirement provider 27 */ 28 enum class ProviderIdentifier{ 29 MATERIALPROPERTY, 30 // MATERIALLAW, 31 INTEGRATIONVARIABLE, 32 AUXILIARYSTATEVARIABLE, 33 EXTERNALSTATEVARIABLE, 34 LOCALVARIABLE, 35 STATICVARIABLE, 36 PARAMETER 37 }; // end of struct variable source 38 39 /*! 40 * \return a string associated to a provider identifier 41 * \param[in] id : identifier 42 */ 43 MFRONT_VISIBILITY_EXPORT std::string 44 convertProviderIdentifierToString(const ProviderIdentifier&); 45 46 } // end of namespace bbrick 47 48 } // end of namespace mfront 49 50 #endif /* LIB_MFRONT_BEHAVIOURBRICK_PROVIDERIDENTIFIER_HXX */ 51