kiwi

Expression

Expression

#include <expression.h>
class Expression

Defined in kiwi/expression.h:15

List of all members

NameKindOwner
ExpressionfunctionDeclared here
ExpressionfunctionDeclared here
ExpressionfunctionDeclared here
ExpressionfunctionDeclared here
ExpressionfunctionDeclared here
termsfunctionDeclared here
constantfunctionDeclared here
valuefunctionDeclared here
m_termsvariableDeclared here
m_constantvariableDeclared here

Public Methods

ReturnNameDescription
Expression inline
Expression inline
Expression inline
ExpressionDefaulted constructor.
ExpressionDefaulted constructor.
const std::vector< Term > &terms const inline
doubleconstant const inline
doublevalue const inline

Expression

inline

inline Expression(double constant = 0.0)

Defined in kiwi/expression.h:19

Referenced by

References


Expression

inline

inline Expression(const Term & term, double constant = 0.0)

Defined in kiwi/expression.h:21

References


Expression

inline

inline Expression(std::vector< Term > terms, double constant = 0.0)

Defined in kiwi/expression.h:23

References


Expression

Expression(const Expression &) = default

Defined in kiwi/expression.h:25

References

Defaulted constructor.


Expression

Expression(Expression &&) = default

Defined in kiwi/expression.h:28

References

Defaulted constructor.


terms

const inline

inline const std::vector< Term > & terms() const

Defined in kiwi/expression.h:32

Referenced by


constant

const inline

inline double constant() const

Defined in kiwi/expression.h:37

Referenced by


value

const inline

inline double value() const

Defined in kiwi/expression.h:42

Private Attributes

ReturnNameDescription
std::vector< Term >m_terms
doublem_constant

m_terms

std::vector< Term > m_terms

Defined in kiwi/expression.h:58


m_constant

double m_constant

Defined in kiwi/expression.h:59