#include <OWBI1_StringBuffer.hpp>
| Public Member Functions | |
| StringBuffer (size_t allocSize=OWBI1_DEFAULT_ALLOCATION_UNIT) | |
| StringBuffer (const char *arg) | |
| StringBuffer (const String &arg) | |
| StringBuffer (const StringBuffer &arg) | |
| ~StringBuffer () | |
| StringBuffer & | operator= (const StringBuffer &arg) | 
| StringBuffer & | operator= (const String &arg) | 
| StringBuffer & | operator= (const char *str) | 
| void | swap (StringBuffer &x) | 
| StringBuffer & | append (char c) | 
| StringBuffer & | append (const char *str) | 
| StringBuffer & | append (const char *str, const size_t len) | 
| StringBuffer & | append (const String &arg) | 
| StringBuffer & | append (const StringBuffer &arg) | 
| StringBuffer & | operator+= (char c) | 
| StringBuffer & | operator+= (Char16 c) | 
| StringBuffer & | operator+= (const char *str) | 
| StringBuffer & | operator+= (const String &arg) | 
| StringBuffer & | operator+= (Bool v) | 
| StringBuffer & | operator+= (UInt8 v) | 
| StringBuffer & | operator+= (Int8 v) | 
| StringBuffer & | operator+= (UInt16 v) | 
| StringBuffer & | operator+= (Int16 v) | 
| StringBuffer & | operator+= (UInt32 v) | 
| StringBuffer & | operator+= (Int32 v) | 
| StringBuffer & | operator+= (UInt64 v) | 
| StringBuffer & | operator+= (Int64 v) | 
| StringBuffer & | operator+= (Real32 v) | 
| StringBuffer & | operator+= (Real64 v) | 
| StringBuffer & | operator+= (const StringBuffer &arg) | 
| char | operator[] (size_t ndx) const | 
| String | toString () const | 
| String | releaseString () | 
| size_t | length () const | 
| void | truncate (size_t index) | 
| Truncate the string at the given index. | |
| const char * | getLine (std::istream &is, bool resetBuffer=true) | 
| Fill this StringBuffer object with the next line from the given input stream. | |
| bool | endsWith (char ch) const | 
| bool | startsWith (char ch) const | 
| void | chop () | 
| void | trim () | 
| size_t | allocated () const | 
| void | reset () | 
| const char * | c_str () const | 
| bool | equals (const char *arg) const | 
| bool | equals (const StringBuffer &arg) const | 
| Static Public Attributes | |
| static const size_t | OWBI1_DEFAULT_ALLOCATION_UNIT = 128 | 
| Private Member Functions | |
| void | checkAvail (size_t len=1) | 
| Private Attributes | |
| size_t | m_len | 
| size_t | m_allocated | 
| char * | m_bfr | 
| Friends | |
| OWBI1_OWBI1PROVIFC_API std::ostream & | operator<< (std::ostream &ostr, const StringBuffer &b) | 
Definition at line 49 of file OWBI1_StringBuffer.hpp.
| 
 | 
| 
 Definition at line 62 of file OWBI1_StringBuffer.cpp. References m_bfr. Referenced by operator=(). | 
| 
 | 
| 
 Definition at line 70 of file OWBI1_StringBuffer.cpp. References m_bfr. | 
| 
 | 
| 
 Definition at line 78 of file OWBI1_StringBuffer.cpp. References OWBI1::String::c_str(), and m_bfr. | 
| 
 | 
| 
 Definition at line 86 of file OWBI1_StringBuffer.cpp. | 
| 
 | 
| 
 Definition at line 61 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 145 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 84 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 82 of file OWBI1_StringBuffer.hpp. References OWBI1::String::c_str(), and OWBI1::String::length(). | 
| 
 | ||||||||||||
| 
 Definition at line 266 of file OWBI1_StringBuffer.cpp. References checkAvail(), m_bfr, and m_len. | 
| 
 | 
| 
 Definition at line 73 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 66 of file OWBI1_StringBuffer.hpp. Referenced by getLine(), and operator+=(). | 
| 
 | 
| 
 Definition at line 147 of file OWBI1_StringBuffer.hpp. Referenced by append(), OWBI1::operator<<(), and OWBI1::operator==(). | 
