|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) master (dc2a29eed580)
OPALX
|
Abstract base class for attribute values of different types. More...
#include <AttributeBase.h>


Public Member Functions | |
| AttributeBase () | |
| virtual | ~AttributeBase () |
| virtual AttributeBase * | clone () const =0 |
| Make clone. | |
| std::string | getImage () const |
| Convert to string. | |
| virtual bool | isExpression () const |
| Test for expression. | |
| virtual void | print (std::ostream &) const =0 |
| Print value. | |
| virtual void | invalidate () |
| Force re-evaluation. | |
Private Member Functions | |
| AttributeBase (AttributeBase &) | |
| void | operator= (AttributeBase &) |
Abstract base class for attribute values of different types.
Definition at line 31 of file AttributeBase.h.
| AttributeBase::AttributeBase | ( | ) |
Definition at line 25 of file AttributeBase.cpp.
|
virtual |
Definition at line 27 of file AttributeBase.cpp.
|
private |
|
pure virtual |
| std::string AttributeBase::getImage | ( | ) | const |
Convert to string.
Definition at line 29 of file AttributeBase.cpp.
References print().

|
virtualinherited |
Force re-evaluation.
Reimplemented in Expressions::AAutomatic< T >, Expressions::SAutomatic< T >, Expressions::SRefAttr< T >, and Expressions::SRefExpr< T >.
Definition at line 25 of file Invalidator.cpp.
|
virtual |
Test for expression.
Reimplemented in Expressions::ADeferred< T >, and Expressions::SDeferred< T >.
Definition at line 36 of file AttributeBase.cpp.
Referenced by OpalElement::printMultipoleStrength().
|
private |
|
pure virtual |
Print value.
Implemented in Expressions::ADeferred< T >, Expressions::AValue< T >, Expressions::SDeferred< T >, Expressions::SRefAttr< T >, Expressions::SValue< T >, Expressions::AValue< T >, Expressions::AValue< T >, Expressions::AValue< T >, Expressions::AValue< T >, Expressions::SValue< T >, Expressions::SValue< T >, and Expressions::SValue< T >.
Referenced by getImage(), and operator<<().