1717
1818#include < iosfwd>
1919#include < vector>
20+ #include < string_view>
2021#include " MGIS/Config.hxx"
2122#include " MGIS/Span.hxx"
22- #include " MGIS/StringView.hxx"
2323#include " MGIS/Behaviour/StateView.hxx"
2424
2525namespace mgis ::behaviour {
@@ -74,14 +74,14 @@ namespace mgis::behaviour {
7474 * \param[in] n: name
7575 * \param[in] v: value
7676 */
77- MGIS_EXPORT void setGradient (State&, const string_view, const real);
77+ MGIS_EXPORT void setGradient (State&, const std:: string_view, const real);
7878 /* !
7979 * \brief set the value of a gradient
8080 * \param[out] s: state
8181 * \param[in] n: name
8282 * \param[in] v: values
8383 */
84- MGIS_EXPORT void setGradient (State&, const string_view, const real* const );
84+ MGIS_EXPORT void setGradient (State&, const std:: string_view, const real* const );
8585 /* !
8686 * \brief set the value of a gradient
8787 * \param[out] s: state
@@ -117,14 +117,14 @@ namespace mgis::behaviour {
117117 * \param[in] s: state
118118 * \param[in] n: name
119119 */
120- MGIS_EXPORT real* getGradient (State&, const string_view);
120+ MGIS_EXPORT real* getGradient (State&, const std:: string_view);
121121 /* !
122122 * \brief get the value(s) of a gradient
123123 * \return a pointer the value(s) of the gradient
124124 * \param[in] s: state
125125 * \param[in] n: name
126126 */
127- MGIS_EXPORT const real* getGradient (const State&, const string_view);
127+ MGIS_EXPORT const real* getGradient (const State&, const std:: string_view);
128128 /* !
129129 * \brief get the value(s) of a gradient
130130 * \return a pointer the value(s) of the gradient
@@ -145,15 +145,15 @@ namespace mgis::behaviour {
145145 * \param[in] n: name
146146 * \param[in] v: value
147147 */
148- MGIS_EXPORT void setThermodynamicForce (State&, const string_view, const real);
148+ MGIS_EXPORT void setThermodynamicForce (State&, const std:: string_view, const real);
149149 /* !
150150 * \brief set the value of a thermodynamic force
151151 * \param[out] s: state
152152 * \param[in] n: name
153153 * \param[in] v: values
154154 */
155155 MGIS_EXPORT void setThermodynamicForce (State&,
156- const string_view,
156+ const std:: string_view,
157157 const real* const );
158158 /* !
159159 * \brief set the value of a thermodynamic force
@@ -190,15 +190,15 @@ namespace mgis::behaviour {
190190 * \param[in] s: state
191191 * \param[in] n: name
192192 */
193- MGIS_EXPORT real* getThermodynamicForce (State&, const string_view);
193+ MGIS_EXPORT real* getThermodynamicForce (State&, const std:: string_view);
194194 /* !
195195 * \brief get the value(s) of a thermodynamic force
196196 * \return a pointer the value(s) of the thermodynamic force
197197 * \param[in] s: state
198198 * \param[in] n: name
199199 */
200200 MGIS_EXPORT const real* getThermodynamicForce (const State&,
201- const string_view);
201+ const std:: string_view);
202202 /* !
203203 * \brief get the value(s) of a thermodynamic force
204204 * \return a pointer the value(s) of the thermodynamic force
@@ -219,19 +219,19 @@ namespace mgis::behaviour {
219219 * \param[in] n: name
220220 * \param[in] v: value
221221 */
222- MGIS_EXPORT void setMaterialProperty (State&, const string_view, const real);
222+ MGIS_EXPORT void setMaterialProperty (State&, const std:: string_view, const real);
223223 /* !
224224 * \return a pointer to the value of a material property
225225 * \param[in] s: state
226226 * \param[in] n: name
227227 */
228- MGIS_EXPORT real* getMaterialProperty (State&, const string_view);
228+ MGIS_EXPORT real* getMaterialProperty (State&, const std:: string_view);
229229 /* !
230230 * \return a pointer to the value of a material property
231231 * \param[in] s: state
232232 * \param[in] n: name
233233 */
234- MGIS_EXPORT const real* getMaterialProperty (const State&, const string_view);
234+ MGIS_EXPORT const real* getMaterialProperty (const State&, const std:: string_view);
235235 /* !
236236 * \brief set the value of a material property
237237 * \param[out] s: state
@@ -258,7 +258,7 @@ namespace mgis::behaviour {
258258 * \param[in] v: value
259259 */
260260 MGIS_EXPORT void setInternalStateVariable (State&,
261- const string_view,
261+ const std:: string_view,
262262 const real);
263263 /* !
264264 * \brief set the value of an internal state variable
@@ -267,7 +267,7 @@ namespace mgis::behaviour {
267267 * \param[in] v: values
268268 */
269269 MGIS_EXPORT void setInternalStateVariable (State&,
270- const string_view,
270+ const std:: string_view,
271271 const real* const );
272272 /* !
273273 * \brief set the value of an internal state variable
@@ -306,15 +306,15 @@ namespace mgis::behaviour {
306306 * \param[in] s: state
307307 * \param[in] n: name
308308 */
309- MGIS_EXPORT real* getInternalStateVariable (State&, const string_view);
309+ MGIS_EXPORT real* getInternalStateVariable (State&, const std:: string_view);
310310 /* !
311311 * \brief get the value(s) of an internal state variable
312312 * \return a pointer the value(s) of the internal state variable
313313 * \param[in] s: state
314314 * \param[in] n: name
315315 */
316316 MGIS_EXPORT const real* getInternalStateVariable (const State&,
317- const string_view);
317+ const std:: string_view);
318318 /* !
319319 * \brief get the value(s) of an internal state variable
320320 * \return a pointer the value(s) of the internal state variable
@@ -337,7 +337,7 @@ namespace mgis::behaviour {
337337 * \param[in] v: value
338338 */
339339 MGIS_EXPORT void setExternalStateVariable (State&,
340- const string_view,
340+ const std:: string_view,
341341 const real);
342342 /* !
343343 * \brief set the value of an external state variable
@@ -346,7 +346,7 @@ namespace mgis::behaviour {
346346 * \param[in] v: value
347347 */
348348 MGIS_EXPORT void setExternalStateVariable (State&,
349- const string_view,
349+ const std:: string_view,
350350 const mgis::span<const real>);
351351 /* !
352352 * \brief set the value of a scalar external state variable
@@ -371,14 +371,14 @@ namespace mgis::behaviour {
371371 * \param[out] s: state
372372 * \param[in] n: name
373373 */
374- MGIS_EXPORT real* getExternalStateVariable (State&, const string_view);
374+ MGIS_EXPORT real* getExternalStateVariable (State&, const std:: string_view);
375375 /* !
376376 * \brief set the value of an external state variable
377377 * \param[out] s: state
378378 * \param[in] n: name
379379 */
380380 MGIS_EXPORT const real* getExternalStateVariable (const State&,
381- const string_view);
381+ const std:: string_view);
382382 /* !
383383 * \return a pointer to the value of an external state variable
384384 * \param[out] s: state
0 commit comments