libmpd++
DASH MPD parsing and manipulation library
Loading...
Searching...
No Matches
Metrics.hh
Go to the documentation of this file.
1
#ifndef _BBC_PARSE_DASH_MPD_METRICS_HH_
2
#define _BBC_PARSE_DASH_MPD_METRICS_HH_
3
/*****************************************************************************
4
* DASH MPD parsing library in C++: Metrics 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
20
// Forward declarations for types only used by pointer or reference
21
namespace
xmlpp {
22
class
Element;
23
class
Node;
24
}
27
28
LIBMPDPP_NAMESPACE_BEGIN
29
37
class
LIBMPDPP_PUBLIC_API
Metrics
{
38
public
:
39
Metrics
() {};
40
bool
operator==
(
const
Metrics
&other)
const
{
return
true
; };
41
43
protected
:
44
friend
class
MPD
;
45
Metrics
(xmlpp::Node&);
46
void
setXMLElement(xmlpp::Element&)
const
;
48
49
private
:
50
// TODO: Add the attributes and child elements for %MetricType in the schema.
51
};
52
53
LIBMPDPP_NAMESPACE_END
54
55
/* vim:ts=8:sts=4:sw=4:expandtab:
56
*/
57
#endif
/*_BBC_PARSE_DASH_MPD_METRICS_HH_*/
com::bbc::libmpdpp::MPD
Definition
MPD.hh:49
com::bbc::libmpdpp::Metrics
Definition
Metrics.hh:37
com::bbc::libmpdpp::Metrics::Metrics
Metrics()
Definition
Metrics.hh:39
com::bbc::libmpdpp::Metrics::operator==
bool operator==(const Metrics &other) const
Definition
Metrics.hh:40
macros.hh
LIBMPDPP_NAMESPACE_END
#define LIBMPDPP_NAMESPACE_END
Definition
macros.hh:54
LIBMPDPP_PUBLIC_API
#define LIBMPDPP_PUBLIC_API
Used to mark something as part of the public API.
Definition
macros.hh:21
LIBMPDPP_NAMESPACE_BEGIN
#define LIBMPDPP_NAMESPACE_BEGIN
Definition
macros.hh:50
libmpd++
Metrics.hh
Generated by
1.13.2