Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
Catch::UnaryExpr< LhsT > Class Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::UnaryExpr< LhsT >:
Collaboration diagram for Catch::UnaryExpr< LhsT >:

Public Member Functions

 UnaryExpr (LhsT lhs)
 
- Public Member Functions inherited from Catch::ITransientExpression
auto isBinaryExpression () const -> bool
 
auto getResult () const -> bool
 
 ITransientExpression (bool isBinaryExpression, bool result)
 
virtual ~ITransientExpression ()
 

Private Member Functions

void streamReconstructedExpression (std::ostream &os) const override
 

Private Attributes

LhsT m_lhs
 

Additional Inherited Members

- Public Attributes inherited from Catch::ITransientExpression
bool m_isBinaryExpression
 
bool m_result
 

Detailed Description

template<typename LhsT>
class Catch::UnaryExpr< LhsT >

Definition at line 1507 of file catch.hpp.

Constructor & Destructor Documentation

template<typename LhsT >
Catch::UnaryExpr< LhsT >::UnaryExpr ( LhsT  lhs)
inlineexplicit

Definition at line 1515 of file catch.hpp.

1516  : ITransientExpression{ false, lhs ? true : false },
1517  m_lhs( lhs )
1518  {}
ITransientExpression(bool isBinaryExpression, bool result)
Definition: catch.hpp:1470

Member Function Documentation

template<typename LhsT >
void Catch::UnaryExpr< LhsT >::streamReconstructedExpression ( std::ostream &  os) const
inlineoverrideprivatevirtual

Implements Catch::ITransientExpression.

Definition at line 1510 of file catch.hpp.

References Catch::Detail::stringify().

1510  {
1512  }
std::string stringify(const T &e)
Definition: catch.hpp:955

Member Data Documentation

template<typename LhsT >
LhsT Catch::UnaryExpr< LhsT >::m_lhs
private

Definition at line 1508 of file catch.hpp.


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