13 #include <boost/mpl/int.hpp>
32 : _id( ::pool_str2id( myPool().getPool(), str_r, true ) )
36 : _id( ::pool_strn2id( myPool().getPool(), str_r, len_r, true ) )
40 :
IdString( str_r.c_str(), str_r.length() )
44 :
IdString( str_r.data(), str_r.length() )
48 { return ::strlen(
c_str() ); }
51 {
return _id ? ::pool_id2str(
myPool().getPool(),
_id ) :
""; }
72 return ::strcmp(
c_str(), rhs );
82 return str << obj.
c_str();
87 return str <<
'(' << obj.
id() <<
')' << obj.
c_str();