|
spot 2.16
|
A printable wrapper around a value of type T. More...
#include <spot/misc/formater.hh>
Public Member Functions | |
| const T & | val () const |
| Access the stored value. | |
| T & | val () |
| Access the stored value. | |
| operator const T & () const | |
| Implicit conversion to the stored value. | |
| operator T& () | |
| Implicit conversion to the stored value. | |
| printable_value & | operator= (const T &new_val) |
| Assign a new value. | |
| printable_value & | operator= (T &&new_val) |
| Assign a new value. | |
| virtual void | print (std::ostream &os, const char *) const override |
| Print the stored value. | |
Protected Attributes | |
| T | val_ |
| Stored value. | |
A printable wrapper around a value of type T.
|
inline |
Implicit conversion to the stored value.
|
inline |
Implicit conversion to the stored value.
|
inline |
Assign a new value.
References spot::printable_value< T >::val_.
|
inline |
Assign a new value.
References spot::printable_value< T >::val_.
|
inlineoverridevirtual |
Print the stored value.
Implements spot::printable.
Reimplemented in spot::printable_formula.
References spot::printable_value< T >::val_.
|
inline |
Access the stored value.
References spot::printable_value< T >::val_.
|
inline |
Access the stored value.
References spot::printable_value< T >::val_.
Referenced by spot::printable_value< formula >::operator const formula &(), and spot::printable_value< formula >::operator formula &().
|
protected |
1.9.8