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

An array expression defined as a table row. More...

#include <ARow.h>

Inheritance diagram for Expressions::ARow:
Collaboration diagram for Expressions::ARow:

Public Member Functions

 ARow (const std::string &tabName, const PlaceRep &row, const std::vector< std::string > &col)
 Constructor.
 ARow (const ARow &)
 ~ARow ()
virtual OArray< double > * clone () const
 Make clone.
virtual std::vector< double > evaluate () const
 Evaluate.
virtual void print (std::ostream &os, int precedence=99) const
 Print expression.
virtual bool isConstant () const
 Test for constant.

Private Member Functions

 ARow ()
const ARowoperator= (const ARow &)

Private Attributes

const std::string tabName
PlaceRep position
const std::vector< std::string > columns

Detailed Description

An array expression defined as a table row.

Definition at line 35 of file ARow.h.

Constructor & Destructor Documentation

◆ ARow() [1/3]

Expressions::ARow::ARow ( const std::string & tabName,
const PlaceRep & row,
const std::vector< std::string > & col )

Constructor.

Definition at line 36 of file ARow.cpp.

References columns, Expressions::OArray< double >::OArray(), position, and tabName.

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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ARow() [2/3]

Expressions::ARow::ARow ( const ARow & rhs)

Definition at line 30 of file ARow.cpp.

References ARow(), columns, Expressions::OArray< double >::OArray(), position, and tabName.

Here is the call graph for this function:

◆ ~ARow()

Expressions::ARow::~ARow ( )

Definition at line 42 of file ARow.cpp.

◆ ARow() [3/3]

Expressions::ARow::ARow ( )
private

Referenced by clone().

Here is the caller graph for this function:

Member Function Documentation

◆ clone()

OArray< double > * Expressions::ARow::clone ( ) const
virtual

Make clone.

Implements Expressions::OArray< double >.

Definition at line 46 of file ARow.cpp.

References ARow(), and Expressions::OArray< double >::OArray().

Here is the call graph for this function:

◆ evaluate()

std::vector< double > Expressions::ARow::evaluate ( ) const
virtual

Evaluate.

Implements Expressions::OArray< double >.

Definition at line 51 of file ARow.cpp.

References columns, Table::fill(), Table::find(), Table::getRow(), position, and tabName.

Here is the call graph for this function:

◆ isConstant()

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

Test for constant.

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

◆ operator=()

const ARow & Expressions::ARow::operator= ( const ARow & )
private

References ARow().

Here is the call graph for this function:

◆ print()

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

Print expression.

Implements Expressions::OArray< double >.

Definition at line 58 of file ARow.cpp.

References columns, position, and tabName.

Member Data Documentation

◆ columns

const std::vector<std::string> Expressions::ARow::columns
private

Definition at line 71 of file ARow.h.

Referenced by ARow(), ARow(), evaluate(), and print().

◆ position

PlaceRep Expressions::ARow::position
private

Definition at line 68 of file ARow.h.

Referenced by ARow(), ARow(), evaluate(), and print().

◆ tabName

const std::string Expressions::ARow::tabName
private

Definition at line 65 of file ARow.h.

Referenced by ARow(), ARow(), evaluate(), and print().


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