tfel
Loading...
Searching...
No Matches
ExternalBehaviourDescription.hxx File Reference
#include <vector>
#include <string>
#include "TFEL/Config/TFELConfig.hxx"
#include "TFEL/System/ExternalMaterialKnowledgeDescription.hxx"

Classes

struct  tfel::system::ExternalBehaviourDescription
 a structure containing the information that could be retrieved by the ExternalLibraryManger class about a given behaviour for a given hypothesis. More...

Namespaces

namespace  tfel
 the namespace tfel encloses all the TFEL project. This namespace is empty.

Typedefs

using tfel::system::ExternalBehaviourData = ExternalBehaviourDescription
 a simple alias

Functions

TFELSYSTEM_VISIBILITY_EXPORT tfel::system::ExternalBehaviourData * newExternalBehaviourData ()
 build a new behaviour data
TFELSYSTEM_VISIBILITY_EXPORT void freeExternalBehaviourData (tfel::system::ExternalBehaviourData *)
 build a new behaviour data
TFELSYSTEM_VISIBILITY_EXPORT char * getExternalBehaviourData (tfel::system::ExternalBehaviourData *const, const char *const, const char *const, const char *const)
 retrieving the information from a behaviour

Detailed Description

Author
Thomas Helfer
Date
15/06/2015

Function Documentation

◆ freeExternalBehaviourData()

TFELSYSTEM_VISIBILITY_EXPORT void freeExternalBehaviourData ( tfel::system::ExternalBehaviourData * )

build a new behaviour data

Author
DeltaCAD
Note
the behaviour data

◆ getExternalBehaviourData()

TFELSYSTEM_VISIBILITY_EXPORT char * getExternalBehaviourData ( tfel::system::ExternalBehaviourData * const ,
const char * const ,
const char * const ,
const char * const  )

retrieving the information from a behaviour

Author
DeltaCAD
Parameters
[in]ddata to be fetched
[in]llibrary
[in]bbehaviour
[in]hmodelling hypothesis
Returns
nullptr on success, an error message otherwise.
If an error message is set, it must be freed using std::free If the allocation of the error message fails, std::exit is called

◆ newExternalBehaviourData()

TFELSYSTEM_VISIBILITY_EXPORT tfel::system::ExternalBehaviourData * newExternalBehaviourData ( )

build a new behaviour data

Author
DeltaCAD
Note
the behaviour data must be freed using freeExternalBehaviourData