72 void setUrl(
const Url& url );
104 void setLrf(
Date lrf_r );
116 bool reposToEnableEmpty()
const;
117 ReposToEnable::size_type reposToEnableSize()
const;
118 ReposToEnable::const_iterator reposToEnableBegin()
const;
119 ReposToEnable::const_iterator reposToEnableEnd()
const;
121 {
return makeIterable( reposToEnableBegin(), reposToEnableEnd() ); }
124 bool repoToEnableFind(
const std::string & alias_r )
const;
127 void addRepoToEnable(
const std::string & alias_r );
129 void delRepoToEnable(
const std::string & alias_r );
131 void clearReposToEnable();
142 bool reposToDisableEmpty()
const;
143 ReposToDisable::size_type reposToDisableSize()
const;
144 ReposToDisable::const_iterator reposToDisableBegin()
const;
145 ReposToDisable::const_iterator reposToDisableEnd()
const;
147 {
return makeIterable( reposToDisableBegin(), reposToDisableEnd() ); }
150 bool repoToDisableFind(
const std::string & alias_r )
const;
153 void addRepoToDisable(
const std::string & alias_r );
155 void delRepoToDisable(
const std::string & alias_r );
157 void clearReposToDisable();
174 : enabled( false ), autorefresh( true ), priority(
RepoInfo::defaultPriority() )
177 : enabled( repo_r.enabled() ), autorefresh( repo_r.autorefresh() ), priority( repo_r.priority() )
200 std::ostream & dumpAsIniOn( std::ostream &
str )
const override;
209 std::ostream &
dumpAsXmlOn( std::ostream &
str,
const std::string & content =
"" )
const override;
std::ostream & operator<<(std::ostream &str, const zypp::sat::detail::CDataiterator *obj)
Store and operate on date (time_t).
What is known about a repository.
Iterable< ReposToEnable::const_iterator > reposToEnable() const
std::list< ServiceInfo > ServiceInfoList
std::set< std::string > ReposToDisable
Container of repos.
Iterable< ReposToDisable::const_iterator > reposToDisable() const
std::map< std::string, RepoState > RepoStates
RWCOW_pointer< Impl > _pimpl
shared_ptr< ServiceInfo > ServiceInfo_Ptr
std::set< std::string > ReposToEnable
Container of repos.
static const ServiceInfo noService ZYPP_API
Represents an empty service.
shared_ptr< const ServiceInfo > ServiceInfo_constPtr
Base class implementing common features of RepoInfo and ServiceInfo.
String related utilities and Regular expression matching.
Easy-to use interface to the ZYPP dependency resolver.
bool operator==(const SetRelation::Enum &lhs, const SetCompare &rhs)
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::ostream & operator<<(std::ostream &str, const SerialNumber &obj)
std::ostream & dumpAsXmlOn(std::ostream &str, const Repository &obj)
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
RW_pointer supporting 'copy on write' functionality.
bool operator==(const RepoState &rhs) const
RepoState(const RepoInfo &repo_r)
bool operator!=(const RepoState &rhs) const
Service type enumeration.