The OEnum
helper class is used to facilitate output of enums to persistent streams.
More...
#include <EnumIO.h>
|
const T & | theT |
| The variable to be written.
|
|
template<typename T>
struct ThePEG::OEnum< T >
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);
- See also
- PersistentOStream
-
PersistentIStream
Definition at line 30 of file EnumIO.h.
◆ OEnum() [1/2]
Constructor.
Definition at line 33 of file EnumIO.h.
◆ OEnum() [2/2]
Copy constructor.
Definition at line 36 of file EnumIO.h.
The documentation for this struct was generated from the following file: