|
OPALX (Object Oriented Parallel Accelerator Library for Exascal) MINIorX
OPALX
|
Object attribute with a constant array value. More...
#include <AValue.h>
Public Member Functions | |
| AValue () | |
| Default constructor. | |
| AValue (const std::vector< T > &val) | |
| Constructor. | |
| AValue (const AValue &) | |
| virtual | ~AValue () |
| virtual AValue * | clone () const |
| Make clone. | |
| virtual std::vector< T > | evaluate () |
| Evaluate. | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| void | print (std::ostream &os) const |
| Print value. | |
| std::string | getImage () const |
| Convert to string. | |
| virtual bool | isExpression () const |
| Test for expression. | |
| int | addReference () const |
| Increment reference count. | |
| int | removeReference () const |
| Decrement the reference count. | |
| bool | isShared () const |
| Test for sharing. | |
| virtual void | invalidate () |
| Force re-evaluation. | |
Protected Attributes | |
| std::vector< T > | value |
| The value of the attribute. | |
Private Member Functions | |
| void | operator= (const AValue< T > &) |
Private Attributes | |
| int | refCount |
| Expressions::AValue< T >::AValue | ( | ) |
Default constructor.
Definition at line 76 of file AValue.h.
References value.
Referenced by Expressions::ADeferred< T >::ADeferred(), Expressions::ADeferred< T >::ADeferred(), Expressions::ADeferred< T >::ADeferred(), Expressions::ADeferred< T >::ADeferred(), Expressions::ADeferred< T >::ADeferred(), AValue(), clone(), operator=(), and print().
|
explicit |
| Expressions::AValue< T >::AValue | ( | const AValue< T > & | ) |
|
virtual |
|
inlineinherited |
Increment reference count.
Definition at line 83 of file RCObject.h.
References refCount.
Referenced by Pointer< Object >::operator=(), Pointer< Object >::operator=(), and Pointer< Object >::unique().
|
virtual |
Make clone.
Implements AttributeBase.
Reimplemented in Expressions::AAutomatic< T >, and Expressions::ADeferred< T >.
Definition at line 99 of file AValue.h.
References AValue(), and value.
|
virtual |
Evaluate.
Reimplemented in Expressions::AAutomatic< T >, and Expressions::ADeferred< T >.
Definition at line 105 of file AValue.h.
References value.
|
inherited |
Convert to string.
Definition at line 34 of file AttributeBase.cpp.
References print().
Referenced by Expressions::ADeferred< T >::evaluate(), Expressions::SDeferred< T >::evaluate(), and Expressions::SRefAttr< T >::evaluate().
|
virtualinherited |
Force re-evaluation.
Reimplemented in Expressions::AAutomatic< T >, Expressions::SAutomatic< T >, Expressions::SRefAttr< T >, and Expressions::SRefExpr< T >.
Definition at line 27 of file Invalidator.cpp.
|
virtualinherited |
Test for expression.
Reimplemented in Expressions::ADeferred< T >, and Expressions::SDeferred< T >.
Definition at line 42 of file AttributeBase.cpp.
Referenced by OpalElement::printMultipoleStrength().
|
inlineinherited |
|
private |
|
virtual |
Print the attribute value.
Implements AttributeBase.
Reimplemented in Expressions::ADeferred< T >.
Referenced by print().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlineinherited |
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by addReference(), isShared(), RCObject(), RCObject(), and removeReference().
|
mutableprotected |
The value of the attribute.
Definition at line 63 of file AValue.h.
Referenced by AValue(), AValue(), clone(), Expressions::AAutomatic< T >::evaluate(), Expressions::ADeferred< T >::evaluate(), evaluate(), and print().