
Public Member Functions | |
| NonlinearUnaryOp (const RCP< ScalarExpr > &arg, const RCP< UnaryFunctor > &op) | |
| construct with an argument and the functor defining the operation | |
| virtual | ~NonlinearUnaryOp () |
| virtual destructor | |
| virtual std::ostream & | toText (std::ostream &os, bool paren) const |
| Write a simple text description suitable for output to a terminal. | |
| virtual XMLObject | toXML () const |
| Write in XML. | |
| virtual RCP< ExprBase > | getRcp () |
| Return a safely-created RefCountPtr to the base type. | |
| const UnaryFunctor * | op () const |
| Access to the operator. | |
| virtual bool | lessThan (const ScalarExpr *other) const |
| Ordering operator for use in transforming exprs to standard form. | |
Private Attributes | |
| RCP< UnaryFunctor > | op_ |
Definition at line 56 of file SundanceNonlinearUnaryOp.hpp.
| NonlinearUnaryOp::NonlinearUnaryOp | ( | const RCP< ScalarExpr > & | arg, | |
| const RCP< UnaryFunctor > & | op | |||
| ) |
construct with an argument and the functor defining the operation
Definition at line 40 of file SundanceNonlinearUnaryOp.cpp.
| virtual Sundance::NonlinearUnaryOp::~NonlinearUnaryOp | ( | ) | [inline, virtual] |
| virtual RCP<ExprBase> Sundance::NonlinearUnaryOp::getRcp | ( | ) | [inline, virtual] |
Return a safely-created RefCountPtr to the base type.
Implements Playa::Handleable< ExprBase >.
Definition at line 75 of file SundanceNonlinearUnaryOp.hpp.
| bool NonlinearUnaryOp::lessThan | ( | const ScalarExpr * | other | ) | const [virtual] |
Ordering operator for use in transforming exprs to standard form.
Reimplemented from Sundance::ExprWithChildren.
Definition at line 48 of file SundanceNonlinearUnaryOp.cpp.
References op().
| const UnaryFunctor* Sundance::NonlinearUnaryOp::op | ( | ) | const [inline] |
Access to the operator.
Definition at line 79 of file SundanceNonlinearUnaryOp.hpp.
References op_.
Referenced by lessThan().
| std::ostream & NonlinearUnaryOp::toText | ( | std::ostream & | os, | |
| bool | paren | |||
| ) | const [virtual] |
Write a simple text description suitable for output to a terminal.
Implements Sundance::ExprBase.
Definition at line 62 of file SundanceNonlinearUnaryOp.cpp.
References Sundance::UnaryExpr::arg(), op_, and Sundance::Expr::toString().
| XMLObject NonlinearUnaryOp::toXML | ( | ) | const [virtual] |
Write in XML.
Implements Sundance::ExprBase.
Definition at line 69 of file SundanceNonlinearUnaryOp.cpp.
References Sundance::UnaryExpr::arg(), op_, and toXML().
Referenced by toXML().
RCP<UnaryFunctor> Sundance::NonlinearUnaryOp::op_ [private] |
Definition at line 87 of file SundanceNonlinearUnaryOp.hpp.