Dongxu Ma > Audio-TagLib-1.43 > Audio::TagLib::ByteVector::Iterator

Download:
Audio-TagLib-1.43.tar.gz

Dependencies

Annotate this POD

CPAN RT

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

NAME ^

Audio::TagLib::ByteVector::Iterator - Perl-only class

SYNOPSIS ^

  use Audio::TagLib::ByteVector::Iterator;
  
  my $v = Audio::TagLib::ByteVector->new("blah blah blah");
  my $i = $v->begin();
  print $$i, "\n"; # got 'b'
  print ${++$i}, "\n"; # got 'l'

DESCRIPTION ^

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

new()

Generates an iterator attached with no vector.

new(Iterator $it)

Copy constructor.

DESTROY()

Deletes the instance.

PV data()

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