Tag Parser
6.2.2
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
tests
helper.cpp
Go to the documentation of this file.
1
#include "
./helper.h
"
2
6
std::ostream &
operator <<
(std::ostream &os,
const
Media::TagTextEncoding
&encoding)
7
{
8
using namespace
Media
;
9
switch
(encoding) {
10
case
TagTextEncoding::Unspecified
:
11
return
os <<
"unspecified"
;
12
case
TagTextEncoding::Latin1
:
13
return
os <<
"Latin-1"
;
14
case
TagTextEncoding::Utf8
:
15
return
os <<
"UTF-8"
;
16
case
TagTextEncoding::Utf16LittleEndian
:
17
return
os <<
"UTF-16 LE"
;
18
case
TagTextEncoding::Utf16BigEndian
:
19
return
os <<
"UTF-16 BE"
;
20
}
21
return
os;
22
}
Media::TagTextEncoding::Latin1
Media::TrackType::Unspecified
Media::TagTextEncoding::Utf16LittleEndian
Media::TagTextEncoding
TagTextEncoding
Specifies the text encoding.
Definition:
tagvalue.h:21
Media::TagTextEncoding::Utf16BigEndian
operator<<
std::ostream & operator<<(std::ostream &os, const Media::TagTextEncoding &encoding)
Prints a TagTextEncoding to enable CPPUNIT_ASSERT_EQUAL for tag values.
Definition:
helper.cpp:6
Media::TagTextEncoding::Utf8
Media
Contains all classes and functions of the TagInfo library.
Definition:
exceptions.h:9
helper.h
Generated on Wed May 24 2017 23:42:22 for Tag Parser by
1.8.13