* \brief Use object::Object::intoStringBuffer to return a textual * representation of the object. * * The caller does not have to free the memory, object::Object is responsible * for this. */
| 80 | * for this. |
| 81 | */ |
| 82 | const char *Object::toString() |
| 83 | { |
| 84 | /** \todo garbage! */ |
| 85 | misc::StringBuffer sb; |
| 86 | intoStringBuffer(&sb); |
| 87 | char *s = dStrdup(sb.getChars()); |
| 88 | return s; |
| 89 | } |
| 90 | |
| 91 | /** |
| 92 | * \brief Store a textual representation of the object in a misc::StringBuffer. |
no test coverage detected