OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Member Functions | Private Attributes | List of all members
Expressions::ARow Class Reference

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

#include <ARow.h>

Inheritance diagram for Expressions::ARow:
Inheritance graph
[legend]
Collaboration diagram for Expressions::ARow:
Collaboration graph
[legend]

Public Member Functions

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

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

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

Constructor.

Definition at line 37 of file ARow.cpp.

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

Definition at line 31 of file ARow.cpp.

Expressions::ARow::~ARow ( )

Definition at line 43 of file ARow.cpp.

Expressions::ARow::ARow ( )
private

Referenced by clone().

Member Function Documentation

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

Make clone.

Implements Expressions::OArray< double >.

Definition at line 47 of file ARow.cpp.

References ARow().

Here is the call graph for this function:

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

Evaluate.

Implements Expressions::OArray< double >.

Definition at line 52 of file ARow.cpp.

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

Here is the call graph for this function:

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

Print expression.

Implements Expressions::OArray< double >.

Definition at line 59 of file ARow.cpp.

References columns, position, and tabName.

Member Data Documentation

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

Definition at line 71 of file ARow.h.

Referenced by evaluate(), and print().

PlaceRep Expressions::ARow::position
private

Definition at line 68 of file ARow.h.

Referenced by evaluate(), and print().

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

Definition at line 65 of file ARow.h.

Referenced by evaluate(), and print().


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