Example #1
0
vector<Ban*> OBanDAO::vindBanDoorKlantID(int id)
{
	vector<Ban*> results = vector<Ban*>(); 
	for(int i =0; i < bannen.size(); i++)
	{
		Ban* temp = bannen.at(i);
		if(temp->getBanKlantID() == id){
			results.push_back(temp);
		}
	}
	return results;
}