Tag Parser
12.3.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Loading...
Searching...
No Matches
tests
helper.cpp
Go to the documentation of this file.
1
#include "
./helper.h
"
2
3
namespace
CppUtilities
{
4
8
std::ostream &
operator<<
(std::ostream &os,
const
TagParser::TagTextEncoding
&encoding)
9
{
10
using namespace
TagParser
;
11
switch
(encoding) {
12
case
TagTextEncoding::Unspecified:
13
return
os <<
"unspecified"
;
14
case
TagTextEncoding::Latin1:
15
return
os <<
"Latin-1"
;
16
case
TagTextEncoding::Utf8:
17
return
os <<
"UTF-8"
;
18
case
TagTextEncoding::Utf16LittleEndian:
19
return
os <<
"UTF-16 LE"
;
20
case
TagTextEncoding::Utf16BigEndian:
21
return
os <<
"UTF-16 BE"
;
22
}
23
return
os;
24
}
25
26
}
// namespace CppUtilities
helper.h
CppUtilities
Definition
abstractcontainer.h:16
CppUtilities::operator<<
std::ostream & operator<<(std::ostream &os, const TagParser::TagTextEncoding &encoding)
Prints a TagTextEncoding to enable CPPUNIT_ASSERT_EQUAL for tag values.
Definition
helper.cpp:8
TagParser
Contains all classes and functions of the TagInfo library.
Definition
aaccodebook.h:10
TagParser::TagTextEncoding
TagTextEncoding
Specifies the text encoding.
Definition
tagvalue.h:29
Generated on Sun Sep 22 2024 20:12:46 for Tag Parser by
1.12.0