44 explicit SValue(
const T &val);
57 virtual void print(std::ostream &)
const;
121 for(std::list<Token>::iterator token =
value.begin();
122 token !=
value.end(); ++token) {
132 os << (
value ?
"TRUE" :
"FALSE");
139 os <<
'"' <<
value <<
'"';
Representation objects and parsers for attribute expressions.
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.