The IEnum
helper class is used to facilitate input of enums from persistent streams.
More...
#include <EnumIO.h>
List of all members.
Public Member Functions |
| IEnum (T &t) |
| Constructor.
|
| IEnum (const IEnum &ie) |
| Copy constructor.
|
Public Attributes |
T & | theT |
| The variable to be read.
|
Detailed Description
template<typename T>
struct ThePEG::IEnum< T >
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);
- See also:
- PersistentOStream
-
PersistentIStream
Definition at line 53 of file EnumIO.h.
Constructor & Destructor Documentation
Constructor.
Definition at line 56 of file EnumIO.h.
Copy constructor.
Definition at line 59 of file EnumIO.h.
The documentation for this struct was generated from the following file: