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. |
IEnum
helper class is used to facilitate input of enums from persistent streams.
An enum can hence be read like this:
is >> ienum(x);
Definition at line 53 of file EnumIO.h.
ThePEG::IEnum< T >::IEnum | ( | T & | t | ) | [inline] |
ThePEG::IEnum< T >::IEnum | ( | const IEnum< T > & | ie | ) | [inline] |