// 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);
}
Пример #2
0
void Message::save(Folder& folder){
	this->addFldr(&folder);
	folder.addMsg(this);
}
Пример #3
0
void Message::save(Folder &f){
    folders.insert(&f);
    f.addMsg(this);
}
Пример #4
0
	void Message::saveMessage(Folder &fd)
	{
		folders.insert(&fd);
		fd.addMsg(this);
	}
Пример #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
}
Пример #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);
 }