walberla::math::OpType Class Referenceabstract

#include <Operator.h>

+ Inheritance diagram for walberla::math::OpType:

Public Member Functions

 OpType (const char &sign, const std::string &n, const unsigned int strength)
 
virtual ~OpType ()
 
bool operator== (const OpType &type) const
 
bool operator== (const char &c) const
 
bool operator< (const OpType &type) const
 
bool operator> (const OpType &type) const
 
bool operator<= (const OpType &type) const
 
bool operator>= (const OpType &type) const
 
virtual double operator() (const double &, const double &)=0
 
const std::string & getName () const
 

Private Member Functions

OpTypeoperator= (const OpType &)
 

Private Attributes

const char sign_
 
const std::string name_
 
const unsigned int strength_
 

Friends

std::ostream & operator<< (std::ostream &os, const OpType &type)
 

Constructor & Destructor Documentation

walberla::math::OpType::OpType ( const char &  sign,
const std::string &  n,
const unsigned int  strength 
)
inline
virtual walberla::math::OpType::~OpType ( )
inlinevirtual

Member Function Documentation

const std::string& walberla::math::OpType::getName ( ) const
inline
virtual double walberla::math::OpType::operator() ( const double &  ,
const double &   
)
pure virtual
bool walberla::math::OpType::operator< ( const OpType type) const
inline
bool walberla::math::OpType::operator<= ( const OpType type) const
inline
OpType& walberla::math::OpType::operator= ( const OpType )
inlineprivate
bool walberla::math::OpType::operator== ( const OpType type) const
inline
bool walberla::math::OpType::operator== ( const char &  c) const
inline
bool walberla::math::OpType::operator> ( const OpType type) const
inline
bool walberla::math::OpType::operator>= ( const OpType type) const
inline

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const OpType type 
)
friend

Member Data Documentation

const std::string walberla::math::OpType::name_
private
const char walberla::math::OpType::sign_
private
const unsigned int walberla::math::OpType::strength_
private

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