Tag Parser  6.4.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
matroskatagid.h
Go to the documentation of this file.
1 #ifndef MEDIA_MATROSKATAGIDS_H
2 #define MEDIA_MATROSKATAGIDS_H
3 
4 #include "../tagtarget.h"
5 
6 namespace Media {
7 
11 namespace MatroskaTagIds {
12 
13 inline TAG_PARSER_EXPORT const char *original() {
14  return "ORIGINAL";
15 }
16 inline TAG_PARSER_EXPORT const char *sample() {
17  return "SAMPLE";
18 }
19 inline TAG_PARSER_EXPORT const char *country() {
20  return "COUNTRY";
21 }
22 
23 inline TAG_PARSER_EXPORT const char *totalParts() {
24  return "TOTAL_PARTS";
25 }
26 inline TAG_PARSER_EXPORT const char *partNumber() {
27  return "PART_NUMBER";
28 }
29 inline TAG_PARSER_EXPORT const char *partOffset() {
30  return "PART_OFFSET";
31 }
32 
33 inline TAG_PARSER_EXPORT const char *title() {
34  return "TITLE";
35 }
36 inline TAG_PARSER_EXPORT const char *subtitle() {
37  return "SUBTITLE";
38 }
39 
40 inline TAG_PARSER_EXPORT const char *url() {
41  return "URL";
42 }
43 inline TAG_PARSER_EXPORT const char *sortWith() {
44  return "SORT_WITH";
45 }
46 inline TAG_PARSER_EXPORT const char *instruments() {
47  return "INSTRUMENTS";
48 }
49 inline TAG_PARSER_EXPORT const char *email() {
50  return "EMAIL";
51 }
52 inline TAG_PARSER_EXPORT const char *address() {
53  return "ADDRESS";
54 }
55 inline TAG_PARSER_EXPORT const char *fax() {
56  return "FAX";
57 }
58 inline TAG_PARSER_EXPORT const char *phone() {
59  return "PHONE";
60 }
61 
62 inline TAG_PARSER_EXPORT const char *artist() {
63  return "ARTIST";
64 }
65 inline TAG_PARSER_EXPORT const char *album() {
66  return "ALBUM";
67 }
68 inline TAG_PARSER_EXPORT const char *leadPerformer() {
69  return "LEAD_PERFORMER";
70 }
71 inline TAG_PARSER_EXPORT const char *accompaniment() {
72  return "ACCOMPANIMENT";
73 }
74 inline TAG_PARSER_EXPORT const char *composer() {
75  return "COMPOSER";
76 }
77 inline TAG_PARSER_EXPORT const char *arranger() {
78  return "ARRANGER";
79 }
80 inline TAG_PARSER_EXPORT const char *lyrics() {
81  return "LYRICS";
82 }
83 inline TAG_PARSER_EXPORT const char *lyricist() {
84  return "LYRICIST";
85 }
86 inline TAG_PARSER_EXPORT const char *conductor() {
87  return "CONDUCTOR";
88 }
89 inline TAG_PARSER_EXPORT const char *director() {
90  return "DIRECTOR";
91 }
92 inline TAG_PARSER_EXPORT const char *assistantDirector() {
93  return "ASSISTANT_DIRECTOR";
94 }
96  return "DIRECTOR_OF_PHOTOGRAPHY";
97 }
98 inline TAG_PARSER_EXPORT const char *soundEngineer() {
99  return "SOUND_ENGINEER";
100 }
101 inline TAG_PARSER_EXPORT const char *artDirector() {
102  return "ART_DIRECTOR";
103 }
104 inline TAG_PARSER_EXPORT const char *productionDesigner() {
105  return "PRODUCTION_DESIGNER";
106 }
107 inline TAG_PARSER_EXPORT const char *choregrapher() {
108  return "CHOREGRAPHER";
109 }
110 inline TAG_PARSER_EXPORT const char *costumeDesigner() {
111  return "COSTUME_DESIGNER";
112 }
113 inline TAG_PARSER_EXPORT const char *actor() {
114  return "ACTOR";
115 }
116 inline TAG_PARSER_EXPORT const char *character() {
117  return "CHARACTER";
118 }
119 inline TAG_PARSER_EXPORT const char *writtenBy() {
120  return "WRITTEN_BY";
121 }
122 inline TAG_PARSER_EXPORT const char *screenplayBy() {
123  return "SCREENPLAY_BY";
124 }
125 inline TAG_PARSER_EXPORT const char *editedBy() {
126  return "EDITED_BY";
127 }
128 inline TAG_PARSER_EXPORT const char *producer() {
129  return "PRODUCER";
130 }
131 inline TAG_PARSER_EXPORT const char *coproducer() {
132  return "COPRODUCER";
133 }
134 inline TAG_PARSER_EXPORT const char *executiveProducer() {
135  return "EXECUTIVE_PRODUCER";
136 }
137 inline TAG_PARSER_EXPORT const char *distributedBy() {
138  return "DISTRIBUTED_BY";
139 }
140 inline TAG_PARSER_EXPORT const char *masteredBy() {
141  return "MASTERED_BY";
142 }
143 inline TAG_PARSER_EXPORT const char *encodedBy() {
144  return "ENCODED_BY";
145 }
146 inline TAG_PARSER_EXPORT const char *mixedBy() {
147  return "MIXED_BY";
148 }
149 inline TAG_PARSER_EXPORT const char *remixedBy() {
150  return "REMIXED_BY";
151 }
152 inline TAG_PARSER_EXPORT const char *productionStudio() {
153  return "PRODUCTION_STUDIO";
154 }
155 inline TAG_PARSER_EXPORT const char *thanksTo() {
156  return "THANKS_TO";
157 }
158 inline TAG_PARSER_EXPORT const char *publisher() {
159  return "PUBLISHER";
160 }
161 inline TAG_PARSER_EXPORT const char *label() {
162  return "LABEL";
163 }
164 
165 inline TAG_PARSER_EXPORT const char *genre() {
166  return "GENRE";
167 }
168 inline TAG_PARSER_EXPORT const char *mood() {
169  return "MOOD";
170 }
171 inline TAG_PARSER_EXPORT const char *originalMediaType() {
172  return "ORIGINAL_MEDIA_TYPE";
173 }
174 inline TAG_PARSER_EXPORT const char *contentType() {
175  return "CONTENT_TYPE";
176 }
177 inline TAG_PARSER_EXPORT const char *subject() {
178  return "SUBJECT";
179 }
180 inline TAG_PARSER_EXPORT const char *description() {
181  return "DESCRIPTION";
182 }
183 inline TAG_PARSER_EXPORT const char *keywords() {
184  return "KEYWORDS";
185 }
186 inline TAG_PARSER_EXPORT const char *summary() {
187  return "SUMMARY";
188 }
189 inline TAG_PARSER_EXPORT const char *synopsis() {
190  return "SYNOPSIS";
191 }
192 inline TAG_PARSER_EXPORT const char *initialKey() {
193  return "INITIAL_KEY";
194 }
195 inline TAG_PARSER_EXPORT const char *period() {
196  return "PERIOD";
197 }
198 inline TAG_PARSER_EXPORT const char *lawRating() {
199  return "LAW_RATING";
200 }
201 inline TAG_PARSER_EXPORT const char *icra() {
202  return "ICRA";
203 }
204 
205 inline TAG_PARSER_EXPORT const char *dateRelease() {
206  return "DATE_RELEASED";
207 }
208 inline TAG_PARSER_EXPORT const char *dateRecorded() {
209  return "DATE_RECORDED";
210 }
211 inline TAG_PARSER_EXPORT const char *dateEncoded() {
212  return "DATE_ENCODED";
213 }
214 inline TAG_PARSER_EXPORT const char *dateTagged() {
215  return "DATE_TAGGED";
216 }
217 inline TAG_PARSER_EXPORT const char *dateDigitized() {
218  return "DATE_DIGITIZED";
219 }
220 inline TAG_PARSER_EXPORT const char *dateWritten() {
221  return "DATE_WRITTEN";
222 }
223 inline TAG_PARSER_EXPORT const char *datePurchased() {
224  return "DATE_PURCHASED";
225 }
226 
227 inline TAG_PARSER_EXPORT const char *recordingLocation() {
228  return "RECORDING_LOCATION";
229 }
231  return "COMPOSITION_LOCATION";
232 }
234  return "COMPOSER_NATIONALITY";
235 }
236 
237 inline TAG_PARSER_EXPORT const char *comment() {
238  return "COMMENT";
239 }
240 inline TAG_PARSER_EXPORT const char *playCounter() {
241  return "PLAY_COUNTER";
242 }
243 inline TAG_PARSER_EXPORT const char *rating() {
244  return "RATING";
245 }
246 
247 inline TAG_PARSER_EXPORT const char *encoder() {
248  return "ENCODER";
249 }
250 inline TAG_PARSER_EXPORT const char *encoderSettings() {
251  return "ENCODER_SETTINGS";
252 }
253 inline TAG_PARSER_EXPORT const char *bps() {
254  return "BPS";
255 }
256 inline TAG_PARSER_EXPORT const char *fps() {
257  return "FPS";
258 }
259 inline TAG_PARSER_EXPORT const char *bpm() {
260  return "BPM";
261 }
262 inline TAG_PARSER_EXPORT const char *duration() {
263  return "DURATION";
264 }
265 inline TAG_PARSER_EXPORT const char *language() {
266  return "LANGUAGE";
267 }
268 inline TAG_PARSER_EXPORT const char *numberOfFrames() {
269  return "NUMBER_OF_FRAMES";
270 }
271 inline TAG_PARSER_EXPORT const char *numberOfBytes() {
272  return "NUMBER_OF_BYTES";
273 }
274 inline TAG_PARSER_EXPORT const char *measure() {
275  return "MEASURE";
276 }
277 inline TAG_PARSER_EXPORT const char *tuning() {
278  return "TUNING";
279 }
280 inline TAG_PARSER_EXPORT const char *replaygainGain() {
281  return "REPLAYGAIN_GAIN";
282 }
283 inline TAG_PARSER_EXPORT const char *replaygainPeak() {
284  return "REPLAYGAIN_PEAK";
285 }
286 inline TAG_PARSER_EXPORT const char *identifiers() {
287  return "Identifiers";
288 }
289 inline TAG_PARSER_EXPORT const char *isrc() {
290  return "ISRC";
291 }
292 inline TAG_PARSER_EXPORT const char *mcdi() {
293  return "MCDI";
294 }
295 inline TAG_PARSER_EXPORT const char *isbn() {
296  return "ISBN";
297 }
298 inline TAG_PARSER_EXPORT const char *barcode() {
299  return "BARCODE";
300 }
301 inline TAG_PARSER_EXPORT const char *catalogNumber() {
302  return "CATALOG_NUMBER";
303 }
304 inline TAG_PARSER_EXPORT const char *labelCode() {
305  return "LABEL_CODE";
306 }
307 inline TAG_PARSER_EXPORT const char *lccn() {
308  return "LCCN";
309 }
310 
311 inline TAG_PARSER_EXPORT const char *purchaseItem() {
312  return "PURCHASE_ITEM";
313 }
314 inline TAG_PARSER_EXPORT const char *purchaseInfo() {
315  return "PURCHASE_INFO";
316 }
317 inline TAG_PARSER_EXPORT const char *purchaseOwner() {
318  return "PURCHASE_OWNER";
319 }
320 inline TAG_PARSER_EXPORT const char *purchasePrice() {
321  return "PURCHASE_PRICE";
322 }
323 inline TAG_PARSER_EXPORT const char *purchaseCurrency() {
324  return "PURCHASE_CURRENCY";
325 }
326 
327 inline TAG_PARSER_EXPORT const char *copyright() {
328  return "COPYRIGHT";
329 }
331  return "PRODUCTION_COPYRIGHT";
332 }
333 inline TAG_PARSER_EXPORT const char *license() {
334  return "LICENSE";
335 }
336 inline TAG_PARSER_EXPORT const char *termsOfUse() {
337  return "TERMS_OF_USE";
338 }
339 
344 namespace TrackSpecific {
345 inline TAG_PARSER_EXPORT const char *numberOfBytes() {
346  return "NUMBER_OF_BYTES";
347 }
348 inline TAG_PARSER_EXPORT const char *numberOfFrames() {
349  return "NUMBER_OF_FRAMES";
350 }
351 inline TAG_PARSER_EXPORT const char *duration() {
352  return "DURATION";
353 }
355 inline TAG_PARSER_EXPORT const char *bitrate() {
356  return "BPS";
357 }
358 inline TAG_PARSER_EXPORT const char *writingApp() {
359  return "_STATISTICS_WRITING_APP";
360 }
361 inline TAG_PARSER_EXPORT const char *writingDate() {
362  return "_STATISTICS_WRITING_DATE_UTC";
363 }
364 inline TAG_PARSER_EXPORT const char *statisticsTags() {
365  return "_STATISTICS_TAGS";
366 }
367 }
368 
369 }
370 
375 {
376  return targetLevelValue > 70 ? TagTargetLevel::Collection : static_cast<TagTargetLevel>(targetLevelValue / 10);
377 }
378 
383 {
384  return static_cast<uint64>(targetLevel) * 10;
385 }
386 
387 } // namespace Media
388 
389 #endif // MEDIA_MATROSKATAGIDS_H
TAG_PARSER_EXPORT const char * subtitle()
Definition: matroskatagid.h:36
TAG_PARSER_EXPORT const char * duration()
TAG_PARSER_EXPORT const char * isrc()
TAG_PARSER_EXPORT const char * title()
Definition: matroskatagid.h:33
TAG_PARSER_EXPORT const char * subject()
TAG_PARSER_EXPORT const char * description()
TAG_PARSER_EXPORT const char * lccn()
TAG_PARSER_EXPORT const char * labelCode()
TAG_PARSER_EXPORT TagTargetLevel matroskaTagTargetLevel(uint64 targetLevelValue)
Returns the general TagTargetLevel for the Matroska specific targetLevelValue.
TAG_PARSER_EXPORT const char * purchaseOwner()
TAG_PARSER_EXPORT const char * email()
Definition: matroskatagid.h:49
TAG_PARSER_EXPORT const char * mcdi()
TAG_PARSER_EXPORT const char * encoderSettings()
TAG_PARSER_EXPORT const char * producer()
TAG_PARSER_EXPORT const char * tuning()
TAG_PARSER_EXPORT const char * soundEngineer()
Definition: matroskatagid.h:98
TAG_PARSER_EXPORT const char * period()
TAG_PARSER_EXPORT const char * numberOfBytes()
TAG_PARSER_EXPORT const char * purchaseInfo()
TAG_PARSER_EXPORT const char * keywords()
TAG_PARSER_EXPORT const char * actor()
TAG_PARSER_EXPORT uint64 matroskaTagTargetLevelValue(TagTargetLevel targetLevel)
Returns the Matroska specific target level value for the specified general targetLevel.
TAG_PARSER_EXPORT const char * arranger()
Definition: matroskatagid.h:77
TAG_PARSER_EXPORT const char * artDirector()
TAG_PARSER_EXPORT const char * phone()
Definition: matroskatagid.h:58
TAG_PARSER_EXPORT const char * purchaseItem()
TAG_PARSER_EXPORT const char * conductor()
Definition: matroskatagid.h:86
TAG_PARSER_EXPORT const char * termsOfUse()
TAG_PARSER_EXPORT const char * originalMediaType()
TAG_PARSER_EXPORT const char * language()
TAG_PARSER_EXPORT const char * original()
Definition: matroskatagid.h:13
TAG_PARSER_EXPORT const char * encoder()
TAG_PARSER_EXPORT const char * compositionLocation()
TAG_PARSER_EXPORT const char * executiveProducer()
TAG_PARSER_EXPORT const char * assistantDirector()
Definition: matroskatagid.h:92
TAG_PARSER_EXPORT const char * mood()
TAG_PARSER_EXPORT const char * composerNationality()
TAG_PARSER_EXPORT const char * lawRating()
TAG_PARSER_EXPORT const char * leadPerformer()
Definition: matroskatagid.h:68
TAG_PARSER_EXPORT const char * sample()
Definition: matroskatagid.h:16
TAG_PARSER_EXPORT const char * initialKey()
TAG_PARSER_EXPORT const char * numberOfBytes()
TAG_PARSER_EXPORT const char * statisticsTags()
TAG_PARSER_EXPORT const char * dateDigitized()
TAG_PARSER_EXPORT const char * genre()
TAG_PARSER_EXPORT const char * dateEncoded()
TAG_PARSER_EXPORT const char * synopsis()
TagTargetLevel
The TagTargetLevel enum specifies tag target levels.
Definition: tagtarget.h:17
TAG_PARSER_EXPORT const char * remixedBy()
TAG_PARSER_EXPORT const char * productionDesigner()
TAG_PARSER_EXPORT const char * bitrate()
The track&#39;s bit rate in bits per second.
TAG_PARSER_EXPORT const char * partOffset()
Definition: matroskatagid.h:29
TAG_PARSER_EXPORT const char * screenplayBy()
TAG_PARSER_EXPORT const char * dateWritten()
TAG_PARSER_EXPORT const char * character()
TAG_PARSER_EXPORT const char * dateRelease()
TAG_PARSER_EXPORT const char * dateRecorded()
TAG_PARSER_EXPORT const char * numberOfFrames()
TAG_PARSER_EXPORT const char * instruments()
Definition: matroskatagid.h:46
TAG_PARSER_EXPORT const char * contentType()
TAG_PARSER_EXPORT const char * choregrapher()
TAG_PARSER_EXPORT const char * rating()
TAG_PARSER_EXPORT const char * address()
Definition: matroskatagid.h:52
TAG_PARSER_EXPORT const char * isbn()
TAG_PARSER_EXPORT const char * artist()
Definition: matroskatagid.h:62
TAG_PARSER_EXPORT const char * writtenBy()
TAG_PARSER_EXPORT const char * partNumber()
Definition: matroskatagid.h:26
TAG_PARSER_EXPORT const char * catalogNumber()
TAG_PARSER_EXPORT const char * totalParts()
Definition: matroskatagid.h:23
TAG_PARSER_EXPORT const char * composer()
Definition: matroskatagid.h:74
TAG_PARSER_EXPORT const char * comment()
TAG_PARSER_EXPORT const char * identifiers()
TAG_PARSER_EXPORT const char * editedBy()
TAG_PARSER_EXPORT const char * productionStudio()
TAG_PARSER_EXPORT const char * masteredBy()
TAG_PARSER_EXPORT const char * label()
TAG_PARSER_EXPORT const char * bpm()
TAG_PARSER_EXPORT const char * dateTagged()
TAG_PARSER_EXPORT const char * playCounter()
TAG_PARSER_EXPORT const char * country()
Definition: matroskatagid.h:19
TAG_PARSER_EXPORT const char * summary()
TAG_PARSER_EXPORT const char * purchasePrice()
TAG_PARSER_EXPORT const char * album()
Definition: matroskatagid.h:65
TAG_PARSER_EXPORT const char * publisher()
TAG_PARSER_EXPORT const char * fps()
TAG_PARSER_EXPORT const char * accompaniment()
Definition: matroskatagid.h:71
TAG_PARSER_EXPORT const char * directorOfPhotography()
Definition: matroskatagid.h:95
TAG_PARSER_EXPORT const char * thanksTo()
TAG_PARSER_EXPORT const char * barcode()
TAG_PARSER_EXPORT const char * sortWith()
Definition: matroskatagid.h:43
TAG_PARSER_EXPORT const char * fax()
Definition: matroskatagid.h:55
TAG_PARSER_EXPORT const char * license()
TAG_PARSER_EXPORT const char * distributedBy()
TAG_PARSER_EXPORT const char * measure()
TAG_PARSER_EXPORT const char * copyright()
TAG_PARSER_EXPORT const char * replaygainGain()
TAG_PARSER_EXPORT const char * mixedBy()
TAG_PARSER_EXPORT const char * url()
Definition: matroskatagid.h:40
TAG_PARSER_EXPORT const char * icra()
TAG_PARSER_EXPORT const char * writingApp()
TAG_PARSER_EXPORT const char * recordingLocation()
TAG_PARSER_EXPORT const char * encodedBy()
Contains all classes and functions of the TagInfo library.
Definition: exceptions.h:9
TAG_PARSER_EXPORT const char * lyrics()
Definition: matroskatagid.h:80
TAG_PARSER_EXPORT const char * director()
Definition: matroskatagid.h:89
TAG_PARSER_EXPORT const char * bps()
TAG_PARSER_EXPORT const char * duration()
TAG_PARSER_EXPORT const char * lyricist()
Definition: matroskatagid.h:83
TAG_PARSER_EXPORT const char * datePurchased()
TAG_PARSER_EXPORT const char * writingDate()
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
TAG_PARSER_EXPORT const char * replaygainPeak()
TAG_PARSER_EXPORT const char * coproducer()
TAG_PARSER_EXPORT const char * costumeDesigner()
TAG_PARSER_EXPORT const char * numberOfFrames()
TAG_PARSER_EXPORT const char * productionCopyright()
TAG_PARSER_EXPORT const char * purchaseCurrency()