ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/truck/MusicLibrary/Test.cpp
(Generate patch)

Comparing MusicLibrary/Test.cpp (file contents):
Revision 47 by douglas, 2008-03-07T03:08:31-08:00 vs.
Revision 49 by douglas, 2008-03-08T21:23:41-08:00

# Line 17 | Line 17 | int main(int argc, char *argv[])
17          {
18                  MusicLibrary::Library library;
19  
20 <                _foreach (const _L<MusicLibrary::Artist>, artist, library.GetArtists())
20 >                /*_foreach (const _L<MusicLibrary::Artist>, artist, library.GetArtists())
21                  {
22                          std::cout << artist->GetId() << ' ' << artist->GetName() << std::endl;
23  
# Line 28 | Line 28 | int main(int argc, char *argv[])
28                                  _foreach (const _L<MusicLibrary::Song>, song, album->GetSongs())
29                                          std::cout << song->GetId() << ' ' << song->GetName() << ' ' << song->GetPath() << ' ' << song->GetTrack() << std::endl;
30                          }
31 <                }
31 >                }*/
32 >
33 >                _foreach (const _L<MusicLibrary::Song>, song, library.GetSongs())
34 >                        std::cout << song->GetId() << ' ' << song->GetName() << ' ' << song->GetPath() << ' ' << song->GetTrack() << std::endl;
35          }
36          catch (const std::exception &exception)
37          {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines