|
X-TraceC++Library
|
Represents the id of an event, which should be unique within a single task. More...
#include <XtrMetadata.h>
Public Member Functions | |
| OpId (size_t len=4) | |
| Creates a new OpId with all bytes set to 0. | |
| OpId (const u_int8_t *from, size_t len) | |
| Creates a new OpId with the contents of from. | |
| bool | isValidLength (size_t len) const |
| Returns true if len == 4 or len == 8. | |
Represents the id of an event, which should be unique within a single task.
| xtr::OpId::OpId | ( | size_t | len = 4 | ) |
| xtr::OpId::OpId | ( | const u_int8_t * | from, |
| size_t | len | ||
| ) |
| bool xtr::OpId::isValidLength | ( | size_t | len | ) | const [inline, virtual] |
Returns true if len == 4 or len == 8.
Reimplemented from xtr::Id< XTR_MAX_OP_ID_LEN >.
1.7.5.1