TagLib API Documentation
modtag.h
Go to the documentation of this file.
1/***************************************************************************
2 copyright : (C) 2011 by Mathias Panzenböck
3 email : grosser.meister.morti@gmx.net
4 ***************************************************************************/
5
6/***************************************************************************
7 * This library is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU Lesser General Public License version *
9 * 2.1 as published by the Free Software Foundation. *
10 * *
11 * This library is distributed in the hope that it will be useful, but *
12 * WITHOUT ANY WARRANTY; without even the implied warranty of *
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14 * Lesser General Public License for more details. *
15 * *
16 * You should have received a copy of the GNU Lesser General Public *
17 * License along with this library; if not, write to the Free Software *
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA *
19 * 02110-1301 USA *
20 * *
21 * Alternatively, this file is available under the Mozilla Public *
22 * License Version 1.1. You may obtain a copy of the License at *
23 * http://www.mozilla.org/MPL/ *
24 ***************************************************************************/
25
26#ifndef TAGLIB_MODTAG_H
27#define TAGLIB_MODTAG_H
28
29#include "tag.h"
30
31namespace TagLib {
32 namespace Mod {
33
35
49 {
50 public:
51 Tag();
52 ~Tag() override;
53
54 Tag(const Tag &) = delete;
55 Tag &operator=(const Tag &) = delete;
56
61 String title() const override;
62
66 String artist() const override;
67
71 String album() const override;
72
78 String comment() const override;
79
83 String genre() const override;
84
88 unsigned int year() const override;
89
93 unsigned int track() const override;
94
103
112 void setTitle(const String &title) override;
113
117 void setArtist(const String &artist) override;
118
122 void setAlbum(const String &album) override;
123
141 void setComment(const String &comment) override;
142
146 void setGenre(const String &genre) override;
147
151 void setYear(unsigned int year) override;
152
156 void setTrack(unsigned int track) override;
157
168 void setTrackerName(const String &trackerName);
169
174 PropertyMap properties() const override;
175
185
186 private:
187 class TagPrivate;
189 std::unique_ptr<TagPrivate> d;
190 };
191 } // namespace Mod
192} // namespace TagLib
193#endif
A module file tag implementation.
Definition: modtag.h:49
void setTitle(const String &title) override
Tag & operator=(const Tag &)=delete
PropertyMap properties() const override
String album() const override
unsigned int track() const override
void setArtist(const String &artist) override
void setComment(const String &comment) override
String artist() const override
String trackerName() const
void setTrackerName(const String &trackerName)
PropertyMap setProperties(const PropertyMap &) override
String comment() const override
String title() const override
void setAlbum(const String &album) override
void setYear(unsigned int year) override
void setTrack(unsigned int track) override
String genre() const override
Tag(const Tag &)=delete
void setGenre(const String &genre) override
~Tag() override
unsigned int year() const override
A map for format-independent <key,values> tag representations.
Definition: tpropertymap.h:122
A wide string class suitable for unicode.
Definition: tstring.h:83
A simple, generic interface to common audio metadata fields.
Definition: tag.h:49
String TAGLIB_EXPORT genre(int index)
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41
#define TAGLIB_EXPORT
Definition: taglib_export.h:40
#define TAGLIB_MSVC_SUPPRESS_WARNING_NEEDS_TO_HAVE_DLL_INTERFACE
Definition: taglib_export.h:55