28 #ifndef TRIALDISPLAY_ATTVAL_H
29 #define TRIALDISPLAY_ATTVAL_H
149 virtual void setValue(
const T &value);
167 virtual void print(std::ostream& os) {
199 #ifndef AIPS_NO_TEMPLATE_SRC
200 #include <display/Display/AttVal.tcc>
A 1-D Specialization of the Array class.
const AttributeValue< T > & myCast(const AttributeValueBase &other) const
Cast from Base class.
virtual void setValue(const T &value)
Set/get the value of the AttributeValue.
virtual casacore::String className() const
Return class name.
Type-dependent interface for values of Attributes.
virtual ~AttributeValue()
Destructor.
virtual AttributeValueBase * clone() const
Returns a new copy of the AttributeValue.
virtual casacore::Bool matches(const AttributeValueBase &other) const
Implements when the values of two Attributes match or not.
void setType()
Sett T type in base class.
casacore::Bool myMatch(const AttributeValue< T > &other) const
Do actual matching.
bool Bool
Define the standard types used by Casacore.
Base class for values of Attributes used in the display classes.
casacore::Vector< T > itsValue
The attribute value.
AttributeValue()
Default constructor.
virtual casacore::Vector< T > getValue() const
virtual void operator+=(const AttributeValueBase &other)
Add other to *this.
const AttributeValue< T > & operator=(const AttributeValue< T > &other)
Assignment (copy semantics)
String: the storage and methods of handling collections of characters.
virtual void print(std::ostream &os)
LatticeExprNode value(const LatticeExprNode &expr)
This function returns the value of the expression without a mask.