Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::ID3v2::FrameListMap::Iterator

Download:
Audio-TagLib-1.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

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

NAME ^

Audio::TagLib::ID3v2::FrameListMap::Iterator - Perl-only class

SYNOPSIS ^

  use Audio::TagLib::ID3v2::FrameListMap::Iterator;
  
  my $tag  = Audio::TagLib::ID3v2::Tag->new();
  $tag->setTitle(Audio::TagLib::String->new("title"));
  $tag->setArtist(Audio::TagLib::String->new("artist"));
  my $map  = $tag->frameListMap();
  my $i    = $map->begin();
  print $$i->begin()->data()->toString()->toCString(), "\n"; 
  # got "title" 

DESCRIPTION ^

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

new()

Generates an iterator attached with no map.

new(Iterator $it)

Copy constructor.

DESTROY()

Deletes the instance.

FrameList data()

Returns the FrameList 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: