isle/LEGO1/mxstring.h

31 lines
617 B
C
Raw Normal View History

2023-04-27 22:19:39 -04:00
#ifndef MXSTRING_H
#define MXSTRING_H
2023-04-29 23:39:01 -04:00
#include "mxcore.h"
// VTABLE 0x100dc110
2023-04-29 23:39:01 -04:00
class MxString : public MxCore
2023-04-27 22:19:39 -04:00
{
public:
__declspec(dllexport) MxString(const MxString &);
2023-04-29 23:39:01 -04:00
__declspec(dllexport) virtual ~MxString();
__declspec(dllexport) const MxString &operator=(const char *);
2023-04-27 22:19:39 -04:00
MxString();
2023-06-21 03:30:07 -04:00
MxString(const char *);
void ToUpperCase();
void ToLowerCase();
MxString& operator=(MxString *);
MxString operator+(const char *);
MxString& operator+=(const char *);
inline const char *GetData() const { return m_data; }
2023-04-27 22:19:39 -04:00
private:
2023-04-29 23:39:01 -04:00
char *m_data;
unsigned short m_length;
2023-04-27 22:19:39 -04:00
};
#endif // MXSTRING_H