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

Specialisation of BinaryOp for runtime arguments (Expr). More...

#include <runtime.hpp>

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

Public Member Functions

 BinaryOp (const Expr &lhs, const Expr &rhs)
 
Expr clone () const
 
Expr getLHS () const
 
Expr getRHS () const
 
bool operator== (const BinaryOp &o) const
 
Expr visit (detail::VisitorInterface &c) const
 
- Public Member Functions inherited from sym::RTBaseHelper< BinaryOp< Expr, Op, Expr > >
Expr clone () const
 
bool operator== (const Expr o) const
 
- Public Member Functions inherited from sym::RTBase
virtual ~RTBase ()
 

Public Attributes

Expr _l
 
Expr _r
 

Detailed Description

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

Definition at line 318 of file runtime.hpp.

Constructor & Destructor Documentation

◆ BinaryOp()

template<typename Op >
sym::BinaryOp< Expr, Op, Expr >::BinaryOp ( const Expr lhs,
const Expr rhs 
)
inline

Definition at line 319 of file runtime.hpp.

Member Function Documentation

◆ clone()

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

Implements sym::RTBase.

Definition at line 321 of file runtime.hpp.

◆ getLHS()

template<typename Op >
Expr sym::BinaryOp< Expr, Op, Expr >::getLHS ( ) const
inline

Definition at line 329 of file runtime.hpp.

◆ getRHS()

template<typename Op >
Expr sym::BinaryOp< Expr, Op, Expr >::getRHS ( ) const
inline

Definition at line 333 of file runtime.hpp.

◆ operator==()

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

Definition at line 325 of file runtime.hpp.

◆ visit()

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

Implements sym::RTBase.

Definition at line 373 of file runtime.hpp.

Member Data Documentation

◆ _l

template<typename Op >
Expr sym::BinaryOp< Expr, Op, Expr >::_l

Definition at line 339 of file runtime.hpp.

◆ _r

template<typename Op >
Expr sym::BinaryOp< Expr, Op, Expr >::_r

Definition at line 340 of file runtime.hpp.


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