A list of ByteVectors. More...
#include <tbytevectorlist.h>
Static Public Member Functions | |
static TAGLIB_EXPORT ByteVectorList | split (const ByteVector &v, const ByteVector &pattern, int byteAlign=1, int max=0) |
Related Symbols | |
(Note that these are not member symbols.) | |
std::ostream TAGLIB_EXPORT & | operator<< (std::ostream &s, const TagLib::ByteVectorList &l) |
Additional Inherited Members | |
![]() | |
void | detach () |
A list of ByteVectors.
A List specialization with some handy features useful for ByteVectors.
TAGLIB_EXPORT TagLib::ByteVectorList::ByteVectorList | ( | ) |
Construct an empty ByteVectorList.
TAGLIB_EXPORT TagLib::ByteVectorList::~ByteVectorList | ( | ) |
Destroys this ByteVectorList instance.
TAGLIB_EXPORT TagLib::ByteVectorList::ByteVectorList | ( | const ByteVectorList & | l | ) |
Make a shallow, implicitly shared, copy of l. Because this is implicitly shared, this method is lightweight and suitable for pass-by-value usage.
TAGLIB_EXPORT TagLib::ByteVectorList::ByteVectorList | ( | std::initializer_list< ByteVector > | init | ) |
Construct a ByteVectorList with the contents of the braced initializer list.
TAGLIB_EXPORT ByteVectorList & TagLib::ByteVectorList::operator= | ( | std::initializer_list< ByteVector > | init | ) |
|
static |
Splits the ByteVector v into several strings at pattern. This will not include the pattern in the returned ByteVectors. max is the maximum number of entries that will be separated. If max for instance is 2 then a maximum of 1 match will be found and the vector will be split on that match.
TAGLIB_EXPORT ByteVector TagLib::ByteVectorList::toByteVector | ( | const ByteVector & | separator = " " | ) | const |
Convert the ByteVectorList to a ByteVector separated by separator. By default a space is used.
|
related |
Send the ByteVectorList to an output stream.