libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
Resync.hh
Go to the documentation of this file.
1#ifndef _BBC_PARSE_DASH_MPD_RESYNC_HH_
2#define _BBC_PARSE_DASH_MPD_RESYNC_HH_
3/*****************************************************************************
4 * DASH MPD parsing library in C++: Resync 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 Resync(const Resync &to_copy);
40 Resync(Resync &&to_move);
41
42 virtual ~Resync() {};
43
44 Resync &operator=(const Resync &to_copy);
45 Resync &operator=(Resync &&to_move);
46
47 bool operator==(const Resync &to_compare) const;
48
50protected:
51 friend class RepresentationBase;
52 Resync(xmlpp::Node&);
53 void setXMLElement(xmlpp::Element&) const;
55
56private:
57 // TOOD: Add the attributes and child elements for %ResyncType in the schema.
58 // Resync attributes (ISO 23009-1:2022 Clause X.X.X.X)
59
60 // Resync 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_RESYNC_HH_*/
68
Definition RepresentationBase.hh:54
Resync & operator=(const Resync &to_copy)
Resync(const Resync &to_copy)
bool operator==(const Resync &to_compare) const
Resync(Resync &&to_move)
virtual ~Resync()
Definition Resync.hh:42
Resync & operator=(Resync &&to_move)
#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