12#ifndef ARCANE_CORE_CASEFUNCTION2_H
13#define ARCANE_CORE_CASEFUNCTION2_H
17#include "arcane/utils/Real3.h"
18#include "arcane/core/CaseFunction.h"
55 v = valueAsReal(param);
59 v = valueAsInteger(param);
63 v = valueAsBool(param);
67 v = valueAsString(param);
71 v = valueAsReal3(param);
75 v = valueAsReal(param);
79 v = valueAsInteger(param);
81 void value(
Integer param,
bool& v)
const override
83 v = valueAsBool(param);
87 v = valueAsString(param);
91 v = valueAsReal3(param);
96 virtual Real valueAsReal(
Real param)
const = 0;
97 virtual Integer valueAsInteger(
Real param)
const = 0;
98 virtual bool valueAsBool(
Real param)
const = 0;
99 virtual String valueAsString(
Real param)
const = 0;
100 virtual Real3 valueAsReal3(
Real param)
const = 0;
104 virtual bool valueAsBool(
Integer param)
const = 0;
void value(Integer param, Real3 &v) const override
Value v of the option for parameter param.
void value(Integer param, String &v) const override
Value v of the option for parameter param.
void value(Real param, String &v) const override
Value v of the option for parameter param.
void value(Real param, Integer &v) const override
Value v of the option for parameter param.
void value(Real param, Real3 &v) const override
Value v of the option for parameter param.
void value(Real param, bool &v) const override
Value v of the option for parameter param.
void value(Real param, Real &v) const override
Value v of the option for parameter param.
CaseFunction2(const CaseFunctionBuildInfo &cfbi)
Constructs a data set function.
void value(Integer param, Real &v) const override
Value v of the option for parameter param.
void value(Integer param, Integer &v) const override
Value v of the option for parameter param.
Information to build an instance of CaseFunction.
CaseFunction(const CaseFunctionBuildInfo &info)
Constructs a dataset function.
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.