1#ifndef OPAL_SDeferred_HH
2#define OPAL_SDeferred_HH
62 virtual void print(std::ostream &)
const;
110 "Recursive expression definitions found.");
119 "Evaluating expression \"" +
120 this->getImage() +
"\": " + ex.
what());
124 "Evaluating expression \"" +
125 this->getImage() +
"\": " + ex.
what());
126 }
catch(std::exception &ex) {
129 "Standard C++ exception while evaluating \"" +
134 "Unknown exception while evaluating \"" +
Representation objects and parsers for attribute expressions.
std::string getImage() const
Convert to string.
A pointer to a scalar expression.
The abstract base class for all exceptions in CLASSIC.
virtual T evaluate()
Evaluate.
virtual SDeferred< T > * clone() const
Make clone.
SDeferred(PtrToScalar< T > expr)
Constructor.
PtrToScalar< T > expr_ptr
Pointer to expression.
void operator=(const SDeferred< T > &)
virtual void print(std::ostream &) const
Print the attribute value.
virtual bool isExpression() const
Return expression flag.
T value
The value of the attribute.
SValue()
Default constructor.
The base class for all OPAL exceptions.
virtual const std::string & what() const
Return the message string for the exception.
virtual const std::string & where() const
Return the name of the method or function which detected the exception.