anandavasan
Technical User
Hi
I have object like below. I want to put this object into the queue using c++ . Please any one give example in c++
I am looking for equlant to java(readobject ,writeobject)
class MessageContainer
{
public:
string xmlData;
vector<PDFData> vdata;
MessageContainer() {
}
void setPdfData (PDFData pdata)
{
vdata.push_back(pdata);
}
vector<PDFData> getPdfData()
{
return vdata;
}
void setXMLFile(string txmlData)
{
xmlData = txmlData;
}
string getXMLFile()
{
return xmlData;
}
};
_________________
regards
anand
I have object like below. I want to put this object into the queue using c++ . Please any one give example in c++
I am looking for equlant to java(readobject ,writeobject)
class MessageContainer
{
public:
string xmlData;
vector<PDFData> vdata;
MessageContainer() {
}
void setPdfData (PDFData pdata)
{
vdata.push_back(pdata);
}
vector<PDFData> getPdfData()
{
return vdata;
}
void setXMLFile(string txmlData)
{
xmlData = txmlData;
}
string getXMLFile()
{
return xmlData;
}
};
_________________
regards
anand