Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::Ogg::FiledListMap::Iterator

Download:
Audio-TagLib-1.43.tar.gz

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Source   Latest Release: Audio-TagLib-1.50_01

NAME ^

Audio::TagLib::Ogg::FiledListMap::Iterator - Perl-only class

SYNOPSIS ^

  use Audio::TagLib::Ogg::FiledListMap::Iterator;
  
  my $xc = Audio::TagLib::Ogg::XiphComment->new();
  $xc->setTitle(Audio::TagLib::String->new("title"));
  $xc->setArtist(Audio::TagLib::String->new("artist"));
  my $m  = $xc->fieldListMap();
  my $i  = $m->begin();
  print $$i->toString()->toCString(), "\n"; # got "artist"

DESCRIPTION ^

Implements C++ std::map::iterator to be corporately used with FiledListMap.

new()

Generates an iterator attached with no map.

new(Iterator $it)

Copy constructor.

DESTROY()

Deletes the instance.

Item data()

Returns the Item pointed by current iterator.

overloaded by operator q(${})

Iterator next()

Moves to next item.

overloaded by operator q(++)

Iterator last()

Moves to last item.

overloaded by operator q(--)

void copy(Iterator $it)

Makes a copy of $it.

OVERLOADED OPERATORS

${} = ++ --

EXPORT

None by default.

SEE ALSO ^

Audio::TagLib

AUTHOR ^

Dongxu Ma, <dongxu@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2005 by Dongxu Ma

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: