void ITopologyProcessor::RestoreMarks (CTopology &Topology, TArray<bool> &Saved)

//	RestoreMarks
//
//	Restore the mark for nodes

	{
	Topology.GetTopologyNodeList().RestoreMarks(Saved);
	}
void ITopologyProcessor::SaveAndMarkNodes (CTopology &Topology, CTopologyNodeList &NodeList, TArray<bool> *retSaved)

//	SaveAndMarkNodes
//
//	Saves the mark for all topology nodes. Then it marks all nodes in the NodeList
//	and clears the mark on all others.

	{
	int i;

	Topology.GetTopologyNodeList().SaveAndSetMarks(false, retSaved);

	for (i = 0; i < NodeList.GetCount(); i++)
		NodeList[i]->SetMarked(true);
	}