12 #ifndef ZYPP_TARGET_MODALIAS_MODALIAS_H
13 #define ZYPP_TARGET_MODALIAS_MODALIAS_H
72 bool query(
const char * cap_r )
const;
74 bool query(
const std::string & cap_r )
const
75 {
return query( cap_r.c_str() ); }
101 #endif // ZYPP_TARGET_MODALIAS_MODALIAS_H
Modalias()
Singleton ctor.
bool query(IdString cap_r) const
Checks if a device on the system matches a modalias pattern.
RW_pointer< Impl > _pimpl
Pointer to implementation.
Access to the sat-pools string space.
bool query(const std::string &cap_r) const
const ModaliasList & modaliasList() const
List of modaliases found on system.
std::ostream & operator<<(std::ostream &str, const CommitPackageCache &obj)
const char * c_str() const
Conversion to const char *
std::vector< std::string > ModaliasList
static Modalias & instance()
Singleton access.
friend std::ostream & operator<<(std::ostream &str, const Modalias &obj)
Wrapper for const correct access via Smart pointer types.
Hardware abstaction layer singleton.