Go to the documentation of this file.
22 #if !defined(BASECLASSES_H)
56 BASE *ptr = (BASE*)realloc(
reinterpret_cast<void*
>(
m_values), (
m_vecSize+1) *
sizeof(BASE));
57 if (ptr ==
nullptr)
throw "Out of Memory";
119 {
if (
this==&o)
return *
this;
Copy(o);
return *
this; }
MHObjectRef & operator=(const MHObjectRef &)=default
static const char * GetAsString(enum UnionTypes t)
BASE operator[](int i) const
void Copy(const MHObjectRef &objr)
MHGenericBoolean()=default
MHContentRef & operator=(const MHContentRef &)=default
void Initialise(MHParseNode *p, MHEngine *engine)
MHGenericContentRef m_contentRefVal
MHGenericObjectRef m_objRefVal
MHUnion(const MHObjectRef &objVal)
MHGenericOctetString()=default
MHObjectRef * GetReference()
void CheckType(enum UnionTypes t) const
void PrintMe(FILE *fd, int nTabs) const
unsigned char GetAt(int i) const
const unsigned char * Bytes() const
void PrintMe(FILE *fd, int nTabs) const
void Initialise(MHParseNode *p, MHEngine *engine)
MHOctetString & operator=(const MHOctetString &o)
int Compare(const MHOctetString &str) const
void Initialise(MHParseNode *p, MHEngine *engine)
void PrintMe(FILE *fd, int nTabs) const
void PrintMe(FILE *fd, int nTabs) const
bool Equal(const MHObjectRef &objr, MHEngine *engine) const
void Initialise(MHParseNode *p, MHEngine *engine)
void Initialise(MHParseNode *p, MHEngine *engine)
void SetFromString(const char *str, int nLen)
MHGenericObjectRef()=default
void Initialise(MHParseNode *p, MHEngine *engine)
void Initialise(MHParseNode *p, MHEngine *engine)
MHGenericInteger()=default
void GetValue(MHOctetString &str, MHEngine *engine) const
MHUnion & operator=(const MHUnion &)=default
QString Printable() const
void PrintMe(FILE *fd, int nTabs) const
MHGenericContentRef()=default
enum MHUnion::UnionTypes U_None
void Initialise(MHParseNode *p, MHEngine *engine)
void PrintMe(FILE *fd, int nTabs) const
void Initialise(MHParseNode *p, MHEngine *engine)
MHGenericBoolean m_boolVal
MHGenericInteger m_intVal
void GetValueFrom(const MHParameter &value, MHEngine *engine)
void Initialise(MHParseNode *p, MHEngine *engine)
MHContentRef m_contentRefVal
QString Printable() const
void InsertAt(BASE b, int n)
void PrintMe(FILE *fd, int nTabs) const
void Copy(const MHFontBody &fb)
MHGenericOctetString m_strVal
MHOctetString(const MHOctetString &o)
MHOctetString m_contentRef
MHUnion(const MHOctetString &strVal)
void Initialise(MHParseNode *p, MHEngine *engine)
void Copy(const MHColour &col)
QString Printable() const
int GetValue(MHEngine *engine) const
enum MHParameter::ParamTypes P_Null
void PrintMe(FILE *fd, int nTabs) const
bool Equal(const MHOctetString &str) const
MHObjectRef * GetReference()
void GetValue(MHObjectRef &ref, MHEngine *engine) const
void GetValue(MHContentRef &ref, MHEngine *engine) const
bool Equal(const MHContentRef &cr, MHEngine *engine) const
void PrintMe(FILE *fd, int nTabs) const
void PrintMe(FILE *fd, int nTabs) const
void Copy(const MHContentRef &cr)
void Append(const MHOctetString &str)
MHUnion(const MHContentRef &cnVal)
void PrintMe(FILE *fd, int nTabs) const
void PrintMe(FILE *fd, int nTabs) const
void Copy(const MHOctetString &str)
std::vector< int > MHPointVec
QString Printable() const
bool GetValue(MHEngine *engine) const