Tag Parser 12.3.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Loading...
Searching...
No Matches
matroskatagid.h
Go to the documentation of this file.
1#ifndef TAG_PARSER_MATROSKATAGIDS_H
2#define TAG_PARSER_MATROSKATAGIDS_H
3
4#include "../tagtarget.h"
5
6#include <string_view>
7
8namespace TagParser {
9
10namespace MatroskaTagIds {
11
12// nesting information
13
14constexpr TAG_PARSER_EXPORT std::string_view original()
15{
16 return "ORIGINAL";
17}
18constexpr TAG_PARSER_EXPORT std::string_view sample()
19{
20 return "SAMPLE";
21}
22constexpr TAG_PARSER_EXPORT std::string_view country()
23{
24 return "COUNTRY";
25}
26
27// organization information
28
29constexpr TAG_PARSER_EXPORT std::string_view totalParts()
30{
31 return "TOTAL_PARTS";
32}
33constexpr TAG_PARSER_EXPORT std::string_view partNumber()
34{
35 return "PART_NUMBER";
36}
37constexpr TAG_PARSER_EXPORT std::string_view partOffset()
38{
39 return "PART_OFFSET";
40}
41
42// titles
43
44constexpr TAG_PARSER_EXPORT std::string_view title()
45{
46 return "TITLE";
47}
48constexpr TAG_PARSER_EXPORT std::string_view subtitle()
49{
50 return "SUBTITLE";
51}
52
53// nested information
54
55constexpr TAG_PARSER_EXPORT std::string_view url()
56{
57 return "URL";
58}
59constexpr TAG_PARSER_EXPORT std::string_view sortWith()
60{
61 return "SORT_WITH";
62}
63constexpr TAG_PARSER_EXPORT std::string_view instruments()
64{
65 return "INSTRUMENTS";
66}
67constexpr TAG_PARSER_EXPORT std::string_view email()
68{
69 return "EMAIL";
70}
71constexpr TAG_PARSER_EXPORT std::string_view address()
72{
73 return "ADDRESS";
74}
75constexpr TAG_PARSER_EXPORT std::string_view fax()
76{
77 return "FAX";
78}
79constexpr TAG_PARSER_EXPORT std::string_view phone()
80{
81 return "PHONE";
82}
83
84// entities
85
86constexpr TAG_PARSER_EXPORT std::string_view artist()
87{
88 return "ARTIST";
89}
90constexpr TAG_PARSER_EXPORT std::string_view album()
91{
92 return "ALBUM";
93}
94constexpr TAG_PARSER_EXPORT std::string_view leadPerformer()
95{
96 return "LEAD_PERFORMER";
97}
98constexpr TAG_PARSER_EXPORT std::string_view accompaniment()
99{
100 return "ACCOMPANIMENT";
101}
102constexpr TAG_PARSER_EXPORT std::string_view composer()
103{
104 return "COMPOSER";
105}
106constexpr TAG_PARSER_EXPORT std::string_view arranger()
107{
108 return "ARRANGER";
109}
110constexpr TAG_PARSER_EXPORT std::string_view lyrics()
111{
112 return "LYRICS";
113}
114constexpr TAG_PARSER_EXPORT std::string_view lyricist()
115{
116 return "LYRICIST";
117}
118constexpr TAG_PARSER_EXPORT std::string_view conductor()
119{
120 return "CONDUCTOR";
121}
122constexpr TAG_PARSER_EXPORT std::string_view director()
123{
124 return "DIRECTOR";
125}
126constexpr TAG_PARSER_EXPORT std::string_view assistantDirector()
127{
128 return "ASSISTANT_DIRECTOR";
129}
130constexpr TAG_PARSER_EXPORT std::string_view directorOfPhotography()
131{
132 return "DIRECTOR_OF_PHOTOGRAPHY";
133}
134constexpr TAG_PARSER_EXPORT std::string_view soundEngineer()
135{
136 return "SOUND_ENGINEER";
137}
138constexpr TAG_PARSER_EXPORT std::string_view artDirector()
139{
140 return "ART_DIRECTOR";
141}
142constexpr TAG_PARSER_EXPORT std::string_view productionDesigner()
143{
144 return "PRODUCTION_DESIGNER";
145}
146constexpr TAG_PARSER_EXPORT std::string_view choregrapher()
147{
148 return "CHOREGRAPHER";
149}
150constexpr TAG_PARSER_EXPORT std::string_view costumeDesigner()
151{
152 return "COSTUME_DESIGNER";
153}
154constexpr TAG_PARSER_EXPORT std::string_view actor()
155{
156 return "ACTOR";
157}
158constexpr TAG_PARSER_EXPORT std::string_view character()
159{
160 return "CHARACTER";
161}
162constexpr TAG_PARSER_EXPORT std::string_view writtenBy()
163{
164 return "WRITTEN_BY";
165}
166constexpr TAG_PARSER_EXPORT std::string_view screenplayBy()
167{
168 return "SCREENPLAY_BY";
169}
170constexpr TAG_PARSER_EXPORT std::string_view editedBy()
171{
172 return "EDITED_BY";
173}
174constexpr TAG_PARSER_EXPORT std::string_view producer()
175{
176 return "PRODUCER";
177}
178constexpr TAG_PARSER_EXPORT std::string_view coproducer()
179{
180 return "COPRODUCER";
181}
182constexpr TAG_PARSER_EXPORT std::string_view executiveProducer()
183{
184 return "EXECUTIVE_PRODUCER";
185}
186constexpr TAG_PARSER_EXPORT std::string_view distributedBy()
187{
188 return "DISTRIBUTED_BY";
189}
190constexpr TAG_PARSER_EXPORT std::string_view masteredBy()
191{
192 return "MASTERED_BY";
193}
194constexpr TAG_PARSER_EXPORT std::string_view encodedBy()
195{
196 return "ENCODED_BY";
197}
198constexpr TAG_PARSER_EXPORT std::string_view mixedBy()
199{
200 return "MIXED_BY";
201}
202constexpr TAG_PARSER_EXPORT std::string_view remixedBy()
203{
204 return "REMIXED_BY";
205}
206constexpr TAG_PARSER_EXPORT std::string_view productionStudio()
207{
208 return "PRODUCTION_STUDIO";
209}
210constexpr TAG_PARSER_EXPORT std::string_view thanksTo()
211{
212 return "THANKS_TO";
213}
214constexpr TAG_PARSER_EXPORT std::string_view publisher()
215{
216 return "PUBLISHER";
217}
218constexpr TAG_PARSER_EXPORT std::string_view label()
219{
220 return "LABEL";
221}
222
223// search and classification
224
225constexpr TAG_PARSER_EXPORT std::string_view genre()
226{
227 return "GENRE";
228}
229constexpr TAG_PARSER_EXPORT std::string_view mood()
230{
231 return "MOOD";
232}
233constexpr TAG_PARSER_EXPORT std::string_view originalMediaType()
234{
235 return "ORIGINAL_MEDIA_TYPE";
236}
237constexpr TAG_PARSER_EXPORT std::string_view contentType()
238{
239 return "CONTENT_TYPE";
240}
241constexpr TAG_PARSER_EXPORT std::string_view subject()
242{
243 return "SUBJECT";
244}
245constexpr TAG_PARSER_EXPORT std::string_view description()
246{
247 return "DESCRIPTION";
248}
249constexpr TAG_PARSER_EXPORT std::string_view keywords()
250{
251 return "KEYWORDS";
252}
253constexpr TAG_PARSER_EXPORT std::string_view summary()
254{
255 return "SUMMARY";
256}
257constexpr TAG_PARSER_EXPORT std::string_view synopsis()
258{
259 return "SYNOPSIS";
260}
261constexpr TAG_PARSER_EXPORT std::string_view initialKey()
262{
263 return "INITIAL_KEY";
264}
265constexpr TAG_PARSER_EXPORT std::string_view period()
266{
267 return "PERIOD";
268}
269constexpr TAG_PARSER_EXPORT std::string_view lawRating()
270{
271 return "LAW_RATING";
272}
274constexpr TAG_PARSER_EXPORT std::string_view icra()
275{
276 return "ICRA";
277}
278
279// temporal information
280
281constexpr TAG_PARSER_EXPORT std::string_view dateRelease()
282{
283 return "DATE_RELEASED";
284}
285constexpr TAG_PARSER_EXPORT std::string_view dateRecorded()
286{
287 return "DATE_RECORDED";
288}
289constexpr TAG_PARSER_EXPORT std::string_view dateEncoded()
290{
291 return "DATE_ENCODED";
292}
293constexpr TAG_PARSER_EXPORT std::string_view dateTagged()
294{
295 return "DATE_TAGGED";
296}
297constexpr TAG_PARSER_EXPORT std::string_view dateDigitized()
298{
299 return "DATE_DIGITIZED";
300}
301constexpr TAG_PARSER_EXPORT std::string_view dateWritten()
302{
303 return "DATE_WRITTEN";
304}
305constexpr TAG_PARSER_EXPORT std::string_view datePurchased()
306{
307 return "DATE_PURCHASED";
308}
309
310// spatial information
311
312constexpr TAG_PARSER_EXPORT std::string_view recordingLocation()
313{
314 return "RECORDING_LOCATION";
315}
316constexpr TAG_PARSER_EXPORT std::string_view compositionLocation()
317{
318 return "COMPOSITION_LOCATION";
319}
320constexpr TAG_PARSER_EXPORT std::string_view composerNationality()
321{
322 return "COMPOSER_NATIONALITY";
323}
324
325// personal
326
327constexpr TAG_PARSER_EXPORT std::string_view comment()
328{
329 return "COMMENT";
330}
331constexpr TAG_PARSER_EXPORT std::string_view playCounter()
332{
333 return "PLAY_COUNTER";
334}
335constexpr TAG_PARSER_EXPORT std::string_view rating()
336{
337 return "RATING";
338}
339
340// technical information
341
342constexpr TAG_PARSER_EXPORT std::string_view encoder()
343{
344 return "ENCODER";
345}
346constexpr TAG_PARSER_EXPORT std::string_view encoderSettings()
347{
348 return "ENCODER_SETTINGS";
349}
350constexpr TAG_PARSER_EXPORT std::string_view bps()
351{
352 return "BPS";
353}
354constexpr TAG_PARSER_EXPORT std::string_view fps()
355{
356 return "FPS";
357}
358constexpr TAG_PARSER_EXPORT std::string_view bpm()
359{
360 return "BPM";
361}
362constexpr TAG_PARSER_EXPORT std::string_view measure()
363{
364 return "MEASURE";
365}
366constexpr TAG_PARSER_EXPORT std::string_view tuning()
367{
368 return "TUNING";
369}
370constexpr TAG_PARSER_EXPORT std::string_view replaygainGain()
371{
372 return "REPLAYGAIN_GAIN";
373}
374constexpr TAG_PARSER_EXPORT std::string_view replaygainPeak()
375{
376 return "REPLAYGAIN_PEAK";
377}
378constexpr TAG_PARSER_EXPORT std::string_view duration()
379{
380 return "DURATION";
381}
382constexpr TAG_PARSER_EXPORT std::string_view numberOfFrames()
383{
384 return "NUMBER_OF_FRAMES";
385}
386constexpr TAG_PARSER_EXPORT std::string_view numberOfBytes()
387{
388 return "NUMBER_OF_BYTES";
389}
390
391// identifiers
392
393constexpr TAG_PARSER_EXPORT std::string_view identifiers()
394{
395 return "Identifiers";
396}
397constexpr TAG_PARSER_EXPORT std::string_view isrc()
398{
399 return "ISRC";
400}
401constexpr TAG_PARSER_EXPORT std::string_view mcdi()
402{
403 return "MCDI";
404}
405constexpr TAG_PARSER_EXPORT std::string_view isbn()
406{
407 return "ISBN";
408}
409constexpr TAG_PARSER_EXPORT std::string_view barcode()
410{
411 return "BARCODE";
412}
413constexpr TAG_PARSER_EXPORT std::string_view catalogNumber()
414{
415 return "CATALOG_NUMBER";
416}
417constexpr TAG_PARSER_EXPORT std::string_view labelCode()
418{
419 return "LABEL_CODE";
420}
421constexpr TAG_PARSER_EXPORT std::string_view lccn()
422{
423 return "LCCN";
424}
425constexpr TAG_PARSER_EXPORT std::string_view imdb()
426{
427 return "IMDB";
428}
429constexpr TAG_PARSER_EXPORT std::string_view tmdb()
430{
431 return "TMDB";
432}
433constexpr TAG_PARSER_EXPORT std::string_view tvdb()
434{
435 return "TVDB";
436}
437
438// commercial
439
440constexpr TAG_PARSER_EXPORT std::string_view purchaseItem()
441{
442 return "PURCHASE_ITEM";
443}
444constexpr TAG_PARSER_EXPORT std::string_view purchaseInfo()
445{
446 return "PURCHASE_INFO";
447}
448constexpr TAG_PARSER_EXPORT std::string_view purchaseOwner()
449{
450 return "PURCHASE_OWNER";
451}
452constexpr TAG_PARSER_EXPORT std::string_view purchasePrice()
453{
454 return "PURCHASE_PRICE";
455}
456constexpr TAG_PARSER_EXPORT std::string_view purchaseCurrency()
457{
458 return "PURCHASE_CURRENCY";
459}
460
461// legal
462
463constexpr TAG_PARSER_EXPORT std::string_view copyright()
464{
465 return "COPYRIGHT";
466}
467constexpr TAG_PARSER_EXPORT std::string_view productionCopyright()
468{
469 return "PRODUCTION_COPYRIGHT";
470}
471constexpr TAG_PARSER_EXPORT std::string_view license()
472{
473 return "LICENSE";
474}
475constexpr TAG_PARSER_EXPORT std::string_view termsOfUse()
476{
477 return "TERMS_OF_USE";
478}
479
480// other
481
482constexpr TAG_PARSER_EXPORT std::string_view language()
483{
484 return "LANGUAGE";
485}
486
487namespace TrackSpecific {
488constexpr TAG_PARSER_EXPORT std::string_view numberOfBytes()
489{
490 return "NUMBER_OF_BYTES";
491}
492constexpr TAG_PARSER_EXPORT std::string_view numberOfFrames()
493{
494 return "NUMBER_OF_FRAMES";
495}
496constexpr TAG_PARSER_EXPORT std::string_view duration()
497{
498 return "DURATION";
499}
501constexpr TAG_PARSER_EXPORT std::string_view bitrate()
502{
503 return "BPS";
504}
505constexpr TAG_PARSER_EXPORT std::string_view writingApp()
506{
507 return "_STATISTICS_WRITING_APP";
508}
509constexpr TAG_PARSER_EXPORT std::string_view writingDate()
510{
511 return "_STATISTICS_WRITING_DATE_UTC";
512}
513constexpr TAG_PARSER_EXPORT std::string_view statisticsTags()
514{
515 return "_STATISTICS_TAGS";
516}
517} // namespace TrackSpecific
518
519} // namespace MatroskaTagIds
520
524constexpr TAG_PARSER_EXPORT TagTargetLevel matroskaTagTargetLevel(std::uint64_t targetLevelValue)
525{
526 return targetLevelValue > 70 ? TagTargetLevel::Collection : static_cast<TagTargetLevel>(targetLevelValue / 10);
527}
528
533{
534 return static_cast<std::uint64_t>(targetLevel) * 10;
535}
536
537} // namespace TagParser
538
539#endif // TAG_PARSER_MATROSKATAGIDS_H
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Definition global.h:14
constexpr TAG_PARSER_EXPORT std::string_view writingDate()
constexpr TAG_PARSER_EXPORT std::string_view duration()
constexpr TAG_PARSER_EXPORT std::string_view numberOfFrames()
constexpr TAG_PARSER_EXPORT std::string_view statisticsTags()
constexpr TAG_PARSER_EXPORT std::string_view bitrate()
The track's bit rate in bits per second.
constexpr TAG_PARSER_EXPORT std::string_view numberOfBytes()
constexpr TAG_PARSER_EXPORT std::string_view writingApp()
constexpr TAG_PARSER_EXPORT std::string_view dateDigitized()
constexpr TAG_PARSER_EXPORT std::string_view replaygainGain()
constexpr TAG_PARSER_EXPORT std::string_view lccn()
constexpr TAG_PARSER_EXPORT std::string_view bps()
constexpr TAG_PARSER_EXPORT std::string_view tvdb()
constexpr TAG_PARSER_EXPORT std::string_view dateWritten()
constexpr TAG_PARSER_EXPORT std::string_view email()
constexpr TAG_PARSER_EXPORT std::string_view partOffset()
constexpr TAG_PARSER_EXPORT std::string_view accompaniment()
constexpr TAG_PARSER_EXPORT std::string_view synopsis()
constexpr TAG_PARSER_EXPORT std::string_view rating()
constexpr TAG_PARSER_EXPORT std::string_view album()
constexpr TAG_PARSER_EXPORT std::string_view soundEngineer()
constexpr TAG_PARSER_EXPORT std::string_view costumeDesigner()
constexpr TAG_PARSER_EXPORT std::string_view replaygainPeak()
constexpr TAG_PARSER_EXPORT std::string_view encoderSettings()
constexpr TAG_PARSER_EXPORT std::string_view mixedBy()
constexpr TAG_PARSER_EXPORT std::string_view contentType()
constexpr TAG_PARSER_EXPORT std::string_view originalMediaType()
constexpr TAG_PARSER_EXPORT std::string_view choregrapher()
constexpr TAG_PARSER_EXPORT std::string_view encodedBy()
constexpr TAG_PARSER_EXPORT std::string_view subject()
constexpr TAG_PARSER_EXPORT std::string_view purchaseCurrency()
constexpr TAG_PARSER_EXPORT std::string_view tuning()
constexpr TAG_PARSER_EXPORT std::string_view masteredBy()
constexpr TAG_PARSER_EXPORT std::string_view distributedBy()
constexpr TAG_PARSER_EXPORT std::string_view editedBy()
constexpr TAG_PARSER_EXPORT std::string_view description()
constexpr TAG_PARSER_EXPORT std::string_view directorOfPhotography()
constexpr TAG_PARSER_EXPORT std::string_view thanksTo()
constexpr TAG_PARSER_EXPORT std::string_view measure()
constexpr TAG_PARSER_EXPORT std::string_view publisher()
constexpr TAG_PARSER_EXPORT std::string_view purchaseOwner()
constexpr TAG_PARSER_EXPORT std::string_view isrc()
constexpr TAG_PARSER_EXPORT std::string_view numberOfBytes()
constexpr TAG_PARSER_EXPORT std::string_view executiveProducer()
constexpr TAG_PARSER_EXPORT std::string_view title()
constexpr TAG_PARSER_EXPORT std::string_view instruments()
constexpr TAG_PARSER_EXPORT std::string_view comment()
constexpr TAG_PARSER_EXPORT std::string_view icra()
constexpr TAG_PARSER_EXPORT std::string_view url()
constexpr TAG_PARSER_EXPORT std::string_view language()
constexpr TAG_PARSER_EXPORT std::string_view actor()
constexpr TAG_PARSER_EXPORT std::string_view composer()
constexpr TAG_PARSER_EXPORT std::string_view partNumber()
constexpr TAG_PARSER_EXPORT std::string_view lawRating()
constexpr TAG_PARSER_EXPORT std::string_view conductor()
constexpr TAG_PARSER_EXPORT std::string_view imdb()
constexpr TAG_PARSER_EXPORT std::string_view dateTagged()
constexpr TAG_PARSER_EXPORT std::string_view summary()
constexpr TAG_PARSER_EXPORT std::string_view productionCopyright()
constexpr TAG_PARSER_EXPORT std::string_view bpm()
constexpr TAG_PARSER_EXPORT std::string_view artDirector()
constexpr TAG_PARSER_EXPORT std::string_view tmdb()
constexpr TAG_PARSER_EXPORT std::string_view purchaseInfo()
constexpr TAG_PARSER_EXPORT std::string_view composerNationality()
constexpr TAG_PARSER_EXPORT std::string_view termsOfUse()
constexpr TAG_PARSER_EXPORT std::string_view fax()
constexpr TAG_PARSER_EXPORT std::string_view director()
constexpr TAG_PARSER_EXPORT std::string_view screenplayBy()
constexpr TAG_PARSER_EXPORT std::string_view sample()
constexpr TAG_PARSER_EXPORT std::string_view arranger()
constexpr TAG_PARSER_EXPORT std::string_view initialKey()
constexpr TAG_PARSER_EXPORT std::string_view purchaseItem()
constexpr TAG_PARSER_EXPORT std::string_view period()
constexpr TAG_PARSER_EXPORT std::string_view producer()
constexpr TAG_PARSER_EXPORT std::string_view label()
constexpr TAG_PARSER_EXPORT std::string_view phone()
constexpr TAG_PARSER_EXPORT std::string_view genre()
constexpr TAG_PARSER_EXPORT std::string_view mcdi()
constexpr TAG_PARSER_EXPORT std::string_view duration()
constexpr TAG_PARSER_EXPORT std::string_view artist()
constexpr TAG_PARSER_EXPORT std::string_view isbn()
constexpr TAG_PARSER_EXPORT std::string_view copyright()
constexpr TAG_PARSER_EXPORT std::string_view datePurchased()
constexpr TAG_PARSER_EXPORT std::string_view dateEncoded()
constexpr TAG_PARSER_EXPORT std::string_view assistantDirector()
constexpr TAG_PARSER_EXPORT std::string_view leadPerformer()
constexpr TAG_PARSER_EXPORT std::string_view lyrics()
constexpr TAG_PARSER_EXPORT std::string_view encoder()
constexpr TAG_PARSER_EXPORT std::string_view writtenBy()
constexpr TAG_PARSER_EXPORT std::string_view playCounter()
constexpr TAG_PARSER_EXPORT std::string_view subtitle()
constexpr TAG_PARSER_EXPORT std::string_view productionDesigner()
constexpr TAG_PARSER_EXPORT std::string_view purchasePrice()
constexpr TAG_PARSER_EXPORT std::string_view original()
constexpr TAG_PARSER_EXPORT std::string_view keywords()
constexpr TAG_PARSER_EXPORT std::string_view numberOfFrames()
constexpr TAG_PARSER_EXPORT std::string_view coproducer()
constexpr TAG_PARSER_EXPORT std::string_view labelCode()
constexpr TAG_PARSER_EXPORT std::string_view dateRelease()
constexpr TAG_PARSER_EXPORT std::string_view license()
constexpr TAG_PARSER_EXPORT std::string_view address()
constexpr TAG_PARSER_EXPORT std::string_view totalParts()
constexpr TAG_PARSER_EXPORT std::string_view dateRecorded()
constexpr TAG_PARSER_EXPORT std::string_view remixedBy()
constexpr TAG_PARSER_EXPORT std::string_view fps()
constexpr TAG_PARSER_EXPORT std::string_view catalogNumber()
constexpr TAG_PARSER_EXPORT std::string_view barcode()
constexpr TAG_PARSER_EXPORT std::string_view sortWith()
constexpr TAG_PARSER_EXPORT std::string_view lyricist()
constexpr TAG_PARSER_EXPORT std::string_view compositionLocation()
constexpr TAG_PARSER_EXPORT std::string_view character()
constexpr TAG_PARSER_EXPORT std::string_view productionStudio()
constexpr TAG_PARSER_EXPORT std::string_view country()
constexpr TAG_PARSER_EXPORT std::string_view identifiers()
constexpr TAG_PARSER_EXPORT std::string_view mood()
constexpr TAG_PARSER_EXPORT std::string_view recordingLocation()
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10
TagTargetLevel
The TagTargetLevel enum specifies tag target levels.
Definition tagtarget.h:16
constexpr TAG_PARSER_EXPORT std::uint64_t matroskaTagTargetLevelValue(TagTargetLevel targetLevel)
Returns the Matroska specific target level value for the specified general targetLevel.
constexpr TAG_PARSER_EXPORT TagTargetLevel matroskaTagTargetLevel(std::uint64_t targetLevelValue)
Returns the general TagTargetLevel for the Matroska specific targetLevelValue.