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"
|
|
|
|
|
|
|
|
class MxString : public MxCore
|
2023-04-27 22:19:39 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) MxString(const MxString &);
|
2023-04-29 23:39:01 -04:00
|
|
|
__declspec(dllexport) virtual ~MxString();
|
2023-06-11 21:03:54 -04:00
|
|
|
__declspec(dllexport) const MxString &operator=(const char *);
|
2023-04-27 22:19:39 -04:00
|
|
|
|
2023-06-13 20:22:42 -04:00
|
|
|
MxString();
|
2023-06-21 03:30:07 -04:00
|
|
|
MxString(const char *);
|
|
|
|
void ToUpperCase();
|
|
|
|
void ToLowerCase();
|
|
|
|
const MxString &operator=(MxString *);
|
2023-06-13 20:22:42 -04:00
|
|
|
|
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
|