Martchus
cb93d6900c
Apply clang-format
2023-02-03 13:31:40 +01:00
Martchus
f068c44172
Prevent adding fields with an invalid ID
...
When there's no mapping for the specified known field, `fieldId()` returns
an invalid field ID. It should not be passed to `setValues()` as we would
otherwise attempt to create an invalid field.
2022-08-12 00:32:17 +02:00
Martchus
26c88befda
Make dummy definition in supportsField() const
2022-04-05 23:30:06 +02:00
Martchus
532a805254
Avoid adding empty values when setting values and field does not exist
2021-12-31 01:15:13 +01:00
Martchus
0a041f6ad2
Fix warnings
2021-03-20 21:26:25 +01:00
Martchus
64d98f5530
Use std::string_view where it makes sense
2021-01-30 21:53:06 +01:00
Martchus
5629a808be
Clear current values of a field before assigning a new one via setValues()
...
Some tag fields allow to store additional values or other data related to
the value. It likely doesn't make much sense to keep the this data when
setting a new value.
2021-01-30 19:15:41 +01:00
Martchus
7692eec9af
Make it easier to customize getting internal values
2021-01-30 19:12:04 +01:00
Martchus
e75a8d25c5
Adjust values()/setValues() to handle multiple values per text frame
...
See https://github.com/Martchus/tagparser/issues/10
2018-07-12 12:34:38 +02:00
Martchus
af4b43ff79
Replace typedef with using
2018-07-12 12:34:38 +02:00
Martchus
3265e0bea4
Fix documentation which was still using the old namespace
2018-06-03 20:38:32 +02:00
Martchus
c377524850
Fix FieldMapBasedTag<ImplementationType>::knownField()
2018-05-13 00:25:02 +02:00
Martchus
c0336ed4bb
Apply clang-format
2018-03-07 01:17:50 +01:00
Martchus
a0986ad4a9
Fix style issues
2018-03-07 01:11:42 +01:00
Martchus
0e15c74103
Move everything into namespace TagParser
2018-03-06 23:09:15 +01:00
Martchus
7a02e8a325
Uniform/simplify typedefs in templates
...
* Begin type names with capital letter
* Remove typedefs for implementation type
* Remove useless/obsolete comments
* Simplify relevant code
2018-03-06 22:44:01 +01:00
Martchus
0daabba17a
Use static polymorphism in FieldMapBasedTag
2018-03-06 22:44:01 +01:00
Martchus
138fa32f29
Restructure FieldMapBasedTag to use CRTP
2018-03-06 22:44:01 +01:00
Martchus
6741e9ca0f
Set Matroska track meta-data when element not present
2017-06-14 22:46:33 +02:00
Martchus
c3394acdb2
Fix typos
2017-03-01 18:21:00 +01:00
Martchus
b4e167bd71
Ease dealing with native field IDs
...
In particular, this allow conversion from native field IDs
to readible string representation and vice verca
2017-01-23 00:25:53 +01:00
Martchus
6a5b4eb4a0
Improve documentation
2016-12-27 23:40:36 +01:00
Martchus
eb2d3bb54a
Check in hasField() whether field is empty
2016-11-19 14:32:37 +01:00
Martchus
f6d0f3a003
Improve handling of extended MP4 fields
2016-11-14 22:59:19 +01:00
Martchus
334f9f9c60
Use vector for getting/setting multiple values
2016-08-14 22:50:45 +02:00
Martchus
d5c8086230
Improve misc details
2016-08-05 01:46:31 +02:00
Martchus
817a8e25e6
Improve documentation and consistency
2016-08-04 00:16:19 +02:00
Martchus
ee09a50915
removed useless destructors
2015-12-21 18:35:47 +01:00
Martchus
aa50c2d8b3
fixed includes
2015-09-06 19:57:33 +02:00
Martchus
b1eb6faba6
fixed includes
2015-09-06 15:42:18 +02:00
Martchus
8b91b41801
updated readme
2015-08-26 20:01:32 +02:00
Martchus
09fcb37442
small adjustments
2015-07-27 23:10:35 +02:00
Martchus
033e313c74
First commit
2015-04-22 19:22:01 +02:00