57 virtual void print(std::ostream &)
const;
122 token != value.end(); ++token) {
132 os << (value ?
"TRUE" :
"FALSE");
139 os <<
'"' << value <<
'"';
Representation objects and parsers for attribute expressions.
std::string::iterator iterator
Abstract base class for attribute values of different types.
Object attribute with a constant scalar value.
virtual SValue< T > * clone() const
Make clone.
virtual T evaluate()
Evaluate.
T value
The value of the attribute.
virtual void print(std::ostream &) const
Print the attribute value.
void operator=(const SValue< T > &)
SValue()
Default constructor.