1.2.3
CCC
 
Constraints Class Reference

#include <Constraints.hpp>

Inheritance diagram for Constraints:
AStringable

Public Member Functions

 Constraints (double constantSillValue=TEST, const VectorDouble &constantSills=VectorDouble())
 
 Constraints (const Constraints &m)
 
Constraintsoperator= (const Constraints &m)
 
virtual ~Constraints ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 
void addItem (const ConsItem *item)
 
void addItemFromParamId (const EConsElem &elem=EConsElem::fromKey("UNKNOWN"), int icov=0, int iv1=0, int iv2=0, const EConsType &type=EConsType::fromKey("DEFAULT"), double value=0.)
 
int isDefined () const
 
int isDefinedForSill () const
 
int getConsItemNumber () const
 
const std::vector< ConsItem * > & getConsItems () const
 
const ConsItemgetConsItems (int i) const
 
void modifyConstraintsForSill ()
 
double getConstantSillValue () const
 
const VectorDoublegetConstantSills () const
 
double getConstantSills (int ivar) const
 
void setConstantSillValue (double value)
 
void setConstantSills (const VectorDouble &constantSills)
 
void expandConstantSill (int nvar)
 
bool isConstraintSillDefined () const
 
void setValue (int item, double value)
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

Constraints::Constraints ( double  constantSillValue = TEST,
const VectorDouble constantSills = VectorDouble() 
)
Constraints::Constraints ( const Constraints m)
Constraints::~Constraints ( )
virtual

Member Function Documentation

void Constraints::addItem ( const ConsItem item)
void Constraints::addItemFromParamId ( const EConsElem &  elem = EConsElem::fromKey("UNKNOWN"),
int  icov = 0,
int  iv1 = 0,
int  iv2 = 0,
const EConsType &  type = EConsType::fromKey("DEFAULT"),
double  value = 0. 
)
void Constraints::expandConstantSill ( int  nvar)
int Constraints::getConsItemNumber ( ) const
inline
const std::vector<ConsItem*>& Constraints::getConsItems ( ) const
inline
const ConsItem* Constraints::getConsItems ( int  i) const
inline
const VectorDouble& Constraints::getConstantSills ( ) const
inline
double Constraints::getConstantSills ( int  ivar) const
inline
double Constraints::getConstantSillValue ( ) const
inline
bool Constraints::isConstraintSillDefined ( ) const
int Constraints::isDefined ( ) const
inline
int Constraints::isDefinedForSill ( ) const
void Constraints::modifyConstraintsForSill ( )
Constraints & Constraints::operator= ( const Constraints m)
void Constraints::setConstantSills ( const VectorDouble constantSills)
inline
void Constraints::setConstantSillValue ( double  value)
inline
void Constraints::setValue ( int  item,
double  value 
)
String Constraints::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Reimplemented from AStringable.


The documentation for this class was generated from the following files: