Straightforward event ID mapping. More...
#include <event_log_backend.hpp>
Public Types | |
typedef AttributeValueT | attribute_value_type |
Attribute contained value type. More... | |
typedef base_type::mapped_type | mapped_type |
Mapped value type. More... | |
typedef mapped_type | result_type |
Result type. More... | |
Public Member Functions | |
direct_event_id_mapping (attribute_name const &name) | |
Constructor. More... | |
mapped_type | operator() (record_view const &rec) const |
Extraction operator. More... | |
Straightforward event ID mapping.
This type of mapping assumes that attribute with a particular name always provides values that map directly onto the event identifiers. The mapping simply returns the extracted attribute value converted to the event ID.
|
inherited |
Attribute contained value type.
|
inherited |
Mapped value type.
|
inherited |
Result type.
|
inlineexplicit |
Constructor.
name | Attribute name |
|
inlineinherited |
Extraction operator.
rec | A log record to extract value from |