Files
funnygame/public/tier1/utlstring.h
2025-05-25 23:37:40 +03:00

30 lines
692 B
C++

#ifndef TIER1_UTL_STRING_H
#define TIER1_UTL_STRING_H
#include "tier1/utlvector.h"
class CUtlString {
public:
CUtlString( void );
CUtlString( const char *psz, ... );
void AppendTail( const char *psz );
void AppendHead( const char *psz );
void AppendAt( size_t nPosition, const char *psz );
void RemoveTail( size_t nCount );
void RemoveHead( size_t nCount );
void RemoveAt( size_t nPosition, size_t nCount );
char *GetString( void );
size_t GetLenght( void );
operator char*( void );
bool operator==(const char* psz);
bool operator!=(const char* psz);
bool operator==(CUtlString& string);
bool operator!=(CUtlString& string);
private:
CUtlVector<char> m_data;
};
#endif