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

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

Inheritance diagram for mfront::ExcelMaterialPropertyInternalInterface:
mfront::CMaterialPropertyInterface mfront::CMaterialPropertyInterfaceBase mfront::AbstractMaterialPropertyInterface

Public Member Functions

 ExcelMaterialPropertyInternalInterface ()
 constructor
void writeInterfaceSymbol (std::ostream &, const MaterialPropertyDescription &) const override
 ~ExcelMaterialPropertyInternalInterface () override
 destructor
Public Member Functions inherited from mfront::CMaterialPropertyInterface
std::pair< bool, tokens_iterator > treatKeyword (const std::string &, const std::vector< std::string > &, tokens_iterator, const tokens_iterator) override
void getTargetsDescription (TargetsDescription &, const MaterialPropertyDescription &) const override
 : fill the target descripton
 ~CMaterialPropertyInterface () override
 destructor
Public Member Functions inherited from mfront::CMaterialPropertyInterfaceBase
 CMaterialPropertyInterfaceBase ()
 constructor
void setOptions (const DataMap &) override
 give options to the interface
void writeOutputFiles (const MaterialPropertyDescription &, const FileDescription &) const override
 generate the output files
 ~CMaterialPropertyInterfaceBase () override
 destructor
Public Member Functions inherited from mfront::AbstractMaterialPropertyInterface
virtual ~AbstractMaterialPropertyInterface ()
 destructor

Static Public Member Functions

static std::string getName ()
Static Public Member Functions inherited from mfront::CMaterialPropertyInterface
static std::string getName ()
Static Public Member Functions inherited from mfront::CMaterialPropertyInterfaceBase
static VariableDescriptionContainer::size_type getVariableNumber (const MaterialPropertyDescription &, const std::string &)

Additional Inherited Members

Public Types inherited from mfront::AbstractMaterialPropertyInterface
using DataMap = tfel::utilities::DataMap
 a simple alias
using tokens_iterator
 a simple alias
Protected Member Functions inherited from mfront::CMaterialPropertyInterface
void writeBeginHeaderNamespace (std::ostream &) const override
void writeEndHeaderNamespace (std::ostream &) const override
void writeBeginSrcNamespace (std::ostream &) const override
void writeEndSrcNamespace (std::ostream &) const override
std::string getFunctionName (const MaterialPropertyDescription &) const override
std::string getCheckBoundsFunctionName (const MaterialPropertyDescription &) const override
bool requiresCheckBoundsFunction () const override
Protected Member Functions inherited from mfront::CMaterialPropertyInterfaceBase
virtual std::vector< std::string > getSupportedFloatingPointTypes () const
virtual bool shallGenerateOverloadedFunctionForQuantities () const
 if the material property supports quantities, this methods returns if an overloaded function supporting quantities shall be generated.
virtual void writeArgumentsList (std::ostream &, const MaterialPropertyDescription &, const std::string_view, const bool) const
 write the list of arguments
virtual void writeMaterialPropertyBody (std::ostream &, const MaterialPropertyDescription &, const FileDescription &, const std::string_view, const bool) const
 write the body of the material property function
virtual void writeMaterialPropertyCheckBoundsBody (std::ostream &, const MaterialPropertyDescription &, const std::string_view) const
 write the body of the check bounds function
virtual void writeInterfaceSpecificVariables (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeFileDescriptionSymbols (std::ostream &, const MaterialPropertyDescription &, const FileDescription &) const
virtual void writeValidatorSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeCompatibilityModeSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeBuildIdentifierSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeEntryPointSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeTFELVersionSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeUnitSystemSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeLawSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeMaterialSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeMaterialKnowledgeTypeSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeVariablesNamesSymbol (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeVariablesBoundsSymbols (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeSrcPreprocessorDirectives (std::ostream &, const MaterialPropertyDescription &) const
virtual void writeCErrorTreatment (std::ostream &, const MaterialPropertyDescription &, const std::string_view, const bool) const
virtual void writeCxxTryBlock (std::ostream &) const
 write the try statement before the material property body
virtual void writeCxxCatchBlock (std::ostream &, const MaterialPropertyDescription &, const std::string_view, const bool) const
 write catch blocks before the material property body
virtual void returnInvalidValue (std::ostream &, std::string_view, const MaterialPropertyDescription &, const std::string_view, const bool) const
 write catch blocks before the material property body
virtual std::string getSymbolName (const MaterialPropertyDescription &) const
virtual void writeHeaderFile (const MaterialPropertyDescription &, const FileDescription &) const
 : write the source file. The headerFile member has been opened appropriately and will be closed after the call.
virtual void writeSrcFile (const MaterialPropertyDescription &, const FileDescription &) const
 : write the source file. The srcFile member has been opened appropriately and will be closed after the call.

Detailed Description

An interface used to generate the dll to be called by excel. This interface is called by the Excel interface: the Excel generates a VBA file who refers to the library that is generated by this interface. The only difference between this interface and the C interface is the calling convention used by 32 bits windows: the C interface uses the __cdecl calling convention whereas the Excel interface uses the __stdcall one.

Member Function Documentation

◆ getName()

std::string mfront::ExcelMaterialPropertyInternalInterface::getName ( )
static
Returns
the name of this interface

◆ writeInterfaceSymbol()

void mfront::ExcelMaterialPropertyInternalInterface::writeInterfaceSymbol ( std::ostream & ,
const MaterialPropertyDescription &  ) const
overridevirtual
Parameters
[out]osoutput file stream
[in]mpdmaterial property description

Reimplemented from mfront::CMaterialPropertyInterface.


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