31 namespace Expressions {
34 (
const std::string &tab,
const PlaceRep &place,
const std::string &col):
35 tab_name(tab), position(place), col_name(col), itsChannel(0)
45 return new SCell(tab_name, position, col_name);
49 double SCell::evaluate()
const {
55 return table->
getCell(position, col_name);
59 void SCell::print(std::ostream &os,
int)
const {
60 os << tab_name <<
"->" << position;
61 os <<
"->" << col_name;
virtual void fill()=0
Refill the buffer.
Representation of a place within a beam line or sequence.
A scalar expression referring to a table cell.
static Table * find(const std::string &name)
Find named Table.
virtual double getCell(const PlaceRep &row, const std::string &col)=0
Return value in selected table cell.
The base class for all OPAL tables.