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