Customizable 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 | |
custom_event_id_mapping (attribute_name const &name) | |
Constructor. More... | |
mapped_type | operator() (record_view const &rec) const |
Extraction operator. More... | |
reference_proxy | operator[] (attribute_value_type const &key) |
Insertion operator. More... | |
Customizable event ID mapping.
The class allows to setup a custom mapping between an attribute and event identifiers. The mapping should be initialized similarly to the standard map
container, by using indexing operator and assignment.
|
inherited |
Attribute contained value type.
|
inherited |
Mapped value type.
|
inherited |
Result type.
|
inlineexplicit |
Constructor.
name | Attribute name |
|
inlineinherited |
Extraction operator.
Extracts the attribute value and attempts to map it onto the native value.
rec | A log record to extract value from |
|
inlineinherited |
Insertion operator.
key | Attribute value to be mapped |