HW-SD  1.0.0
Public Member Functions | List of all members
hwsd::NetFilter Class Reference

Filter for network interfaces matching prefixes and/or type. More...

#include <filter.h>

+ Inheritance diagram for hwsd::NetFilter:
+ Collaboration diagram for hwsd::NetFilter:

Public Member Functions

 NetFilter (const lunchbox::Strings &prefixes, const uint32_t type)
virtual bool operator() (const hwsd::NetInfos &current, const hwsd::NetInfo &candidate)
- Public Member Functions inherited from hwsd::Filter
 Filter ()
 Create a new filter.
virtual ~Filter ()
 Destruct this filter.
FilterPtr operator| (FilterPtr rhs)
 Chain another filter to this one.
FilterPtr operator|= (FilterPtr rhs)
 Chain another filter to this one.
virtual bool operator() (const GPUInfos &current, const GPUInfo &candidate)
 Call all chained operators.

Detailed Description

Filter for network interfaces matching prefixes and/or type.

Definition at line 162 of file filter.h.

Member Function Documentation

virtual bool hwsd::NetFilter::operator() ( const hwsd::NetInfos &  current,
const hwsd::NetInfo candidate 
)
virtual
Returns
true if matching prefix and type
Version
1.0

Reimplemented from hwsd::Filter.


The documentation for this class was generated from the following file: