tfel
Loading...
Searching...
No Matches
mfront::StaticVariableDescriptionContainer Struct Reference

a simple wrapper around the std::vector class More...

#include </home/runner/work/tfel/tfel/mfront/include/MFront/StaticVariableDescription.hxx>

Inheritance diagram for mfront::StaticVariableDescriptionContainer:

Public Member Functions

MFRONT_VISIBILITY_EXPORT bool contains (const std::string &) const
MFRONT_VISIBILITY_EXPORT const StaticVariableDescription & get (const std::string &) const

Detailed Description

a simple wrapper around the std::vector class

Note
the member functions are exported one by one: with Visual Studio, exporting the class would instantiate every member of the base std::vector, some of which need a default constructor.

Member Function Documentation

◆ contains()

MFRONT_VISIBILITY_EXPORT bool mfront::StaticVariableDescriptionContainer::contains ( const std::string & ) const
nodiscard
Parameters
[in]n: variable name
Returns
true if a variable with the given name exists

◆ get()

MFRONT_VISIBILITY_EXPORT const StaticVariableDescription & mfront::StaticVariableDescriptionContainer::get ( const std::string & ) const
nodiscard
Parameters
[in]n: variable name
Returns
the variable description with the given name

The documentation for this struct was generated from the following file: