libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
ExtendedBandwidth.hh
Go to the documentation of this file.
1#ifndef _BBC_PARSE_DASH_MPD_EXTENDED_BANDWIDTH_HH_
2#define _BBC_PARSE_DASH_MPD_EXTENDED_BANDWIDTH_HH_
3/*****************************************************************************
4 * DASH MPD parsing library in C++: ExtendedBandwidth class
5 *****************************************************************************
6 * Copyright: (C) 2025 British Broadcasting Corporation
7 * Author(s): Dev Audsin <dev.audsin@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
20namespace xmlpp {
21 class Element;
22 class Node;
23}
26
28
29class Representation;
30
40public:
46
49 virtual ~ExtendedBandwidth() {};
50
56 bool operator==(const ExtendedBandwidth &other) const { return true; };
57
59protected:
60 friend class Representation;
61
68 ExtendedBandwidth(xmlpp::Node &node);
69
76 void setXMLElement(xmlpp::Element &element) const;
78
79private:
80 // TODO: Add storage for any attributes and child elements of the ExtendedBandwidthType from the DASH MPD XML schema.
81};
82
84
85/* vim:ts=8:sts=4:sw=4:expandtab:
86 */
87#endif /*_BBC_PARSE_DASH_MPD_EXTENDED_BANDWIDTH_HH_*/
Definition ExtendedBandwidth.hh:39
bool operator==(const ExtendedBandwidth &other) const
Definition ExtendedBandwidth.hh:56
ExtendedBandwidth()
Definition ExtendedBandwidth.hh:45
virtual ~ExtendedBandwidth()
Definition ExtendedBandwidth.hh:49
Definition Representation.hh:55
#define LIBMPDPP_NAMESPACE_END
Definition macros.hh:54
#define LIBMPDPP_PUBLIC_API
Used to mark something as part of the public API.
Definition macros.hh:21
#define LIBMPDPP_NAMESPACE_BEGIN
Definition macros.hh:50