class SendToSever
{
private:
friend class boost::serialization::access;
template<class Archive>
void serialize(Archive& ar, const unsigned int version)
{
ar & tileID;
ar & unitsize;
ar & myOffset;
ar & dataSize;
ar & LDMFilePath;
}
public:
int tileID;
int unitsize;
int64_t myOffset;
int dataSize;
string DATFilePath;
};
class SendToSever
{
public:
int tileID;
int unitsize;
int64_t myOffset;
int dataSize;
string LDMFilePath;
};
namespace boost{
namespace serialization{
template<class Archive>
void serialize(Archive& ar,SendToSever& sts, const unsigned int version)
{
ar & sts.tileID;
ar & sts.unitsize;
ar & sts.myOffset;
ar & sts.dataSize;
ar & sts.DATFilePath;
}
}
}