libmpd++
DASH MPD parsing and manipulation library
Loading...
Searching...
No Matches
Subset.hh
Go to the documentation of this file.
1
#ifndef _BBC_PARSE_DASH_MPD_SUBSET_HH_
2
#define _BBC_PARSE_DASH_MPD_SUBSET_HH_
3
/*****************************************************************************
4
* DASH MPD parsing library in C++: Subset class
5
*****************************************************************************
6
* Copyright: (C) 2025 British Broadcasting Corporation
7
* Author(s): David Waring <david.waring2@bbc.co.uk>
8
* License: LGPLv3
9
*
10
* For full license terms please see the LICENSE file distributed with this
11
* library or refer to: https://www.gnu.org/licenses/lgpl-3.0.txt.
12
*/
13
#include <optional>
14
15
#include "
macros.hh
"
16
19
// Forward declarations for types only used by pointer or reference
20
namespace
xmlpp {
21
class
Element;
22
class
Node;
23
}
26
27
LIBMPDPP_NAMESPACE_BEGIN
28
29
class
Period;
30
38
class
LIBMPDPP_PUBLIC_API
Subset
{
39
public
:
40
Subset
() {};
41
42
virtual
~Subset
() {};
43
44
bool
operator==
(
const
Subset
&)
const
{
return
true
; };
45
47
protected
:
48
friend
class
Period
;
49
Subset
(xmlpp::Node&);
50
void
setXMLElement(xmlpp::Element&)
const
;
52
53
private
:
54
// TODO: Add the attributes and child elements for SubsetType in the schema.
55
};
56
57
LIBMPDPP_NAMESPACE_END
58
59
/* vim:ts=8:sts=4:sw=4:expandtab:
60
*/
61
#endif
/*_BBC_PARSE_DASH_MPD_SUBSET_HH_*/
com::bbc::libmpdpp::Period
Definition
Period.hh:53
com::bbc::libmpdpp::Subset
Definition
Subset.hh:38
com::bbc::libmpdpp::Subset::~Subset
virtual ~Subset()
Definition
Subset.hh:42
com::bbc::libmpdpp::Subset::Subset
Subset()
Definition
Subset.hh:40
com::bbc::libmpdpp::Subset::operator==
bool operator==(const Subset &) const
Definition
Subset.hh:44
macros.hh
LIBMPDPP_NAMESPACE_END
#define LIBMPDPP_NAMESPACE_END
Definition
macros.hh:54
LIBMPDPP_PUBLIC_API
#define LIBMPDPP_PUBLIC_API
Used to mark something as part of the public API.
Definition
macros.hh:21
LIBMPDPP_NAMESPACE_BEGIN
#define LIBMPDPP_NAMESPACE_BEGIN
Definition
macros.hh:50
libmpd++
Subset.hh
Generated by
1.13.2