13#include <boost/mpl/int.hpp>
48 { return ::strlen(
c_str() ); }
51 {
return _id ? ::pool_id2str(
myPool().getPool(),
_id ) :
""; }
72 return ::strcmp(
c_str(), rhs );
87 return str <<
'(' <<
obj.id() <<
')' <<
obj.c_str();
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Access to the sat-pools string space.
unsigned size() const
The strings size.
const char * c_str() const
Conversion to const char *
int compare(const IdString &rhs) const
Compare IdString returning -1,0,1.
static const IdString Null
No or Null string ( Id 0 ).
static const IdString Empty
Empty string.
constexpr IdString()
Default ctor, empty string.
String related utilities and Regular expression matching.
static const IdType emptyId(1)
static const IdType noId(0)
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & dumpOn(std::ostream &str, const Capability &obj)
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
static PoolImpl & myPool()