Jpp 19.3.0-rc.3
the software that should make you happy
|
Auxiliary class for handling event name and optional static information. More...
#include <JEvent_t.hh>
Public Member Functions | |
JEvent_t () | |
Default constructor. | |
JEvent_t (const std::string &name) | |
Constructor. | |
JEvent_t (const std::string &name, const std::string &info) | |
Constructor. | |
const std::string & | getName () const |
Get event name. | |
bool | hasInfo () const |
Check if this event has information. | |
const std::string & | getInfo () const |
Get event information. | |
Static Public Member Functions | |
static JEvent_t | toValue (const std::string &buffer) |
Convert string to event. | |
Protected Attributes | |
std::string | name |
std::string | info |
bool | more |
Friends | |
std::istream & | operator>> (std::istream &in, JEvent_t &object) |
Read event name and optional number from input stream. | |
std::ostream & | operator<< (std::ostream &out, const JEvent_t &object) |
Write event to output stream. | |
Auxiliary class for handling event name and optional static information.
Definition at line 23 of file JEvent_t.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Check if this event has information.
Definition at line 76 of file JEvent_t.hh.
|
inline |
|
inlinestatic |
Convert string to event.
buffer | buffer |
Definition at line 99 of file JEvent_t.hh.
|
friend |
Read event name and optional number from input stream.
in | input stream |
object | event |
Definition at line 132 of file JEvent_t.hh.
|
friend |
Write event to output stream.
out | output stream |
object | event |
Definition at line 151 of file JEvent_t.hh.
|
protected |
Definition at line 164 of file JEvent_t.hh.
|
protected |
Definition at line 165 of file JEvent_t.hh.
|
protected |
Definition at line 166 of file JEvent_t.hh.