You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
347 B

#include "basicObject.h"
#include "../../alg/generic/md5.h"
U32 Global_Basic_Objects_Enumerator = 1;
basicObject::basicObject() :
basicValidatable()
{
m_nID = Global_Basic_Objects_Enumerator++;
char Buffer[33];
sprintf(Buffer, "%d", m_nID);
m_sUID = MD5String(Buffer);
}
basicObject::~basicObject()
{
if (m_sUID)
{
free(m_sUID);
}
}