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