| 
 | 
| 
 Definition at line 152 of file OWBI1_StringBuffer.hpp. Referenced by append(). | 
| 
 | 
| 
 Definition at line 304 of file OWBI1_StringBuffer.cpp. References m_len, and truncate(). | 
| 
 | 
| 
 Definition at line 290 of file OWBI1_StringBuffer.cpp. | 
| 
 | 
| 
 Definition at line 283 of file OWBI1_StringBuffer.cpp. References m_bfr. | 
| 
 | 
| 
 Definition at line 276 of file OWBI1_StringBuffer.cpp. References m_bfr. Referenced by OWBI1::operator==(). | 
| 
 | ||||||||||||
| Fill this StringBuffer object with the next line from the given input stream. 
 
 
 Definition at line 344 of file OWBI1_StringBuffer.cpp. References append(), ch, m_bfr, reset(), and truncate(). | 
| 
 | 
| 
 Definition at line 121 of file OWBI1_StringBuffer.hpp. Referenced by append(), OWBI1::operator<<(), and OWBI1::CIMObjectPath::toString(). | 
| 
 | 
| 
 Definition at line 107 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 247 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 231 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 218 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 206 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 198 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 190 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 182 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 174 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 166 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 158 of file OWBI1_StringBuffer.cpp. References append(). | 
| 
 | 
| 
 Definition at line 149 of file OWBI1_StringBuffer.cpp. References append(), and OWBI1::Bool::toString(). | 
| 
 | 
| 
 Definition at line 94 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 92 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 90 of file OWBI1_StringBuffer.hpp. References OWBI1::Char16::toString(). | 
| 
 | 
| 
 Definition at line 88 of file OWBI1_StringBuffer.hpp. | 
| 
 | 
| 
 Definition at line 101 of file OWBI1_StringBuffer.cpp. References StringBuffer(). | 
| 
 | 
| 
 Definition at line 94 of file OWBI1_StringBuffer.cpp. References StringBuffer(). | 
| 
 | 
| 
 Definition at line 108 of file OWBI1_StringBuffer.cpp. References StringBuffer(). | 
| 
 | 
| 
 Definition at line 142 of file OWBI1_StringBuffer.cpp. | 
| 
 | 
| 
 Definition at line 115 of file OWBI1_StringBuffer.hpp. References OWBI1::String::E_TAKE_OWNERSHIP. Referenced by OWBI1::CIMObjectPath::unEscape(). | 
| 
 | 
| 
 Definition at line 123 of file OWBI1_StringBuffer.cpp. Referenced by getLine(). | 
| 
 | 
| 
 Definition at line 297 of file OWBI1_StringBuffer.cpp. | 
| 
 | 
| 
 Definition at line 115 of file OWBI1_StringBuffer.cpp. References m_allocated, m_bfr, m_len, and OW_NAMESPACE::swap(). | 
| 
 | 
| 
 Definition at line 112 of file OWBI1_StringBuffer.hpp. Referenced by OWBI1::CIMInstance::toString(). | 
| 
 | 
| 
 Definition at line 314 of file OWBI1_StringBuffer.cpp. | 
| 
 | 
| Truncate the string at the given index. This doesn't change anything before the given index and does not free up any memory. 
 Definition at line 131 of file OWBI1_StringBuffer.cpp. | 
| 
 | ||||||||||||
| 
 Definition at line 387 of file OWBI1_StringBuffer.cpp. | 
| 
 | 
| 
 Definition at line 167 of file OWBI1_StringBuffer.hpp. Referenced by swap(). | 
| 
 | 
| 
 Definition at line 168 of file OWBI1_StringBuffer.hpp. Referenced by append(), endsWith(), equals(), getLine(), operator[](), reset(), startsWith(), StringBuffer(), swap(), trim(), and truncate(). | 
| 
 | 
| 
 Definition at line 166 of file OWBI1_StringBuffer.hpp. Referenced by append(), chop(), endsWith(), operator[](), reset(), startsWith(), StringBuffer(), swap(), trim(), and truncate(). | 
| 
 | 
| 
 Definition at line 55 of file OWBI1_StringBuffer.hpp. | 
 1.4.6
 1.4.6