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

18 mai 2014 More...

#include <set>
#include <map>
#include <vector>
#include <string>
#include "TFEL/Metaprogramming/GenerateTypeList.hxx"
#include "TFEL/Utilities/GenTypeBase.hxx"
#include "MFront/MFrontConfig.hxx"
#include "MFront/VariableDescription.hxx"
#include "MFront/CodeBlock.ixx"

Classes

struct  mfront::CodeBlock
 structure describing a raw code block More...

Namespaces

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

Functions

template<typename T>
bool mfront::hasAttribute (const CodeBlock &, const std::string &)
 check if an attribute of the given type is defined
template<typename T>
const T & mfront::getAttribute (const CodeBlock &, const std::string &)
 return the value of an attribute.
template<typename T>
T mfront::getAttribute (const CodeBlock &, const std::string &, const T &)
 return the value of an attribute or a default value if the attribute is not defined.
MFRONT_VISIBILITY_EXPORT bool mfront::isSafe (const CodeBlock &) noexcept

Detailed Description

18 mai 2014

Author
Thomas Helfer