12#ifndef ARCANE_CORE_ICASEFUNCTION_H
13#define ARCANE_CORE_ICASEFUNCTION_H
Declarations of Arcane's general types.
#define ARCCORE_DECLARE_REFERENCE_COUNTED_INCLASS_METHODS()
Macro to declare the virtual methods managing reference counters.
Interface of a dataset function.
virtual void setName(const String &new_name)=0
Sets the function name to new_name.
virtual void value(Integer param, String &v) const =0
Value v of the option for parameter param.
virtual ~ICaseFunction()=default
Releases resources.
virtual void setValueType(eValueType type)=0
Sets the function value type.
virtual Real deltatCoef() const =0
Value of the deltat multiplier coefficient.
virtual void value(Real param, Integer &v) const =0
Value v of the option for parameter param.
eParamType
Type of a function parameter.
@ ParamUnknown
Unknown parameter type.
@ ParamReal
Real type parameter.
@ ParamInteger
Integer type parameter.
eValueType
Type of a function value.
@ ValueReal3
'Real3' type value
@ ValueUnknown
Unknown value type.
@ ValueInteger
Integer type value.
@ ValueString
String type value.
@ ValueReal
Real type value.
@ ValueBool
Boolean type value.
virtual String transformParamFunction() const =0
Parameter transformation function.
virtual void value(Real param, String &v) const =0
Value v of the option for parameter param.
virtual String name() const =0
function name
virtual bool checkIfValid() const =0
Checks the validity of the function.
virtual void setTransformValueFunction(const String &str)=0
Sets a value transformation function. For now, this is just a multiplicative coefficient....
virtual void setDeltatCoef(Real v)=0
Sets the value of the deltat multiplier coefficient.
virtual void value(Real param, Real &v) const =0
Value v of the option for parameter param.
virtual void value(Real param, Real3 &v) const =0
Value v of the option for parameter param.
virtual void value(Integer param, Real3 &v) const =0
Value v of the option for parameter param.
virtual eValueType valueType() const =0
Function value type.
virtual String transformValueFunction() const =0
Returns the value transformation function.
virtual eParamType paramType() const =0
Function parameter type.
virtual void value(Integer param, Real &v) const =0
Value v of the option for parameter param.
virtual void setParamType(eParamType type)=0
Sets the function parameter type.
virtual void value(Real param, bool &v) const =0
Value v of the option for parameter param.
virtual void setTransformParamFunction(const String &str)=0
Sets a parameter transformation function. For now, this is just a multiplicative coefficient....
virtual void value(Integer param, Integer &v) const =0
Value v of the option for parameter param.
Class managing a 3-dimensional real vector.
Unicode character string.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
double Real
Type representing a real number.