18 #ifndef _MBSIM_FUNCTION_H_
19 #define _MBSIM_FUNCTION_H_
21 #include "mbsim/element.h"
22 #include "fmatvec/function.h"
24 #include <xercesc/dom/DOMElement.hpp>
27 std::string uniqueDummyName(
void *p) {
28 std::stringstream str;
42 virtual Element* getDependency()
const {
return 0; }
48 template<
typename Sig>
55 void initializeUsingXML(xercesc::DOMElement *element);
58 template<
typename Sig>
59 void Function<Sig>::initializeUsingXML(xercesc::DOMElement *element) {
60 FunctionBase::initializeUsingXML(element);
61 if(MBXMLUtils::E(element)->hasAttribute(
"name"))
62 THROW_MBSIMERROR(
"No 'name' attribute allowed for Function's.");
basic class of MBSim mainly for plotting
Definition: element.h:58
Definition: planar_contour.h:31
Function()
Definition: function.h:53
FunctionBase()
Definition: function.h:41
Definition: function.h:37