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

47 lines
609 B
C++

1 year ago
#include "NullData.h"
#include <sstream>
#include <iomanip>
#include <ctime>
#include "Utils.h"
NullData::NullData()
{
}
Data* NullData::clone()
{
Data* data = new NullData();
return data;
}
void NullData::copy(Data* data)
{
//NullData *dt = dynamic_cast<NullData *>(data);
}
void NullData::copy(Data& data)
{
//NullData *dt = dynamic_cast<NullData *>(&data);
}
std::string NullData::toStr()
{
return "";
}
std::string NullData::toByteStr()
{
return "";
}
std::string NullData::toHexStr()
{
return "";
}
bool NullData::fromByteStr(std::string str)
{
return true;
}