Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Like readObject or writeObject any method avialable in C++,

Status
Not open for further replies.

anandavasan

Technical User
Nov 19, 2003
2
SG
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top