|
Jpp
18.6.0-rc.1
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. More... | |
| JEvent_t (const std::string &name) | |
| Constructor. More... | |
| JEvent_t (const std::string &name, const std::string &info) | |
| Constructor. More... | |
| const std::string & | getName () const |
| Get event name. More... | |
| bool | hasInfo () const |
| Check if this event has information. More... | |
| const std::string & | getInfo () const |
| Get event information. More... | |
Static Public Member Functions | |
| static JEvent_t | toValue (const std::string &buffer) |
| Convert string to event. More... | |
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. More... | |
| std::ostream & | operator<< (std::ostream &out, const JEvent_t &object) |
| Write event to output stream. More... | |
Auxiliary class for handling event name and optional static information.
Definition at line 23 of file JEvent_t.hh.
|
inline |
|
inline |
|
inline |
Constructor.
| name | event name |
| info | event information |
Definition at line 52 of file JEvent_t.hh.
|
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.
1.8.5