| Audio-TagLib documentation | view source | Contained in the Audio-TagLib distribution. |
Audio::TagLib::String::Iterator - Perl-only class
use Audio::TagLib::String::Iterator;
my $s = Audio::TagLib::String->new("blah blah blah");
my $i = $s->begin();
print ${$i++}, "\n"; # got 'b'
print $i->data(), "\n"; # got 'l'
Implements C++ std::map::iterator to be corporately used with String.
Generates an iterator attached with no map.
Copy constructor.
Deletes the instance.
Returns the PV pointed by current iterator.
overloaded by operator q(${})
Moves to next item.
overloaded by operator q(++)
Moves to last item.
overloaded by operator q(--)
Makes a copy of $it.
Forwards current iterator $n steps.
overloaded by operator q(+=)
Backwards current iterator $n steps.
overloaded by operator q(-=)
${} = ++ -- += -=
None by default.
Dongxu Ma, <dongxu@cpan.org>
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.
| Audio-TagLib documentation | view source | Contained in the Audio-TagLib distribution. |