Coverage Report

Created: 2026-03-31 07:49

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/vlc/contrib/x86_64-unknown-linux-gnu/include/matroska/KaxInfoData.h
Line
Count
Source
1
/****************************************************************************
2
** libmatroska : parse Matroska files, see http://www.matroska.org/
3
**
4
** <file/class description>
5
**
6
** Copyright (C) 2002-2010 Steve Lhomme.  All rights reserved.
7
**
8
** This file is part of libmatroska.
9
**
10
** This library is free software; you can redistribute it and/or
11
** modify it under the terms of the GNU Lesser General Public
12
** License as published by the Free Software Foundation; either
13
** version 2.1 of the License, or (at your option) any later version.
14
**
15
** This library is distributed in the hope that it will be useful,
16
** but WITHOUT ANY WARRANTY; without even the implied warranty of
17
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
** Lesser General Public License for more details.
19
**
20
** You should have received a copy of the GNU Lesser General Public
21
** License along with this library; if not, write to the Free Software
22
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23
**
24
** See http://www.gnu.org/licenses/lgpl-2.1.html for LGPL licensing information.**
25
** Contact license@matroska.org if any conditions of this licensing are
26
** not clear to you.
27
**
28
**********************************************************************/
29
30
/*!
31
  \file
32
  \version \$Id$
33
  \author Steve Lhomme     <robux4 @ users.sf.net>
34
  \author John Cannon      <spyder2555 @ users.sf.net>
35
  \author Moritz Bunkus    <moritz @ bunkus.org>
36
*/
37
#ifndef LIBMATROSKA_INFO_DATA_H
38
#define LIBMATROSKA_INFO_DATA_H
39
40
#include "matroska/KaxTypes.h"
41
#include "ebml/EbmlUInteger.h"
42
#include "ebml/EbmlFloat.h"
43
#include "ebml/EbmlUnicodeString.h"
44
#include "ebml/EbmlBinary.h"
45
#include "ebml/EbmlDate.h"
46
#include "ebml/EbmlMaster.h"
47
#include "matroska/KaxDefines.h"
48
#include "matroska/KaxSemantic.h"
49
50
using namespace libebml;
51
52
namespace libmatroska {
53
54
DECLARE_MKX_CONTEXT(KaxPrevUID)
55
class MATROSKA_DLL_API KaxPrevUID : public KaxSegmentUID {
56
  public:
57
0
    KaxPrevUID(EBML_EXTRA_PARAM) = default;
58
19
    KaxPrevUID(const KaxPrevUID & ElementToClone) = default;
59
51
    bool ValidateSize() const override { return IsFiniteSize() && (GetSize() == 16);}
60
61
        EBML_CONCRETE_CLASS(KaxPrevUID)
62
};
63
64
DECLARE_MKX_CONTEXT(KaxNextUID)
65
class MATROSKA_DLL_API KaxNextUID : public KaxSegmentUID {
66
  public:
67
0
    KaxNextUID(EBML_EXTRA_PARAM) = default;
68
0
    KaxNextUID(const KaxNextUID & ElementToClone) = default;
69
3
    bool ValidateSize() const override { return IsFiniteSize() && (GetSize() == 16);}
70
71
        EBML_CONCRETE_CLASS(KaxNextUID)
72
};
73
74
} // namespace libmatroska
75
76
#endif // LIBMATROSKA_INFO_DATA_H