stator
A math, geometry, and utility library
Public Member Functions | Public Attributes | List of all members
sym::UnaryOp< Expr, Op > Struct Template Reference

Specialisation of unary operator for runtime arguments and use in runtime expressions (Expr). More...

#include <runtime.hpp>

Inheritance diagram for sym::UnaryOp< Expr, Op >:
sym::RTBaseHelper< UnaryOp< Expr, Op > > sym::Dynamic sym::RTBase sym::SymbolicOperator

Public Member Functions

 UnaryOp (const Expr &arg)
 
Expr clone () const
 
Expr getArg () const
 
bool operator== (const UnaryOp< Expr, Op > &o) const
 
Expr visit (detail::VisitorInterface &c) const
 
- Public Member Functions inherited from sym::RTBaseHelper< UnaryOp< Expr, Op > >
Expr clone () const
 
bool operator== (const Expr o) const
 
- Public Member Functions inherited from sym::RTBase
virtual ~RTBase ()
 

Public Attributes

Expr _arg
 

Detailed Description

template<typename Op>
struct sym::UnaryOp< Expr, Op >

Definition at line 295 of file runtime.hpp.

Constructor & Destructor Documentation

◆ UnaryOp()

template<typename Op >
sym::UnaryOp< Expr, Op >::UnaryOp ( const Expr arg)
inline

Definition at line 296 of file runtime.hpp.

Member Function Documentation

◆ clone()

template<typename Op >
Expr sym::UnaryOp< Expr, Op >::clone ( ) const
inlinevirtual

Implements sym::RTBase.

Definition at line 298 of file runtime.hpp.

◆ getArg()

template<typename Op >
Expr sym::UnaryOp< Expr, Op >::getArg ( ) const
inline

Definition at line 306 of file runtime.hpp.

◆ operator==()

template<typename Op >
bool sym::UnaryOp< Expr, Op >::operator== ( const UnaryOp< Expr, Op > &  o) const
inline

Definition at line 302 of file runtime.hpp.

◆ visit()

template<class Op >
Expr sym::UnaryOp< Expr, Op >::visit ( detail::VisitorInterface c) const
virtual

Implements sym::RTBase.

Definition at line 376 of file runtime.hpp.

Member Data Documentation

◆ _arg

template<typename Op >
Expr sym::UnaryOp< Expr, Op >::_arg

Definition at line 312 of file runtime.hpp.


The documentation for this struct was generated from the following file: