Convenience toString() method added.

This commit is contained in:
Matej Sekoranja
2010-12-22 12:57:32 +01:00
parent e06ff2b898
commit 6a91bddf15
2 changed files with 8 additions and 1 deletions

View File

@@ -119,6 +119,13 @@ class StatusImpl : public Status
throw new std::runtime_error("use getStatusCreate()->deserialize()");
}
virtual String toString()
{
String str;
toString(&str, 0);
return str;
}
virtual void toString(StringBuilder buffer, int indentLevel)
{
*buffer += "StatusImpl [type=";