libmpd++
DASH MPD parsing and manipulation library
 
Loading...
Searching...
No Matches
PatchLocation.hh
Go to the documentation of this file.
1#ifndef _BBC_PARSE_DASH_MPD_PATCH_LOCATION_HH_
2#define _BBC_PARSE_DASH_MPD_PATCH_LOCATION_HH_
3/*****************************************************************************
4 * DASH MPD parsing library in C++: PatchLocation 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 <iostream>
14#include <string>
15
16#include "macros.hh"
17#include "URI.hh"
18
21// Forward declarations for types only used by pointer or reference
22namespace xmlpp {
23 class Element;
24 class Node;
25}
28
30
39public:
41
42 virtual ~PatchLocation() {};
43
44 bool operator==(const PatchLocation &other) const { return URI::operator==(other); };
45
47protected:
48 friend class MPD;
49 PatchLocation(xmlpp::Node&);
50 void setXMLElement(xmlpp::Element&) const;
52
53private:
54 // TODO: Add the attributes and child elements for %PatchLocationType in the schema.
55};
56
58
59/* vim:ts=8:sts=4:sw=4:expandtab:
60 */
61#endif /*_BBC_PARSE_DASH_MPD_PATCH_LOCATION_HH_*/
Definition MPD.hh:49
Definition PatchLocation.hh:38
bool operator==(const PatchLocation &other) const
Definition PatchLocation.hh:44
virtual ~PatchLocation()
Definition PatchLocation.hh:42
PatchLocation()
Definition PatchLocation.hh:40
URI()
Definition URI.hh:42
bool operator==(const URI &other) const
Definition URI.hh:56
#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