|
|
@@ -29,7 +29,6 @@ OTHER DEALINGS IN THE SOFTWARE.
|
|
|
#include <stdio.h>
|
|
|
#include "List.h"
|
|
|
#include "StringUtils.h"
|
|
|
-#include "OS.h"
|
|
|
|
|
|
namespace crown
|
|
|
{
|
|
|
@@ -40,6 +39,8 @@ public:
|
|
|
|
|
|
StringStream(Allocator& allocator);
|
|
|
|
|
|
+ void clear();
|
|
|
+
|
|
|
StringStream& operator<<(int16_t val);
|
|
|
StringStream& operator<<(uint16_t val);
|
|
|
StringStream& operator<<(int32_t val);
|
|
|
@@ -69,6 +70,12 @@ inline StringStream::StringStream(Allocator& allocator)
|
|
|
{
|
|
|
}
|
|
|
|
|
|
+//-----------------------------------------------------------------------------
|
|
|
+inline void StringStream::clear()
|
|
|
+{
|
|
|
+ m_string.clear();
|
|
|
+}
|
|
|
+
|
|
|
//-----------------------------------------------------------------------------
|
|
|
inline StringStream& StringStream::operator<<(int16_t val)
|
|
|
{
|