#include <ShapeParameter.hpp>
Public Member Functions | |
ShapeParameter (ELaw law=ELaw::fromKey("CONSTANT"), double value=0.) | |
ShapeParameter (const ShapeParameter &r) | |
ShapeParameter & | operator= (const ShapeParameter &r) |
virtual | ~ShapeParameter () |
virtual String | toString (const AStringFormat *strfmt=nullptr) const override |
Interface to AStringable. More... | |
ELaw | getLaw () const |
const VectorDouble & | getValarg () const |
double | getValarg (int iarg) const |
int | getNbValarg () const |
void | setLaw (ELaw law) |
void | setValarg (int iarg, double value) |
double | generateValue () const |
Public Member Functions inherited from AStringable | |
AStringable () | |
AStringable (const AStringable &r) | |
AStringable & | operator= (const AStringable &r) |
virtual | ~AStringable () |
virtual void | display (const AStringFormat *strfmt=nullptr) const final |
virtual void | display (int level) const final |
ShapeParameter::ShapeParameter | ( | ELaw | law = ELaw::fromKey("CONSTANT") , |
double | value = 0. |
||
) |
ShapeParameter::ShapeParameter | ( | const ShapeParameter & | r | ) |
|
virtual |
double ShapeParameter::generateValue | ( | ) | const |
|
inline |
|
inline |
|
inline |
double ShapeParameter::getValarg | ( | int | iarg | ) | const |
ShapeParameter & ShapeParameter::operator= | ( | const ShapeParameter & | r | ) |
|
inline |
void ShapeParameter::setValarg | ( | int | iarg, |
double | value | ||
) |
|
overridevirtual |
Interface to AStringable.
Reimplemented from AStringable.