|
tfel
|
This header declares a few general functions. More...
#include <map>#include <tuple>#include <string>#include <vector>#include <iosfwd>#include "MFront/MFrontConfig.hxx"#include "MFront/MFrontUtilities.ixx"Namespaces | |
| namespace | tfel |
| the namespace tfel encloses all the TFEL project. This namespace is empty. | |
| namespace | mfront |
| This namespace contains material used to build the MFront code generator. | |
Functions | |
| MFRONT_VISIBILITY_EXPORT void | mfront::addSymbol (std::map< std::string, std::string > &, const std::string_view, const std::string_view) |
| add the given symbol. | |
| template<typename Value> | |
| std::vector< std::string > | mfront::getKeys (const std::map< std::string, Value > &) |
| MFRONT_VISIBILITY_EXPORT void | mfront::insert_if (std::vector< std::string > &, const std::string &) |
| conditionnally insert a string into a vector of string : an element is inserted if not already present or empty. | |
| MFRONT_VISIBILITY_EXPORT void | mfront::insert_if (std::vector< std::string > &, const char *const) |
| conditionnally insert a string into a vector of string : an element is inserted if not already present or has zero size or is nulltpr. | |
| template<typename Container> | |
| void | mfront::insert_if (std::vector< std::string > &, const Container &) |
| call insert_if on every element of a container. | |
| template<typename Value> | |
| void | mfront::insert_if (std::vector< std::string > &, const std::initializer_list< Value > &) |
| call insert_if on every element of an initializer_list. | |
| MFRONT_VISIBILITY_EXPORT void | mfront::write (std::ostream &, const std::vector< std::string > &, const std::string &) |
| write a vector of string to the output stream | |
| MFRONT_VISIBILITY_EXPORT std::string | mfront::makeUpperCase (std::string_view) |
| MFRONT_VISIBILITY_EXPORT std::string | mfront::makeLowerCase (std::string_view) |
| MFRONT_VISIBILITY_EXPORT void | mfront::displayGlossaryEntryCompleteDescription (std::ostream &, const tfel::glossary::GlossaryEntry &) |
| display the complete description of a glossary entry | |
| MFRONT_VISIBILITY_EXPORT std::tuple< std::string, bool, unsigned short > | mfront::extractVariableNameAndArrayPosition (const std::string &) |
| extract the name of a variable and an array position from a string. | |
This header declares a few general functions.