OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
Expressions::SHash Class Reference

A scalar expression. More...

#include <SHash.h>

Inheritance diagram for Expressions::SHash:
Collaboration diagram for Expressions::SHash:

Public Member Functions

 SHash (const ATable &)
 Constructor.
 SHash (const SHash &)
virtual ~SHash ()
virtual Scalar< double > * clone () const
 Make clone.
virtual double evaluate () const
 Evaluate.
virtual void print (std::ostream &str, int precedence=99) const
 Print expression.
virtual bool isConstant () const
 Test for constant.

Private Member Functions

 SHash ()
void operator= (const SHash &)

Private Attributes

const ATableitsTable

Detailed Description

A scalar expression.

Definition at line 37 of file SHash.h.

Constructor & Destructor Documentation

◆ SHash() [1/3]

Expressions::SHash::SHash ( const ATable & table)
explicit

Constructor.

Definition at line 36 of file SHash.cpp.

References itsTable.

Referenced by operator=(), and SHash().

Here is the caller graph for this function:

◆ SHash() [2/3]

Expressions::SHash::SHash ( const SHash & rhs)

Definition at line 30 of file SHash.cpp.

References itsTable, Expressions::Scalar< double >::Scalar(), and SHash().

Here is the call graph for this function:

◆ ~SHash()

Expressions::SHash::~SHash ( )
virtual

Definition at line 41 of file SHash.cpp.

◆ SHash() [3/3]

Expressions::SHash::SHash ( )
private

Member Function Documentation

◆ clone()

Scalar< double > * Expressions::SHash::clone ( ) const
virtual

Make clone.

Implements Expressions::Scalar< double >.

Definition at line 45 of file SHash.cpp.

References itsTable, and Expressions::Scalar< double >::Scalar().

Here is the call graph for this function:

◆ evaluate()

double Expressions::SHash::evaluate ( ) const
virtual

Evaluate.

Implements Expressions::Scalar< double >.

Definition at line 50 of file SHash.cpp.

References itsTable.

◆ isConstant()

bool Expressions::Scalar< double >::isConstant ( ) const
inlinevirtualinherited

Test for constant.

Definition at line 90 of file AbstractObjects/Expressions.h.

◆ operator=()

void Expressions::SHash::operator= ( const SHash & )
private

References SHash().

Here is the call graph for this function:

◆ print()

void Expressions::SHash::print ( std::ostream & str,
int precedence = 99 ) const
virtual

Print expression.

Implements Expressions::Scalar< double >.

Definition at line 55 of file SHash.cpp.

Member Data Documentation

◆ itsTable

const ATable& Expressions::SHash::itsTable
private

Definition at line 66 of file SHash.h.

Referenced by clone(), evaluate(), SHash(), and SHash().


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