Tag Parser  6.2.2
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
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) {
11  return os << "unspecified";
13  return os << "Latin-1";
15  return os << "UTF-8";
17  return os << "UTF-16 LE";
19  return os << "UTF-16 BE";
20  }
21  return os;
22 }
TagTextEncoding
Specifies the text encoding.
Definition: tagvalue.h:21
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
Contains all classes and functions of the TagInfo library.
Definition: exceptions.h:9