![]() |
|
#include <tbytevectorlist.h>
Public Member Functions | |
ByteVectorList () | |
virtual | ~ByteVectorList () |
ByteVectorList (const ByteVectorList &l) | |
ByteVector | toByteVector (const ByteVector &separator=" ") const |
Static Public Member Functions | |
static ByteVectorList | split (const ByteVector &v, const ByteVector &pattern, int byteAlign=1) |
static ByteVectorList | split (const ByteVector &v, const ByteVector &pattern, int byteAlign, int max) |
A List specialization with some handy features useful for ByteVectors.
TagLib::ByteVectorList::ByteVectorList | ( | ) |
Construct an empty ByteVectorList.
virtual TagLib::ByteVectorList::~ByteVectorList | ( | ) | [virtual] |
Destroys this ByteVectorList instance.
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.
static ByteVectorList TagLib::ByteVectorList::split | ( | const ByteVector & | v, | |
const ByteVector & | pattern, | |||
int | byteAlign, | |||
int | max | |||
) | [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.
static ByteVectorList TagLib::ByteVectorList::split | ( | const ByteVector & | v, | |
const ByteVector & | pattern, | |||
int | byteAlign = 1 | |||
) | [static] |
Splits the ByteVector v into several strings at pattern. This will not include the pattern in the returned ByteVectors.
ByteVector TagLib::ByteVectorList::toByteVector | ( | const ByteVector & | separator = " " |
) | const |
Convert the ByteVectorList to a ByteVector separated by separator. By default a space is used.