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

This file declare the CompatibilityMode structure and associated functions. More...

#include <array>
#include <limits>
#include <optional>
#include <string_view>
#include "MFront/MFrontConfig.hxx"

Classes

struct  mfront::CompatibilityMode
 struct describing the various compatibility modes available More...
struct  mfront::CompatibilityMode::Version
 simple data structure describing a version with three numbers named major, minor and patch More...

Namespaces

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

Functions

MFRONT_VISIBILITY_EXPORT void mfront::setDefaultCompatibilityMode (const CompatibilityMode::Version &)
 set the default compatibility mode, stored in a global static variable.
MFRONT_VISIBILITY_EXPORT void mfront::setDefaultCompatibilityMode (std::string_view)
 set the default compatibility mode, stored in a global static variable.
MFRONT_VISIBILITY_EXPORT std::optional< CompatibilityMode::Version > mfront::getDefaultCompatibilityMode () noexcept
MFRONT_VISIBILITY_EXPORT CompatibilityMode::Version mfront::getGreatestCompatibilityMode () noexcept
MFRONT_VISIBILITY_EXPORT void mfront::check (const CompatibilityMode::Version &)
 check if the given version is ok
MFRONT_VISIBILITY_EXPORT std::string mfront::to_string (const CompatibilityMode::Version &)

Detailed Description

This file declare the CompatibilityMode structure and associated functions.

Author
Thomas Helfer
Date
08/11/2026