A std::set<> of Traffic::Type.
More...
#include "Traffic.hpp"


Public Member Functions | |
| bool | contains (const Type t) const |
Determine if the set contains the type t. More... | |
| bool | does_not_contain (const Type t) const |
Determine if the set lacks the type t. More... | |
| bool | xreplace (const Type old_type, const Type new_type) |
Remove old_type (if it exists) and insert new_type. More... | |
| std::string | to_string (void) const |
| Convert the set into a single readable text string. More... | |
Public Attributes | |
| K | keys |
| STL member. More... | |
A std::set<> of Traffic::Type.
Used by Flow to track things we've discovered about specific traffic flows. Usually this is accessed through the member Myra::Flow::traffic_types.
|
inline |
Determine if the set contains the type t.
For example:

|
inline |
Determine if the set lacks the type t.
For example:


|
inline |
Convert the set into a single readable text string.
For example, this could return FlowStart+IP+IPv4+TCP+HTTP.


Remove old_type (if it exists) and insert new_type.
Note that new_type will be inserted even if old_type did not exist in the set.
true if old_type was removed false if old_type wasn't in the setFor example:
|
inherited |
STL member.