libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
ContentComponent.hh
Go to the documentation of this file.
1#ifndef _BBC_PARSE_DASH_MPD_CONTENT_COMPONENT_HH_
2#define _BBC_PARSE_DASH_MPD_CONTENT_COMPONENT_HH_
3/*****************************************************************************
4 * DASH MPD parsing library in C++: ContentComponent 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 AdaptationSet;
30
40public:
46
49 virtual ~ContentComponent() {};
50
60 bool operator==(const ContentComponent &to_compare) const { return true; };
61
63protected:
64 friend class AdaptationSet;
65
73 ContentComponent(xmlpp::Node&);
74
82 void setXMLElement(xmlpp::Element&) const;
83
85
86private:
87};
88
90
91/* vim:ts=8:sts=4:sw=4:expandtab:
92 */
93#endif /*_BBC_PARSE_DASH_MPD_CONTENT_COMPONENT_HH_*/
AdaptationSet class.
Definition AdaptationSet.hh:60
Definition ContentComponent.hh:39
virtual ~ContentComponent()
Definition ContentComponent.hh:49
bool operator==(const ContentComponent &to_compare) const
Compares this ContentComponent with another for equality. This operator overload allows checking if t...
Definition ContentComponent.hh:60
ContentComponent()
Definition ContentComponent.hh:45
#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