libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
Switching.hh
Go to the documentation of this file.
1#ifndef _BBC_PARSE_DASH_MPD_SWITCHING_HH_
2#define _BBC_PARSE_DASH_MPD_SWITCHING_HH_
3/*****************************************************************************
4 * DASH MPD parsing library in C++: Switching 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 <string>
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
37public:
39 Switching(const Switching &to_copy);
40 Switching(Switching &&to_move);
41
42 virtual ~Switching() {};
43
44 Switching &operator=(const Switching &to_copy);
46
47 bool operator==(const Switching &to_compare) const;
48
50protected:
51 friend class RepresentationBase;
52 Switching(xmlpp::Node&);
53 void setXMLElement(xmlpp::Element&) const;
55
56private:
57 // TODO: Add the attributes and child elements for %SwitchingType in the schema.
58 // Switching attributes (ISO 23009-1:2022 Clause X.X.X.X)
59
60 // Switching child elements (ISO 23009-1:2022 Clause X.X.X.X)
61};
62
64
65/* vim:ts=8:sts=4:sw=4:expandtab:
66 */
67#endif /*_BBC_PARSE_DASH_MPD_SWITCHING_HH_*/
68
Definition RepresentationBase.hh:54
Switching & operator=(const Switching &to_copy)
virtual ~Switching()
Definition Switching.hh:42
Switching(Switching &&to_move)
bool operator==(const Switching &to_compare) const
Switching & operator=(Switching &&to_move)
Switching(const Switching &to_copy)
#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