libzypp
13.10.6
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
RepoInfoBaseImpl.h
Go to the documentation of this file.
1
/*---------------------------------------------------------------------\
2
| ____ _ __ __ ___ |
3
| |__ / \ / / . \ . \ |
4
| / / \ V /| _/ _/ |
5
| / /__ | | | | | | |
6
| /_____||_| |_| |_| |
7
| |
8
\---------------------------------------------------------------------*/
12
#ifndef REPOINFOBASEIMPL_H_
13
#define REPOINFOBASEIMPL_H_
14
15
#include <string>
16
17
#include "
zypp/TriBool.h
"
18
#include "
zypp/Pathname.h
"
19
21
namespace
zypp
22
{
23
namespace
repo
25
{
26
28
//
29
// CLASS NAME : RepoInfoBase::Impl
30
//
31
struct
RepoInfoBase::Impl
32
{
33
Impl
()
34
:
enabled
(indeterminate)
35
,
autorefresh
(indeterminate)
36
{}
37
38
Impl
(
const
std::string & alias_)
39
:
enabled
(indeterminate)
40
,
autorefresh
(indeterminate)
41
{
setAlias
(alias_); }
42
43
~Impl
()
44
{}
45
46
public
:
47
TriBool
enabled
;
48
TriBool
autorefresh
;
49
std::string
alias
;
50
std::string
escaped_alias
;
51
std::string
name
;
52
Pathname
filepath
;
53
public
:
54
55
void
setAlias
(
const
std::string & alias_);
56
57
private
:
58
friend
Impl
* rwcowClone<Impl>(
const
Impl
* rhs );
60
Impl
*
clone
()
const
61
{
return
new
Impl
( *
this
); }
62
};
64
66
}
// namespace repo
69
}
// namespace zypp
71
72
#endif
/*REPOINFOBASEIMPL_H_*/
TriBool.h
Pathname.h
zypp::repo::RepoInfoBase::Impl::Impl
Impl()
Definition:
RepoInfoBaseImpl.h:33
zypp::repo::RepoInfoBase::Impl::alias
std::string alias
Definition:
RepoInfoBaseImpl.h:49
zypp::repo::RepoInfoBase::Impl::Impl
Impl(const std::string &alias_)
Definition:
RepoInfoBaseImpl.h:38
zypp::TriBool
boost::logic::tribool TriBool
3-state boolean logic (true, false and indeterminate).
Definition:
TriBool.h:39
zypp::repo::RepoInfoBase::Impl::enabled
TriBool enabled
Definition:
RepoInfoBaseImpl.h:47
zypp::repo::RepoInfoBase::Impl::filepath
Pathname filepath
Definition:
RepoInfoBaseImpl.h:52
zypp::repo::RepoInfoBase::Impl::escaped_alias
std::string escaped_alias
Definition:
RepoInfoBaseImpl.h:50
zypp::repo::RepoInfoBase::Impl::~Impl
~Impl()
Definition:
RepoInfoBaseImpl.h:43
zypp::repo::RepoInfoBase::Impl::name
std::string name
Definition:
RepoInfoBaseImpl.h:51
zypp::repo::RepoInfoBase::Impl::clone
Impl * clone() const
clone for RWCOW_pointer
Definition:
RepoInfoBaseImpl.h:60
zypp::repo::RepoInfoBase::Impl::autorefresh
TriBool autorefresh
Definition:
RepoInfoBaseImpl.h:48
zypp::repo::RepoInfoBase::Impl
Definition:
RepoInfoBaseImpl.h:31
zypp::repo::RepoInfoBase::Impl::setAlias
void setAlias(const std::string &alias_)
Definition:
RepoInfoBase.cc:41
zypp
repo
RepoInfoBaseImpl.h
Generated by
1.8.5