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. |
OEnum
helper class is used to facilitate output of enums to persistent streams.
An enum can hence be written like this:
os >> oenum(x);
Definition at line 30 of file EnumIO.h.
ThePEG::OEnum< T >::OEnum | ( | const T & | t | ) | [inline] |
ThePEG::OEnum< T >::OEnum | ( | const OEnum< T > & | oe | ) | [inline] |