libzypp
17.37.17
MediaSource.cc
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
11
#include <iostream>
12
13
#include <
zypp/media/MediaSource.h
>
14
15
namespace
zypp
{
16
namespace
media
{
17
18
std::ostream &
operator<<
( std::ostream &
str
,
const
AttachPoint
& obj )
19
{
20
return
str
<< (obj.
temp
?
"*"
:
""
) << obj.
path
;
21
}
22
23
std::ostream &
operator<<
( std::ostream &
str
,
const
AttachedMedia
& obj )
24
{
25
return
str
<<
"media("
<< obj.
mediaSource
<<
")attached("
<< obj.
attachPoint
<<
")"
;
26
}
27
28
}
// namespace media
29
}
// namespace zypp
MediaSource.h
zypp::media::AttachPoint::AttachPoint
AttachPoint(Pathname _path=Pathname(), bool _temp=true)
Definition
MediaSource.h:109
zypp::media::AttachPoint::path
Pathname path
The path name (mount point).
Definition
MediaSource.h:117
zypp::media::AttachPoint::temp
bool temp
If it was created temporary.
Definition
MediaSource.h:118
str
String related utilities and Regular expression matching.
zypp::media
Definition
MediaNetworkRequestExecutor.h:22
zypp::media::operator<<
std::ostream & operator<<(std::ostream &str, const MediaHandler &obj)
Definition
MediaHandler.cc:1181
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition
CodePitfalls.doc:2
zypp::media::AttachedMedia::mediaSource
MediaSourceRef mediaSource
Definition
MediaSource.h:145
zypp::media::AttachedMedia::AttachedMedia
AttachedMedia()
Definition
MediaSource.h:136
zypp::media::AttachedMedia::attachPoint
AttachPointRef attachPoint
Definition
MediaSource.h:146
zypp
media
MediaSource.cc
Generated by
1.14.0