libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
OnMediaLocation.cc
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#include <iostream>
13
//#include "zypp/base/Logger.h"
14
15
#include "
zypp/OnMediaLocation.h
"
16
17
using
std::endl;
18
20
namespace
zypp
21
{
22
/******************************************************************
24
**
25
** FUNCTION NAME : operator<<
26
** FUNCTION TYPE : std::ostream &
27
*/
28
std::ostream &
operator<<
( std::ostream & str,
const
OnMediaLocation
& obj )
29
{
30
return
str <<
"["
<< obj.
medianr
() <<
"]"
<< obj.
filename
()
31
<<
"{"
<< obj.
downloadSize
() <<
"|"
<< obj.
checksum
() <<
"}"
;
32
}
33
35
}
// namespace zypp
zypp::OnMediaLocation
Describes a path on a certain media amongs as the information required to download it...
Definition:
OnMediaLocation.h:39
zypp::OnMediaLocation::medianr
unsigned medianr() const
media number where the resource is located.
Definition:
OnMediaLocation.h:64
zypp::operator<<
std::ostream & operator<<(std::ostream &str, const Exception &obj)
Definition:
Exception.cc:120
OnMediaLocation.h
zypp::OnMediaLocation::filename
const Pathname & filename() const
The path to the resource relatve to the url and path.
Definition:
OnMediaLocation.h:70
zypp::OnMediaLocation::downloadSize
const ByteCount & downloadSize() const
The size of the resource on the server.
Definition:
OnMediaLocation.h:79
zypp::OnMediaLocation::checksum
const CheckSum & checksum() const
the checksum of the resource
Definition:
OnMediaLocation.h:74
zypp
OnMediaLocation.cc
Generated by
1.8.5