The OEnum
helper class is used to facilitate output of enums to persistent streams.
More...
#include <EnumIO.h>
Public Member Functions | |
OEnum (const T &t) | |
Constructor. | |
OEnum (const OEnum &oe) | |
Copy constructor. | |
Public Attributes | |
const T & | theT |
The variable to be written. | |
The OEnum
helper class is used to facilitate output of enums to persistent streams.
An enum can hence be written like this:
os >> oenum(x);
|
inline |
|
inline |
const T& ThePEG::OEnum< T >::theT |
The variable to be written.
Definition at line 39 of file EnumIO.h.
Referenced by ThePEG::operator<<().