|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
Object attribute with a constant array value. More...
#include <AValue.h>


Public Member Functions | |
| AValue () | |
| Default constructor. More... | |
| AValue (const std::vector< T > &val) | |
| Constructor. More... | |
| AValue (const AValue &) | |
| virtual | ~AValue () |
| virtual AValue * | clone () const |
| Make clone. More... | |
| virtual std::vector< T > | evaluate () |
| Evaluate. More... | |
| virtual void | print (std::ostream &) const |
| Print the attribute value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| void | print (std::ostream &os) const |
| Print value. More... | |
| std::string | getImage () const |
| Convert to string. More... | |
| virtual bool | isExpression () const |
| Test for expression. More... | |
| int | addReference () const |
| Increment reference count. More... | |
| int | removeReference () const |
| Decrement the reference count. More... | |
| bool | isShared () const |
| Test for sharing. More... | |
| virtual void | invalidate () |
| Force re-evaluation. More... | |
Protected Attributes | |
| std::vector< T > | value |
| The value of the attribute. More... | |
Private Member Functions | |
| void | operator= (const AValue< T > &) |
Private Attributes | |
| int | refCount |
Object attribute with a constant array value.
| Expressions::AValue< T >::AValue |
|
explicit |
| Expressions::AValue< T >::AValue | ( | const AValue< T > & | rhs | ) |
|
virtual |
|
inlineinherited |
Increment reference count.
Definition at line 83 of file RCObject.h.
References RCObject::refCount.
Referenced by Pointer< Object >::operator=(), and Pointer< Object >::unique().
|
virtual |
Make clone.
Implements AttributeBase.
Reimplemented in Expressions::AAutomatic< T >, and Expressions::ADeferred< T >.
|
virtual |
Evaluate.
Reimplemented in Expressions::AAutomatic< T >, and Expressions::ADeferred< T >.
|
inherited |
Convert to string.
Definition at line 34 of file AttributeBase.cpp.
References AttributeBase::print().
Referenced by Attribute::getImage().

|
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 Attribute::isExpression(), and OpalElement::printMultipoleStrength().
|
inlineinherited |
|
private |
|
virtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlineinherited |
Decrement the reference count.
Definition at line 88 of file RCObject.h.
References RCObject::refCount.
|
mutableprivateinherited |
Definition at line 76 of file RCObject.h.
Referenced by RCObject::addReference(), RCObject::isShared(), and RCObject::removeReference().
|
mutableprotected |