12#ifndef REPOINFOBASE_H_
13#define REPOINFOBASE_H_
100 bool autorefresh()
const;
117 void setAlias(
const std::string &alias );
123 void setName(
const std::string &name );
129 void setEnabled(
bool enabled );
135 void setAutorefresh(
bool autorefresh );
145 void setFilepath(
const Pathname &filename );
151 virtual std::ostream &
dumpOn( std::ostream &
str )
const;
157 virtual std::ostream & dumpAsIniOn( std::ostream &
str )
const;
163 virtual std::ostream &
dumpAsXmlOn( std::ostream &
str,
const std::string & content =
"" )
const;
184 std::ostream &
operator<<( std::ostream &
str,
const RepoInfoBase & obj );
std::ostream & operator<<(std::ostream &str, const zypp::sat::detail::CDataiterator *obj)
Base class implementing common features of RepoInfo and ServiceInfo.
std::string label() const
Label for use in messages for the user interface.
bool operator!=(const RepoInfoBase &lhs, const RepoInfoBase &rhs)
RepoInfoBase(const RepoInfoBase &)=default
std::string escaped_alias() const
Same as alias(), just escaped in a way to be a valid file name.
bool operator==(const RepoInfoBase &lhs, const RepoInfoBase &rhs)
std::string asUserString() const
User string: label (alias or name)
std::string name() const
Repository name.
RepoInfoBase(RepoInfoBase &&) noexcept=default
std::string rawName() const
The raw metadata name (no default, no variables replaced).
shared_ptr< const RepoInfoBase > RepoInfoBase_constPtr
shared_ptr< RepoInfoBase > RepoInfoBase_Ptr
RWCOW_pointer< Impl > _pimpl
Pointer to implementation.
std::string alias() const
unique identifier for this source.
String related utilities and Regular expression matching.
std::ostream & operator<<(std::ostream &str, const DeltaCandidates &obj)
bool operator<(const RepoInfoBase &lhs, const RepoInfoBase &rhs)
Easy-to use interface to the ZYPP dependency resolver.
std::ostream & dumpOn(std::ostream &str, const Capability &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.
Provides API related macros.