|
libzypp
17.37.18
|
Namespaces | |
| _logtoolsdetail | |
| base | |
| callback | |
| debug | |
| detail | |
| env | |
| Namespace intended to collect all environment variables we use. | |
| exception_detail | |
| externalprogram | |
| filesystem | |
| Types and functions for filesystem operations. | |
| gettext | |
| gzstream_detail | |
| hotfix1050625 | |
| internal | |
| io | |
| iomanip | |
| iostr | |
| Iostream related utilities. | |
| json | |
| kvmap | |
| log | |
| media | |
| parser | |
| rw_pointer | |
| Don't forgett to provide versions for PtrType and constPtrType, esp. | |
| sat | |
| Libsolv interface | |
| str | |
| String related utilities and Regular expression matching. | |
| strv | |
| url | |
| Url details namespace. | |
| xml | |
| xmlout | |
Classes | |
| class | AutoDispose |
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose handle to it is destroyed or reset. More... | |
| class | AutoDispose< void > |
| class | AutoFD |
AutoDispose<int> calling ::close More... | |
| class | AutoFILE |
AutoDispose<FILE*> calling ::fclose More... | |
| struct | AutoFREE |
| struct | AutoFREE< void > |
| class | ByteArray |
| class | ByteCount |
| Store and operate with byte count. More... | |
| class | C_Str |
Convenience char* constructible from std::string and char*, it maps (char*)0 to an empty string. More... | |
| class | CheckSum |
| class | CheckSumCheckException |
| struct | CheckSumException |
| class | CleanerThread |
| class | CombinedProgressData |
| Progress callback from another progress. More... | |
| class | ContentType |
Mime type like 'type/subtype' classification of content. More... | |
| class | Date |
| Store and operate on date (time_t). More... | |
| class | DateFormatException |
| class | DefaultIntegral |
| Integral type with defined initial value when default constructed. More... | |
| struct | Deferred |
| class | Digest |
| Compute Message Digests (MD5, SHA1 etc) More... | |
| class | DtorReset |
| Assign a vaiable a certain value when going out of scope. More... | |
| class | Errno |
Convenience errno wrapper. More... | |
| class | Exception |
| Base class for Exception. More... | |
| class | ExternalProgram |
| Execute a program and give access to its io An object of this class encapsulates the execution of an external program. More... | |
| class | ExternalProgramWithSeperatePgid |
| ExternalProgram extended to change the progress group ID after forking. More... | |
| class | ExternalProgramWithStderr |
| ExternalProgram extended to offer reading programs stderr. More... | |
| class | FileCheckException |
| struct | GetPairFirst |
Functor taking a std::pair returning std::pair.first. More... | |
| struct | GetPairSecond |
Functor taking a std::pair returning std::pair.second . More... | |
| class | InputStream |
| Helper to create and pass std::istream. More... | |
| class | Iterable |
| struct | KVMap |
| A map of (key,value) strings. More... | |
| class | LogClient |
| class | LogThread |
| struct | MapKVIteratorTraits |
| Traits for std::map key and value iterators. More... | |
| class | MediaConfig |
| class | MediaConfigPrivate |
| class | MirroredOrigin |
| Manages a data source characterized by an authoritative URL and a list of mirror URLs. More... | |
| class | MirroredOriginSet |
| A smart container that manages a collection of MirroredOrigin objects, automatically grouping endpoints and preserving the insertion order of their schemes. More... | |
| struct | MLSep |
| Helper to produce not-NL-terminated multi line output. More... | |
| struct | NullDeleter |
| shared_ptr custom deleter doing nothing. More... | |
| class | OnMediaLocation |
| Describes a resource file located on a medium. More... | |
| class | OriginEndpoint |
| Represents a single, configurable network endpoint, combining a URL with specific access settings. More... | |
| class | PluginFrame |
| Command frame for communication with PluginScript. More... | |
| class | PluginFrameException |
| Base class for PluginFrame Exception. More... | |
| class | ProgressData |
Maintain [min,max] and counter (value) for progress counting. More... | |
| struct | RW_pointer |
Wrapper for const correct access via Smart pointer types. More... | |
| struct | RWCOW_pointer |
| RW_pointer supporting 'copy on write' functionality. More... | |
| class | ShutdownLock |
| Attempts to create a lock to prevent the system from going into hibernate/shutdown. More... | |
| class | ShutdownLockCommit |
| class | SignatureCheckException |
| class | SpinLock |
| class | UByteArray |
| class | Url |
| Url manipulation class. More... | |
| class | UserRequestException |
| Base for exceptions caused by explicit user request. More... | |
| class | WatchFile |
| Remember a files attributes to detect content changes. More... | |
Typedefs | |
| using | OnScopeExit = AutoDispose< void > |
| using | FdStreamBuf = detail::SimpleStreamBuf< detail::FdStreamBufImpl > |
| using | ifgzstream = detail::fXstream< std::istream, gzstream_detail::fgzstreambuf > |
| istream reading gzip files as well as plain files. More... | |
| using | ofgzstream = detail::fXstream< std::ostream, gzstream_detail::fgzstreambuf > |
| ostream writing gzip files. More... | |
| using | TriBool = boost::logic::tribool |
3-state boolean logic (true, false and indeterminate). More... | |
| using | ifzckstream = detail::fXstream< std::istream, detail::ZChunkStreamBuf > |
| istream reading zchunk files. More... | |
| using | ofzckstream = detail::fXstream< std::ostream, detail::ZChunkStreamBuf > |
| ostream writing zchunk files. More... | |
| using | ManagedFile = AutoDispose< const Pathname > |
| A Pathname plus associated cleanup code to be executed when path is no longer needed. More... | |
Functions | |
| DEFINE_PTR_TYPE (KeyRing) | |
| template<class Tp , Tp TInitial> | |
| std::string | asString (const DefaultIntegral< Tp, TInitial > &obj) |
| std::ostream & | operator<< (std::ostream &str, const Exception &obj) |
| std::ostream & | operator<< (std::ostream &str, const std::exception_ptr &excptPtr) ZYPP_API |
| Log a std::excepion_ptr. More... | |
| std::ostream & | operator<< (std::ostream &str, const InputStream &obj) |
| template<class TFilter , class TContainer > | |
| filter_iterator< TFilter, typename TContainer::const_iterator > | make_filter_begin (TFilter f, const TContainer &c) |
| Convenience to create filter_iterator from container::begin(). More... | |
| template<class TFilter , class TContainer > | |
| filter_iterator< TFilter, typename TContainer::const_iterator > | make_filter_begin (const TContainer &c) |
| Convenience to create filter_iterator from container::begin(). More... | |
| template<class TFilter , class TContainer > | |
| filter_iterator< TFilter, typename TContainer::const_iterator > | make_filter_end (TFilter f, const TContainer &c) |
| Convenience to create filter_iterator from container::end(). More... | |
| template<class TFilter , class TContainer > | |
| filter_iterator< TFilter, typename TContainer::const_iterator > | make_filter_end (const TContainer &c) |
| Convenience to create filter_iterator from container::end(). More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Key_const_iterator | make_map_key_begin (const TMap &map_r) |
| Convenience to create the key iterator from container::begin() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Key_const_iterator | make_map_key_end (const TMap &map_r) |
| Convenience to create the key iterator from container::end() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Value_const_iterator | make_map_value_begin (const TMap &map_r) |
| Convenience to create the value iterator from container::begin() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Value_const_iterator | make_map_value_end (const TMap &map_r) |
| Convenience to create the value iterator from container::end() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Key_const_iterator | make_map_key_lower_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
| Convenience to create the key iterator from container::lower_bound() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Key_const_iterator | make_map_key_upper_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
| Convenience to create the key iterator from container::upper_bound() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Value_const_iterator | make_map_value_lower_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
| Convenience to create the value iterator from container::lower_bound() More... | |
| template<class TMap > | |
| MapKVIteratorTraits< TMap >::Value_const_iterator | make_map_value_upper_bound (const TMap &map_r, const typename TMap::key_type &key_r) |
| Convenience to create the value iterator from container::upper_bound() More... | |
| template<class TMap > | |
| Iterable< typename MapKVIteratorTraits< TMap >::Key_const_iterator > | make_map_key_Iterable (const TMap &map_r) |
| Convenience to create an Iterable over the container keys. More... | |
| template<class TMap > | |
| Iterable< typename MapKVIteratorTraits< TMap >::Value_const_iterator > | make_map_value_Iterable (const TMap &map_r) |
| Convenience to create an Iterable over the container values. More... | |
| constexpr std::string_view | ZYPP_MAIN_THREAD_NAME ("Zypp-main") |
| std::ostream & | operator<< (std::ostream &str, MLSep &obj) |
| template<class TIterator > | |
| std::ostream & | dumpRange (std::ostream &str, TIterator begin, TIterator end, const std::string &intro="{", const std::string &pfx="\ ", const std::string &sep="\ ", const std::string &sfx="\, const std::string &extro="}") |
| Print range defined by iterators (multiline style). More... | |
| template<class TIterator > | |
| std::ostream & | dumpRangeLine (std::ostream &str, TIterator begin, TIterator end) |
| Print range defined by iterators (single line style). More... | |
| template<class TContainer > | |
| std::ostream & | dumpRangeLine (std::ostream &str, const TContainer &cont) |
| template<class TIterator > | |
| iomanip::RangeLine< TIterator > | rangeLine (TIterator begin, TIterator end) |
| Iomanip printing dumpRangeLine style. More... | |
| template<class TContainer > | |
| auto | rangeLine (const TContainer &cont) -> decltype(rangeLine(cont.begin(), cont.end())) |
| template<class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::vector< Tp > &obj) |
| template<class Tp , class TCmp , class TAlloc > | |
| std::ostream & | operator<< (std::ostream &str, const std::set< Tp, TCmp, TAlloc > &obj) |
| template<class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::unordered_set< Tp > &obj) |
| template<class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::multiset< Tp > &obj) |
| template<class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::list< Tp > &obj) |
| template<class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const Iterable< Tp > &obj) |
| template<class TKey , class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::map< TKey, Tp > &obj) |
| template<class TKey , class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::unordered_map< TKey, Tp > &obj) |
| template<class TKey , class Tp > | |
| std::ostream & | operator<< (std::ostream &str, const std::multimap< TKey, Tp > &obj) |
| std::ostream & | operator<< (std::ostream &str, const std::basic_ios< char > &obj) |
| Print stream status bits. More... | |
| template<class Tp > | |
| detail::Dump< Tp > | dump (const Tp &obj_r) |
| std::ostream & | hexdumpOn (std::ostream &outs, const unsigned char *ptr, size_t size) |
| hexdump data on stream More... | |
| std::ostream & | hexdumpOn (std::ostream &outs, const char *ptr, size_t size) |
| std::ostream & | operator<< (std::ostream &str, const std::type_info &info) |
| template<typename T , typename... Args> | |
| intrusive_ptr< T > | make_intrusive (Args &&... __args) |
| template<class Tp > | |
| std::string | asUserString (const Tp &val_r) |
| Request a human readable (translated) string representation of Tp [Tp.asUserString()] Classes may implement a default as member function. More... | |
| declException (IgnoreRequestException, IGNORE) | |
| declException (SkipRequestException, SKIP) | |
| declException (RetryRequestException, RETRY) | |
| declException (AbortRequestException, ABORT) | |
| std::ostream & | operator<< (std::ostream &str, const CheckSum &obj) |
| std::ostream & | dumpAsXmlOn (std::ostream &str, const CheckSum &obj) |
| std::ostream & | dumpAsXmlOn (std::ostream &str, const Date &obj, const std::string &name_r) |
| bool | IamRoot () |
| bool | IamNotRoot () |
| Pathname | myTmpDir () ZYPP_API |
| Global access to the zypp.TMPDIR (created on demand, deleted when libzypp is unloaded) More... | |
| template<typename KVMapOpts > | |
| std::ostream & | operator<< (std::ostream &str, const KVMap< KVMapOpts > &obj) |
| std::ostream & | operator<< (std::ostream &str, const OriginEndpoint &url) |
| bool | operator< (const OriginEndpoint &lhs, const OriginEndpoint &rhs) |
| needed for std::set More... | |
| bool | operator== (const OriginEndpoint &lhs, const OriginEndpoint &rhs) |
| needed for find, two OriginEndpoint's are equal when the Urls match, currently settings are not compared More... | |
| bool | operator!= (const OriginEndpoint &lhs, const OriginEndpoint &rhs) |
| needed for find, two OriginEndpoint's are equal when the Urls match, currently settings are not compared More... | |
| std::ostream & | operator<< (std::ostream &str, const MirroredOrigin &origin) |
| std::ostream & | operator<< (std::ostream &str, const MirroredOriginSet &origin) |
| std::ostream & | operator<< (std::ostream &str, const OnMediaLocation &obj) |
| std::ostream & | dumpOn (std::ostream &str, const OnMediaLocation &obj) |
| std::ostream & | operator<< (std::ostream &str, const PluginFrame &obj) |
| bool | operator== (const PluginFrame &lhs, const PluginFrame &rhs) |
| std::string | asString (const TriBool &val_r, const std::string &istr_r=std::string(), const std::string &tstr_r=std::string(), const std::string &fstr_r=std::string()) |
| bool | tri2bool (const TriBool &val_r, bool default_r) |
| Convert TriBool to bool returning default_r if indeterminate. More... | |
| std::ostream & | operator<< (std::ostream &str, const ProgressData &obj) |
| ProgressData | makeProgressData (const InputStream &input_r) |
| std::ostream & | operator<< (std::ostream &str, const Url &url) |
| bool | operator< (const Url &lhs, const Url &rhs) ZYPP_API |
| needed for std::set More... | |
| bool | operator== (const Url &lhs, const Url &rhs) ZYPP_API |
| needed for find More... | |
| bool | operator!= (const Url &lhs, const Url &rhs) |
| template<> | |
| zyppng::HeaderValue::value_type * | rwcowClone< zyppng::HeaderValue::value_type > (const zyppng::HeaderValue::value_type *rhs) |
Default dumpAsXmlOn based on asString. | |
| template<class Tp > | |
| std::ostream & | dumpAsXmlOn (std::ostream &str, const Tp &obj, const std::string &name_r) |
Variables | |
| template<class > | |
| constexpr bool | always_false_v = false |
| using zypp::OnScopeExit = typedef AutoDispose<void> |
Simple way to run a function at scope exit:
Definition at line 276 of file AutoDispose.h.
| using zypp::FdStreamBuf = typedef detail::SimpleStreamBuf<detail::FdStreamBufImpl> |
Definition at line 69 of file filestreambuf.h.
| using zypp::ifgzstream = typedef detail::fXstream<std::istream, gzstream_detail::fgzstreambuf> |
istream reading gzip files as well as plain files.
Definition at line 157 of file gzstream.h.
| using zypp::ofgzstream = typedef detail::fXstream<std::ostream, gzstream_detail::fgzstreambuf> |
ostream writing gzip files.
Definition at line 162 of file gzstream.h.
| using zypp::ifzckstream = typedef detail::fXstream<std::istream,detail::ZChunkStreamBuf> |
istream reading zchunk files.
Definition at line 69 of file zckstream.h.
| using zypp::ofzckstream = typedef detail::fXstream<std::ostream,detail::ZChunkStreamBuf> |
ostream writing zchunk files.
Definition at line 74 of file zckstream.h.
| using zypp::ManagedFile = typedef AutoDispose<const Pathname> |
A Pathname plus associated cleanup code to be executed when path is no longer needed.
Definition at line 27 of file ManagedFile.h.
| zypp::DEFINE_PTR_TYPE | ( | KeyRing | ) |
| std::string zypp::asString | ( | const DefaultIntegral< Tp, TInitial > & | obj | ) |
Definition at line 98 of file defaultintegral.h.
|
related |
Definition at line 216 of file Exception.cc.
| std::ostream & zypp::operator<< | ( | std::ostream & | str, |
| const std::exception_ptr & | excptPtr | ||
| ) |
Log a std::excepion_ptr.
Definition at line 219 of file Exception.cc.
|
related |
Definition at line 167 of file inputstream.cc.
| constexpr std::string_view zypp::ZYPP_MAIN_THREAD_NAME | ( | "Zypp-main" | ) |
|
inline |
Definition at line 59 of file LogTools.h.
| std::ostream& zypp::dumpRange | ( | std::ostream & | str, |
| TIterator | begin, | ||
| TIterator | end, | ||
| const std::string & | intro = "{", |
||
| const std::string & | pfx = "\n ", |
||
| const std::string & | sep = "\n ", |
||
| const std::string & | sfx = "\n", |
||
| const std::string & | extro = "}" |
||
| ) |
Print range defined by iterators (multiline style).
The defaults print the range enclosed in {}, one item per line indented by 2 spaces.
A comma separated list enclosed in () would be:
Definition at line 120 of file LogTools.h.
| std::ostream& zypp::dumpRangeLine | ( | std::ostream & | str, |
| TIterator | begin, | ||
| TIterator | end | ||
| ) |
Print range defined by iterators (single line style).
Definition at line 143 of file LogTools.h.
| std::ostream& zypp::dumpRangeLine | ( | std::ostream & | str, |
| const TContainer & | cont | ||
| ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 148 of file LogTools.h.
| iomanip::RangeLine<TIterator> zypp::rangeLine | ( | TIterator | begin, |
| TIterator | end | ||
| ) |
Iomanip printing dumpRangeLine style.
Definition at line 186 of file LogTools.h.
| auto zypp::rangeLine | ( | const TContainer & | cont | ) | -> decltype( rangeLine( cont.begin(), cont.end() ) ) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 190 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::vector< Tp > & | obj | ||
| ) |
Definition at line 194 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::set< Tp, TCmp, TAlloc > & | obj | ||
| ) |
Definition at line 198 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::unordered_set< Tp > & | obj | ||
| ) |
Definition at line 202 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::multiset< Tp > & | obj | ||
| ) |
Definition at line 206 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::list< Tp > & | obj | ||
| ) |
Definition at line 210 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const Iterable< Tp > & | obj | ||
| ) |
Definition at line 214 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::map< TKey, Tp > & | obj | ||
| ) |
Definition at line 410 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::unordered_map< TKey, Tp > & | obj | ||
| ) |
Definition at line 414 of file LogTools.h.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const std::multimap< TKey, Tp > & | obj | ||
| ) |
Definition at line 418 of file LogTools.h.
|
inline |
Print stream status bits.
Prints the values of a streams good, eof, failed and bad bit.
Definition at line 430 of file LogTools.h.
| detail::Dump<Tp> zypp::dump | ( | const Tp & | obj_r | ) |
Definition at line 461 of file LogTools.h.
|
inline |
hexdump data on stream
Definition at line 472 of file LogTools.h.
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Definition at line 497 of file LogTools.h.
|
inline |
Write type info to stream de-inline me
Definition at line 504 of file LogTools.h.
| std::string zypp::asUserString | ( | const Tp & | val_r | ) |
Request a human readable (translated) string representation of Tp [Tp.asUserString()] Classes may implement a default as member function.
| zypp::declException | ( | IgnoreRequestException | , |
| IGNORE | |||
| ) |
| zypp::declException | ( | SkipRequestException | , |
| SKIP | |||
| ) |
| zypp::declException | ( | RetryRequestException | , |
| RETRY | |||
| ) |
| zypp::declException | ( | AbortRequestException | , |
| ABORT | |||
| ) |
|
inline |
|
related |
Definition at line 183 of file CheckSum.cc.
|
related |
Definition at line 193 of file CheckSum.cc.
|
related |
|
inline |
Definition at line 41 of file PathInfo.h.
|
inline |
Definition at line 42 of file PathInfo.h.
| Pathname zypp::myTmpDir | ( | ) |
Global access to the zypp.TMPDIR (created on demand, deleted when libzypp is unloaded)
Definition at line 340 of file TmpPath.cc.
| std::ostream& zypp::operator<< | ( | std::ostream & | str, |
| const KVMap< KVMapOpts > & | obj | ||
| ) |
| ZYPP_API std::ostream & zypp::operator<< | ( | std::ostream & | str, |
| const OriginEndpoint & | url | ||
| ) |
Definition at line 116 of file MirroredOrigin.cc.
| ZYPP_API bool zypp::operator< | ( | const OriginEndpoint & | lhs, |
| const OriginEndpoint & | rhs | ||
| ) |
needed for std::set
Definition at line 121 of file MirroredOrigin.cc.
| ZYPP_API bool zypp::operator== | ( | const OriginEndpoint & | lhs, |
| const OriginEndpoint & | rhs | ||
| ) |
needed for find, two OriginEndpoint's are equal when the Urls match, currently settings are not compared
Definition at line 126 of file MirroredOrigin.cc.
| ZYPP_API bool zypp::operator!= | ( | const OriginEndpoint & | lhs, |
| const OriginEndpoint & | rhs | ||
| ) |
needed for find, two OriginEndpoint's are equal when the Urls match, currently settings are not compared
Definition at line 131 of file MirroredOrigin.cc.
| ZYPP_API std::ostream & zypp::operator<< | ( | std::ostream & | str, |
| const MirroredOrigin & | origin | ||
| ) |
Definition at line 314 of file MirroredOrigin.cc.
| ZYPP_API std::ostream & zypp::operator<< | ( | std::ostream & | str, |
| const MirroredOriginSet & | origin | ||
| ) |
Definition at line 409 of file MirroredOrigin.cc.
|
related |
Definition at line 165 of file onmedialocation.cc.
| std::ostream& zypp::dumpOn | ( | std::ostream & | str, |
| const OnMediaLocation & | obj | ||
| ) |
Definition at line 168 of file onmedialocation.cc.
|
related |
Definition at line 497 of file PluginFrame.cc.
|
related |
Definition at line 500 of file PluginFrame.cc.
|
inline |
|
inline |
|
related |
Definition at line 106 of file progressdata.cc.
|
related |
Definition at line 124 of file progressdata.cc.
| std::ostream & zypp::operator<< | ( | std::ostream & | str, |
| const Url & | url | ||
| ) |
|
inline |
Definition at line 192 of file headervaluemap.h.
|
inline |
Definition at line 60 of file LogControl.cc.