Exemple #1
0
String::String(const String& strValue)
    : length_(0)
    , position_(0)
    , data_(nullptr)
{
    //    Initialize();
    LowLevelSetStr(strValue);
}
Exemple #2
0
void OTString::Set(const OTString & strBuf)
{
    if (this == &strBuf) // Already the same string.
        return;

    Release();

    LowLevelSetStr(strBuf);
}
Exemple #3
0
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);
}
Exemple #5
0
OTString::OTString(const OTString & strValue)
{
	Initialize();
	LowLevelSetStr(strValue);
}