/src/vlc/contrib/x86_64-unknown-linux-gnu/include/ebml/EbmlSubHead.h
Line | Count | Source |
1 | | /**************************************************************************** |
2 | | ** libebml : parse EBML files, see http://embl.sourceforge.net/ |
3 | | ** |
4 | | ** <file/class description> |
5 | | ** |
6 | | ** Copyright (C) 2002-2010 Steve Lhomme. All rights reserved. |
7 | | ** |
8 | | ** This file is part of libebml. |
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 | | ** |
26 | | ** Contact license@matroska.org if any conditions of this licensing are |
27 | | ** not clear to you. |
28 | | ** |
29 | | **********************************************************************/ |
30 | | |
31 | | /*! |
32 | | \file |
33 | | \version \$Id: EbmlSubHead.h 639 2004-07-09 20:59:14Z mosu $ |
34 | | \author Steve Lhomme <robux4 @ users.sf.net> |
35 | | */ |
36 | | #ifndef LIBEBML_SUBHEAD_H |
37 | | #define LIBEBML_SUBHEAD_H |
38 | | |
39 | | #include <string> |
40 | | |
41 | | #include "EbmlUInteger.h" |
42 | | #include "EbmlString.h" |
43 | | |
44 | | namespace libebml { |
45 | | |
46 | | DECLARE_EBML_UINTEGER(EVersion) |
47 | | public: |
48 | | EVersion(const EVersion & ElementToClone) = default; |
49 | | |
50 | | EBML_CONCRETE_CLASS(EVersion) |
51 | | }; |
52 | | |
53 | | DECLARE_EBML_UINTEGER(EReadVersion) |
54 | | public: |
55 | | EReadVersion(const EReadVersion & ElementToClone) = default; |
56 | | |
57 | | EBML_CONCRETE_CLASS(EReadVersion) |
58 | | }; |
59 | | |
60 | | DECLARE_EBML_UINTEGER(EMaxIdLength) |
61 | | public: |
62 | | EMaxIdLength(const EMaxIdLength & ElementToClone) = default; |
63 | | |
64 | | EBML_CONCRETE_CLASS(EMaxIdLength) |
65 | | }; |
66 | | |
67 | | DECLARE_EBML_UINTEGER(EMaxSizeLength) |
68 | | public: |
69 | | EMaxSizeLength(const EMaxSizeLength & ElementToClone) = default; |
70 | | |
71 | | EBML_CONCRETE_CLASS(EMaxSizeLength) |
72 | | }; |
73 | | |
74 | | DECLARE_EBML_STRING(EDocType) |
75 | | public: |
76 | 4.07k | EDocType(const EDocType & ElementToClone) = default; |
77 | | |
78 | | EBML_CONCRETE_CLASS(EDocType) |
79 | | }; |
80 | | |
81 | | DECLARE_EBML_UINTEGER(EDocTypeVersion) |
82 | | public: |
83 | | EDocTypeVersion(const EDocTypeVersion & ElementToClone) = default; |
84 | | |
85 | | EBML_CONCRETE_CLASS(EDocTypeVersion) |
86 | | }; |
87 | | |
88 | | DECLARE_EBML_UINTEGER(EDocTypeReadVersion) |
89 | | public: |
90 | 4.05k | EDocTypeReadVersion(const EDocTypeReadVersion & ElementToClone) = default; |
91 | | |
92 | | EBML_CONCRETE_CLASS(EDocTypeReadVersion) |
93 | | }; |
94 | | |
95 | | } // namespace libebml |
96 | | |
97 | | #endif // LIBEBML_SUBHEAD_H |