mp4stem.h
Go to the documentation of this file.
/**************************************************************************
copyright : (C) 2026 by Antoine Colombier
email : antoine@mixxx.org
**************************************************************************/
/***************************************************************************
* This library is free software; you can redistribute it and/or modify *
* it under the terms of the GNU Lesser General Public License version *
* 2.1 as published by the Free Software Foundation. *
* *
* This library is distributed in the hope that it will be useful, but *
* WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
* Lesser General Public License for more details. *
* *
* You should have received a copy of the GNU Lesser General Public *
* License along with this library; if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
* 02110-1301 USA *
* *
* Alternatively, this file is available under the Mozilla Public *
* License Version 1.1. You may obtain a copy of the License at *
* http://www.mozilla.org/MPL/ *
***************************************************************************/
#ifndef TAGLIB_MP4STEM_H
#define TAGLIB_MP4STEM_H
#include "tbytevector.h"
#include "taglib_export.h"
namespace TagLib::MP4 {
class StemPrivate
{
public:
ByteVector data;
};
class TAGLIB_EXPORT Stem
{
public:
Stem();
explicit Stem(const ByteVector &data);
~Stem();
Stem(const Stem &item);
Stem &operator=(const Stem &item);
void swap(Stem &item) noexcept;
ByteVector data() const;
bool operator==(const Stem &other) const;
bool operator!=(const Stem &other) const;
private:
TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
std::shared_ptr<StemPrivate> d;
};
} // namespace TagLib::MP4
#endif
TagLib::ByteVector
A byte vector.
Definition tbytevector.h:46
TagLib::MP4::StemPrivate
STEM.
Definition mp4stem.h:35
TagLib::MP4::StemPrivate::data
ByteVector data
Definition mp4stem.h:37
TagLib::MP4::Stem::Stem
Stem(const ByteVector &data)
TagLib::MP4::Stem::Stem
Stem()
TagLib::MP4::Stem::swap
void swap(Stem &item) noexcept
TagLib::MP4::Stem::operator==
bool operator==(const Stem &other) const
TagLib::MP4::Stem::operator=
Stem & operator=(const Stem &item)
TagLib::MP4::Stem::operator!=
bool operator!=(const Stem &other) const
TagLib::MP4::Stem::Stem
Stem(const Stem &item)
TagLib::MP4::Stem::data
ByteVector data() const
The Stem data.
TagLib::MP4::Stem::~Stem
~Stem()
TagLib::MP4
An implementation of MP4 (AAC, ALAC, ...) metadata.
Definition mp4atom.h:35
taglib_export.h
TAGLIB_EXPORT
#define TAGLIB_EXPORT
Definition taglib_export.h:40
TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition taglib_export.h:55
tbytevector.h