mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
e0e338ee44
* lego: add MxDSType enum, add to all ctors * refactor header * re-type members * add size assert for MxDSObject * fix Parse param * fix types
35 lines
596 B
C++
35 lines
596 B
C++
#ifndef MXATOMID_H
|
|
#define MXATOMID_H
|
|
|
|
#include "mxtypes.h"
|
|
|
|
enum LookupMode
|
|
{
|
|
LookupMode_Exact = 0,
|
|
LookupMode_LowerCase = 1,
|
|
LookupMode_UpperCase = 2,
|
|
LookupMode_LowerCase2 = 3
|
|
};
|
|
|
|
class MxAtomId
|
|
{
|
|
public:
|
|
__declspec(dllexport) MxAtomId(const char *, LookupMode);
|
|
__declspec(dllexport) MxAtomId &operator=(const MxAtomId &id);
|
|
__declspec(dllexport) ~MxAtomId();
|
|
|
|
MxAtomId()
|
|
{
|
|
this->m_internal = 0;
|
|
}
|
|
|
|
inline MxBool operator ==(const MxAtomId &other) const
|
|
{
|
|
return this->m_internal == other.m_internal;
|
|
}
|
|
|
|
private:
|
|
char *m_internal;
|
|
};
|
|
|
|
#endif // MXATOMID_H
|