tfel
Loading...
Searching...
No Matches
DSLUtilities.hxx File Reference

This header declares a set of functions to read information from an mfront file. More...

#include <string>
#include <string_view>
#include "TFEL/Utilities/CxxTokenizer.hxx"
#include "TFEL/Utilities/Data.hxx"
#include "MFront/MFrontConfig.hxx"
#include "MFront/VariableBoundsDescription.hxx"
#include "MFront/DSLUtilities.ixx"

Namespaces

namespace  mfront
 This namespace contains material used to build the MFront code generator.

Functions

MFRONT_VISIBILITY_EXPORT bool mfront::readSafeOptionTypeIfPresent (tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
template<typename T>
T mfront::read (tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
 read an object of type T from a stream created by the CxxTokenizer class
template<>
MFRONT_VISIBILITY_EXPORT double mfront::read (tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
 read a string from a stream created by the CxxTokenizer class
template<>
MFRONT_VISIBILITY_EXPORT std::string mfront::read (tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
 read a string from a stream created by the CxxTokenizer class
template<>
MFRONT_VISIBILITY_EXPORT std::vector< std::string > mfront::read (tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
 read a vector of strings from a stream created by the CxxTokenizer class
template<>
MFRONT_VISIBILITY_EXPORT tfel::utilities::DataMap mfront::read (tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
 read a data map from a stream created by the CxxTokenizer class
template<typename T>
void mfront::read (T &, tfel::utilities::CxxTokenizer::const_iterator &, const tfel::utilities::CxxTokenizer::const_iterator)
 read an object of type T from a stream created by the CxxTokenizer class
MFRONT_VISIBILITY_EXPORT std::pair< std::string, VariableBoundsDescription > mfront::readVariableBounds (tfel::utilities::CxxTokenizer::const_iterator &p, const tfel::utilities::CxxTokenizer::const_iterator pe)
 read the bounds associated to a variable

Detailed Description

This header declares a set of functions to read information from an mfront file.

Author
Thomas Helfer
Date
23/04/2025