class
AttributeBase
: public RCObject
(Return to index)
Abstract base class for attribute values of different types.
Type: |
Abstract |
Superclasses: |
public RCObject |
Include file: |
./AbstractObjects/AttributeBase.hh |
Inheritance
Synopsis (including inherited members):
- Public members:
-
AttributeBase
()
;
-
virtual ~AttributeBase
()
;
-
virtual AttributeBase* clone
()const
= 0
;
-
string getImage
()const
;
-
virtual bool isExpression
()const
;
-
virtual std::ostream& print
(std::ostream&)const
= 0
;
-
virtual void invalidate
()
;
Documentation:
- Public members:
-
virtual AttributeBase* clone
()const
= 0
;
- Make clone.
Construct an exact copy of the value.
-
string getImage
()const
;
- Convert to string.
Uses print() to convert the input expression for the attribute
to a printable representation.
-
virtual void invalidate
()
;
- Force re-evaluation.
Set an internal flag so as to force re-evaluation of any expression
when the value is referred next time.
-
virtual bool isExpression
()const
;
- Test for expression.
Return true if the value is an expression.
-
virtual std::ostream& print
(std::ostream&)const
= 0
;
- Print value.
Print the value on the given output stream.
The result allows reconstruction of any expression.
Documentation generated by fci on Mon Feb 7 12:29:45 2000