String::String(const String& strValue) : length_(0) , position_(0) , data_(nullptr) { // Initialize(); LowLevelSetStr(strValue); }
void OTString::Set(const OTString & strBuf) { if (this == &strBuf) // Already the same string. return; Release(); LowLevelSetStr(strBuf); }
OTString::OTString(const OTString & strValue) : m_lLength(0), m_lPosition(0), m_strBuffer(NULL) { // Initialize(); LowLevelSetStr(strValue); }
void OTString::Set(const OTString & strBuf) { Release(); LowLevelSetStr(strBuf); }
OTString::OTString(const OTString & strValue) { Initialize(); LowLevelSetStr(strValue); }