libzypp
12.16.5
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RepoStatus.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef ZYPP2_REPOSTATUS_H
13
#define ZYPP2_REPOSTATUS_H
14
15
#include <iosfwd>
16
#include "
zypp/base/PtrTypes.h
"
17
#include "
zypp/CheckSum.h
"
18
#include "
zypp/Date.h
"
19
21
namespace
zypp
22
{
23
25
//
26
// CLASS NAME : RepoStatus
27
//
37
class
RepoStatus
38
{
39
friend
std::ostream &
operator<<
( std::ostream & str,
const
RepoStatus
& obj );
40
41
public
:
42
50
static
RepoStatus
fromCookieFile
(
const
Pathname &path );
51
56
void
saveToCookieFile
(
const
Pathname &path )
const
;
57
64
std::string
checksum
()
const
;
65
71
Date
timestamp
()
const
;
72
79
bool
empty
()
const
;
80
85
RepoStatus
&
setChecksum
(
const
std::string &checksum );
86
91
RepoStatus
&
setTimestamp
(
const
Date
×tamp );
92
94
class
Impl
;
95
96
public
:
98
RepoStatus
();
99
117
RepoStatus
(
const
Pathname &file );
118
120
~RepoStatus
();
121
122
public
:
123
124
private
:
126
RWCOW_pointer<Impl>
_pimpl
;
127
};
129
131
std::ostream &
operator<<
( std::ostream & str,
const
RepoStatus
& obj );
132
137
RepoStatus
operator&&
(
const
RepoStatus
&lhs,
const
RepoStatus
&rhs );
138
140
}
// namespace zypp
142
#endif // ZYPP2_REPOSTATUS_H
zypp
RepoStatus.h
Generated by
1.8.2