blob: b743c009e97436e33f2d1bcca3446e7f9374ff67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
/*
* SegmentList.h
*****************************************************************************
* Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved
*
* Email: libdash-dev@vicky.bitmovin.net
*
* This source code and its use and distribution, is subject to the terms
* and conditions of the applicable license agreement.
*****************************************************************************/
#ifndef SEGMENTLIST_H_
#define SEGMENTLIST_H_
#include "config.h"
#include "ISegmentList.h"
#include "MultipleSegmentBase.h"
#include "SegmentURL.h"
namespace dash
{
namespace mpd
{
class SegmentList : public ISegmentList, public MultipleSegmentBase
{
public:
SegmentList ();
virtual ~SegmentList ();
const std::vector<ISegmentURL *>& GetSegmentURLs () const;
const std::string& GetXlinkHref () const;
const std::string& GetXlinkActuate () const;
void AddSegmentURL (SegmentURL *segmetURL);
void SetXlinkHref (const std::string& xlinkHref);
void SetXlinkActuate (const std::string& xlinkActuate);
private:
std::vector<SegmentURL *> segmentURLs;
std::string xlinkHref;
std::string xlinkActuate;
};
}
}
#endif /* SEGMENTLIST_H_ */
|