Public Member Functions | Private Attributes | Friends
karto::StringBuilder Class Reference

#include <StringHelper.h>

List of all members.

Public Member Functions

void Clear ()
StringBuilderoperator<< (kt_int8u value)
StringBuilderoperator<< (kt_int16s value)
StringBuilderoperator<< (kt_int16u value)
StringBuilderoperator<< (kt_int32s value)
StringBuilderoperator<< (kt_int32u value)
StringBuilderoperator<< (kt_int64s value)
StringBuilderoperator<< (kt_int64u value)
StringBuilderoperator<< (kt_float value)
StringBuilderoperator<< (kt_double value)
StringBuilderoperator<< (const String &rValue)
StringBuilderoperator<< (const StringBuilder &rValue)
const StringToString () const

Private Attributes

String m_String

Friends

KARTO_FORCEINLINE std::ostream & operator<< (std::ostream &rStream, const StringBuilder &rStringBuilder)

Detailed Description

Class to build strings

Definition at line 545 of file StringHelper.h.


Member Function Documentation

Erase contents of string builder

Definition at line 500 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int8u  value)

Add char to this string builder

Parameters:
valuechar value Add kt_int8u to this string builder
valuekt_int8u value
Returns:
this StringBuilder with given value added

Definition at line 517 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int16s  value)

Add kt_int16s to this string builder

Parameters:
valuekt_int16s value
Returns:
this StringBuilder with given value added

Definition at line 524 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int16u  value)

Add kt_int16u to this string builder

Parameters:
valuekt_int16u value
Returns:
this StringBuilder with given value added

Definition at line 531 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int32s  value)

Add kt_int32s to this string builder

Parameters:
valuekt_int32s value
Returns:
this StringBuilder with given value added

Definition at line 538 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int32u  value)

Add kt_int32u to this string builder

Parameters:
valuekt_int32u value
Returns:
this StringBuilder with given value added

Definition at line 545 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int64s  value)

Add kt_int64s to this string builder

Parameters:
valuekt_int64s value
Returns:
this StringBuilder with given value added

Definition at line 552 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_int64u  value)

Add kt_int64u to this string builder

Parameters:
valuekt_int64u value
Returns:
this StringBuilder with given value added

Definition at line 559 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_float  value)

Add kt_float to this string builder

Parameters:
valuekt_float value
Returns:
this StringBuilder with given value added

Definition at line 575 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( kt_double  value)

Add kt_double to this string builder

Parameters:
valuekt_double value
Returns:
this StringBuilder with given value added

Definition at line 582 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( const String rValue)

Add string to this string builder

Parameters:
rValuestring value
Returns:
this StringBuilder with given value added

Definition at line 589 of file StringHelper.cpp.

StringBuilder & karto::StringBuilder::operator<< ( const StringBuilder rValue)

Add string builder to this string builder

Parameters:
rValuestring builder value
Returns:
this StringBuilder with given value added

Definition at line 596 of file StringHelper.cpp.

Convert contents to string

Returns:
string of contents

Definition at line 505 of file StringHelper.cpp.


Friends And Related Function Documentation

KARTO_FORCEINLINE std::ostream& operator<< ( std::ostream &  rStream,
const StringBuilder rStringBuilder 
) [friend]

Write string to output stream

Parameters:
rStreamoutput stream
rStringBuilderStringBuilder to write
Returns:
rStream

Definition at line 654 of file StringHelper.h.


Member Data Documentation

Definition at line 661 of file StringHelper.h.


The documentation for this class was generated from the following files:


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 03:53:09