kiwi
Constraint
Constraint
#include <constraint.h>class ConstraintDefined in kiwi/constraint.h:29
List of all members
| Name | Kind | Owner |
|---|---|---|
operator< | friend | Declared here |
operator== | friend | Declared here |
operator!= | friend | Declared here |
Constraint | function | Declared here |
Constraint | function | Declared here |
Constraint | function | Declared here |
Constraint | function | Declared here |
Constraint | function | Declared here |
expression | function | Declared here |
op | function | Declared here |
strength | function | Declared here |
violated | function | Declared here |
operator! | function | Declared here |
m_data | variable | Declared here |
reduce | function | Declared here |
Friends
| Name | Description |
|---|---|
operator< inline | |
operator== inline | |
operator!= inline |
operator<
inline
friend inline bool operator<(const Constraint & lhs, const Constraint & rhs)Defined in kiwi/constraint.h:124
References
operator==
inline
friend inline bool operator==(const Constraint & lhs, const Constraint & rhs)Defined in kiwi/constraint.h:129
References
operator!=
inline
friend inline bool operator!=(const Constraint & lhs, const Constraint & rhs)Defined in kiwi/constraint.h:134
References
Public Methods
| Return | Name | Description |
|---|---|---|
Constraint | Defaulted constructor. | |
Constraint inline | ||
Constraint inline | ||
Constraint | Defaulted constructor. | |
Constraint noexcept | Defaulted constructor. | |
const Expression & | expression const inline | |
RelationalOperator | op const inline | |
double | strength const inline | |
bool | violated const inline | |
bool | operator! const inline |
Constraint
Constraint() = defaultDefined in kiwi/constraint.h:33
Referenced by
Defaulted constructor.
Constraint
inline
inline Constraint(const Expression & expr, RelationalOperator op, double strength = strength::required)Defined in kiwi/constraint.h:35
References
Constraint
inline
inline Constraint(const Constraint & other, double strength)Defined in kiwi/constraint.h:39
References
Constraint
Constraint(const Constraint &) = defaultDefined in kiwi/constraint.h:41
References
Defaulted constructor.
Constraint
noexcept
Constraint(Constraint &&) noexcept = defaultDefined in kiwi/constraint.h:43
References
Defaulted constructor.
expression
const inline
inline const Expression & expression() constDefined in kiwi/constraint.h:47
Referenced by
References
op
const inline
inline RelationalOperator op() constDefined in kiwi/constraint.h:52
Referenced by
strength
const inline
inline double strength() constDefined in kiwi/constraint.h:57
Referenced by
violated
const inline
inline bool violated() constDefined in kiwi/constraint.h:62
References
operator!
const inline
inline bool operator!() constDefined in kiwi/constraint.h:74
Private Attributes
| Return | Name | Description |
|---|---|---|
SharedDataPtr< ConstraintData > | m_data |
m_data
SharedDataPtr< ConstraintData > m_dataDefined in kiwi/constraint.h:122
Private Static Methods
| Return | Name | Description |
|---|---|---|
Expression | reduce static inline |
reduce
static inline
static inline Expression reduce(const Expression & expr)