// add/remove this message from the specified folder's set of messages
void Message::save(Folder& f)
{
    std::cout << "Message saved to folder" << std::endl;
    folders.insert(&f);
    f.addMsg(this);
}
Example #2
0
void Message::save(Folder& folder){
	this->addFldr(&folder);
	folder.addMsg(this);
}
Example #3
0
void Message::save(Folder &f){
    folders.insert(&f);
    f.addMsg(this);
}
Example #4
0
	void Message::saveMessage(Folder &fd)
	{
		folders.insert(&fd);
		fd.addMsg(this);
	}
Example #5
0
void Message::save(Folder &f)
{
    folders.insert(&f); // add the given Folder to our list of Folders
    f.addMsg(this);     // add this Message to f's set of Messages
}
Example #6
0
void Message::save(Folder &f)
{
    // add f to Folders and this Message to f's list of Messages
    folders.insert(&f);  
    f.addMsg(this);
}
 void Message::save(Folder& fldr)
 {
 	addFldr(&fldr);
 	fldr.addMsg(this);
 }