12 #ifndef ZYPP_INSTANCEID_H
13 #define ZYPP_INSTANCEID_H
86 bool isSystemId(
const std::string str_r )
const;
109 #endif // ZYPP_INSTANCEID_H
Build string to identify/retrieve a specific Solvable.
PoolItem operator()(const std::string str_r) const
InstanceId string to PoolItem.
A Solvable object within the sat Pool.
InstanceId(const std::string &namespace_r)
Ctor taking namespace.
PoolItem findPoolItem(const std::string str_r) const
InstanceId string to PoolItem.
InstanceId()
Default ctor empty empty namespace.
std::string operator()(const PoolItem &pi_r) const
PoolItem to InstanceId string.
std::string operator()(sat::Solvable slv_r) const
Solvable to InstanceId string.
bool isSystemId(const std::string str_r) const
Quick test whether the InstanceId string would refer to a system (installed) Solvable.
void setNamespace(const std::string &namespace_r)
Set a new namespace.
void unsetNamespace()
Set no (empty) namespace.
sat::Solvable satSolvable() const
Return the corresponding sat::Solvable.
Reference to a PoolItem connecting ResObject and ResStatus.
std::string getIdFor(const PoolItem &pi_r) const
PoolItem to InstanceId string.
const std::string & getNamespace() const
The namespace in use.
sat::Solvable findSolvable(const std::string str_r) const
InstanceId string to Solvable.
std::string getIdFor(sat::Solvable slv_r) const
Solvable to InstanceId string.