The IEnum
helper class is used to facilitate input of enums from persistent streams.
More...
#include <EnumIO.h>
Public Member Functions | |
IEnum (T &t) | |
Constructor. | |
IEnum (const IEnum &ie) | |
Copy constructor. | |
Public Attributes | |
T & | theT |
The variable to be read. | |
The IEnum
helper class is used to facilitate input of enums from persistent streams.
An enum can hence be read like this:
is >> ienum(x);
|
inline |
|
inline |
T& ThePEG::IEnum< T >::theT |
The variable to be read.
Definition at line 62 of file EnumIO.h.
Referenced by ThePEG::operator>>().