An event id structure.
More...
|
| _eventID |
| Internal representation of an event id, as an 8 byte list. More...
|
|
An event id structure.
- Parameters
-
... | The options:
- -eventidstring The event ID as a string.
- -eventidlist The event ID as a list.
|
◆ EventID()
lcc::EventID::EventID |
( |
name |
, |
|
|
|
... |
|
) |
| |
Constuctor: create the event id.
Create an eventid structure.
- Parameters
-
name | The name of the structure. |
... | The options:
- -eventidstring The event ID as a string.
- -eventidlist The event ID as a list.
|
◆ _getEventID()
lcc::EventID::_getEventID |
( |
option |
| ) |
|
|
private |
Get (as in cget) the event id.
The event id is returned, either as a string or a list.
- Parameters
-
option | Either -eventidstring or -eventidlist. If it is -eventidstring, the event id list is formatted as a string. If it is -eventidlist the event id list is just returned. |
- Returns
- The eventid as a string or a list.
◆ _setEventID()
lcc::EventID::_setEventID |
( |
option |
, |
|
|
value |
|
|
) |
| |
|
private |
Set (as in configure) the event ID.
Converts the value argument to the internal representation of the event id,
- Parameters
-
option | Either -eventidstring or -eventidlist. If it is -eventidstring, the string is parsed and converted to a list of 8 bytes. If it is -eventidlist the list is just stored. |
value | Either an eventidstring or an eventidlist. |
◆ validate()
static lcc::EventID::validate |
( |
object |
| ) |
|
|
static |
Validation method.
Validate EventID objects.
- Parameters
-
object | The object to type check. |
- Returns
- The object or raise an error.
◆ _eventID
Internal representation of an event id, as an 8 byte list.
◆ EVENTIDFMT
Event ID format string.
Event format string, used for both format and scan.