|
|
@ -470,12 +470,12 @@ public:
|
|
|
|
/// return a string in form "(a:b:c:d)" where a,b,c,d are components of entity id.
|
|
|
|
/// return a string in form "(a:b:c:d)" where a,b,c,d are components of entity id.
|
|
|
|
std::string toString() const
|
|
|
|
std::string toString() const
|
|
|
|
{
|
|
|
|
{
|
|
|
|
std::string id;
|
|
|
|
std::string ident;
|
|
|
|
id.reserve(25);
|
|
|
|
ident.reserve(25);
|
|
|
|
id+='(';
|
|
|
|
ident+='(';
|
|
|
|
getDebugString (id);
|
|
|
|
getDebugString (ident);
|
|
|
|
id+=')';
|
|
|
|
ident+=')';
|
|
|
|
return id;
|
|
|
|
return ident;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// Read from a debug string, use the same format as toString() (id:type:creator:dynamic) in hexadecimal
|
|
|
|
/// Read from a debug string, use the same format as toString() (id:type:creator:dynamic) in hexadecimal
|
|
|
|