Public Member Functions | Private Attributes
Sundance::NonlinearUnaryOp Class Reference
Inheritance diagram for Sundance::NonlinearUnaryOp:
Sundance::UnaryExpr Sundance::GenericEvaluatorFactory< NonlinearUnaryOp, NonlinearUnaryOpEvaluator > Sundance::ExprWithChildren Sundance::EvaluatorFactory Sundance::EvaluatableExpr Sundance::ScalarExpr Sundance::EvaluatorFactory Sundance::FuncSetAccumulator Sundance::ObjectWithClassVerbosity< EvaluatableExpr > Sundance::ExprBase Playa::ObjectWithVerbosity Playa::Handleable< ExprBase >

List of all members.

Public Member Functions

 NonlinearUnaryOp (const RCP< ScalarExpr > &arg, const RCP< UnaryFunctor > &op)
virtual ~NonlinearUnaryOp ()
virtual std::ostream & toText (std::ostream &os, bool paren) const
virtual XMLObject toXML () const
virtual RCP< ExprBasegetRcp ()
const UnaryFunctorop () const
virtual bool lessThan (const ScalarExpr *other) const

Private Attributes

RCP< UnaryFunctorop_

Detailed Description

Definition at line 67 of file SundanceNonlinearUnaryOp.hpp.


Constructor & Destructor Documentation

NonlinearUnaryOp::NonlinearUnaryOp ( const RCP< ScalarExpr > &  arg,
const RCP< UnaryFunctor > &  op 
)

construct with an argument and the functor defining the operation

Definition at line 51 of file SundanceNonlinearUnaryOp.cpp.

virtual Sundance::NonlinearUnaryOp::~NonlinearUnaryOp ( ) [inline, virtual]

virtual destructor

Definition at line 76 of file SundanceNonlinearUnaryOp.hpp.


Member Function Documentation

virtual RCP<ExprBase> Sundance::NonlinearUnaryOp::getRcp ( ) [inline, virtual]

Implements Playa::Handleable< ExprBase >.

Definition at line 86 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 59 of file SundanceNonlinearUnaryOp.cpp.

References op().

const UnaryFunctor* Sundance::NonlinearUnaryOp::op ( ) const [inline]

Access to the operator

Definition at line 90 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 73 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 80 of file SundanceNonlinearUnaryOp.cpp.

References Sundance::UnaryExpr::arg(), op_, and toXML().

Referenced by toXML().


Member Data Documentation

Definition at line 98 of file SundanceNonlinearUnaryOp.hpp.

Referenced by op(), toText(), and toXML().

Site Contact