template
class
Expressions::SRefAttr<class>
: public AttributeBase
(Return to index)
An attribute defined as a reference to a scalar.
The referred attribute may have values of type real, logical or string.
Type: |
Instantiable |
Superclasses: |
public AttributeBase |
Include file: |
./Expressions/SRefAttr.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
SRefAttr
(const string&,const string&,int)
;
-
SRefAttr
(const SRefAttr&)
;
-
virtual ~SRefAttr
()
;
-
virtual SRefAttr<T>* clone
()const
;
-
virtual T evaluate
()const
;
-
virtual void invalidate
()
;
-
virtual std::ostream& print
(std::ostream&)const
;
-
virtual void set
(const T&)const
;
-
string getImage
()const
;
-
virtual bool isExpression
()const
;
Documentation:
- Public members:
-
SRefAttr
(const string&,const string&,int)
;
- Constructor.
Use object name oName to identify the object containing
the scalar, and aName to identify the scalar itself.
-
virtual SRefAttr<T>* clone
()const
;
- Make clone.
-
virtual T evaluate
()const
;
- Evaluate.
Evaluate the reference and return the value.
-
virtual void invalidate
()
;
- Invalidate.
Force re-evaluation of the reference.
-
virtual std::ostream& print
(std::ostream&)const
;
- Print the reference.
-
virtual void set
(const T&)const
;
- Store new value.
Evaluate the reference and assign to the scalar referred to.
Documentation generated by fci on Mon Feb 7 12:29:55 2000