Started work on build system
This commit is contained in:
@@ -27,6 +27,11 @@ CUtlString::CUtlString( const char *szFormat, ... )
|
||||
va_end(vlArgs);
|
||||
}
|
||||
|
||||
CUtlString::CUtlString( const CUtlString &sz )
|
||||
{
|
||||
m_data = sz.m_data;
|
||||
};
|
||||
|
||||
void CUtlString::AppendTail( const char *psz )
|
||||
{
|
||||
m_data.AppendTail(psz,V_strlen(psz));
|
||||
@@ -65,7 +70,14 @@ CUtlString::operator char*( void )
|
||||
return GetString();
|
||||
}
|
||||
|
||||
bool CUtlString::operator==(const char* psz)
|
||||
CUtlString &CUtlString::operator=(const CUtlString &sz)
|
||||
{
|
||||
if (this != &sz)
|
||||
m_data = sz.m_data;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool CUtlString::operator==(const char *psz)
|
||||
{
|
||||
if (psz==0)
|
||||
psz = "";
|
||||
@@ -73,7 +85,7 @@ bool CUtlString::operator==(const char* psz)
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool CUtlString::operator!=(const char* psz)
|
||||
bool CUtlString::operator!=(const char *psz)
|
||||
{
|
||||
if (psz==0)
|
||||
psz = "";
|
||||
@@ -82,13 +94,13 @@ bool CUtlString::operator!=(const char* psz)
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CUtlString::operator==(CUtlString& string)
|
||||
bool CUtlString::operator==(CUtlString &string)
|
||||
{
|
||||
if (!V_strcmp(GetString(), string.GetString()))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
bool CUtlString::operator!=(CUtlString& string)
|
||||
bool CUtlString::operator!=(CUtlString &string)
|
||||
{
|
||||
if (!V_strcmp(GetString(), string.GetString()))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user