ArtistType.cpp 435 Bytes

#include"ArtistType.h"

void ArtistType::PrintListinList()
{
	DoublyIter<AlbumType> Abiter(AlbumList);
	cout << "\t ----------------" << endl;
	cout << "\t ƼƮ : " << ArtistName << endl;
	while (Abiter.NotNull())
	{
		cout << "\tٹ" << Abiter.GetCurrentNode().data.GetAlbumName() << endl;
		Abiter.Next();
	}
}

ArtistType::ArtistType(const ArtistType& data)
{
	ArtistName = data.ArtistName;
	AlbumList = data.AlbumList;

}