17#define RPM_NULL_TYPE rpmTagType(0)
18typedef rpmuint32_t rpm_count_t;
24#include <zypp/base/Logger.h>
25#include <zypp/base/NonCopyable.h>
26#include <zypp/base/String.h>
27#include <zypp/AutoDispose.h>
34#define Y2LOG "BinHeader"
106#if RPM_CHAR_TYPE != RPM_INT8_TYPE
178 INT <<
"INJECT from " << rhs;
179 if ( ! (rhs && rhs->_h) )
188 INT <<
": " << *
this <<
" (" << rhs <<
")" << endl;
218 INT <<
"OOPS: NULL HEADER created!" << endl;
258#if RPM_CHAR_TYPE != RPM_INT8_TYPE
270 INT <<
"RPM_TAG MISMATCH: RPM_INTxx_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
296 return lst_r.set( 0, 0 );
301 INT <<
"RPM_TAG MISMATCH: RPM_STRING_ARRAY_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
305 return lst_r.set( 0, 0 );
328#if RPM_CHAR_TYPE != RPM_INT8_TYPE
344 INT <<
"RPM_TAG MISMATCH: RPM_INTxx_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
366 INT <<
"RPM_TAG MISSMATCH: RPM_BIN_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
397 INT <<
"RPM_TAG MISMATCH: RPM_STRING_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
408 return std::string();
410 return std::string(form);
428 std::list<std::string>
ret;
434 for (
unsigned i = 0;
i <
count; ++
i )
452 ReferenceCounted::dumpOn(
str );
453 return str <<
'{' << (
void*)
_h <<
'}';
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
void swap(AutoDispose &rhs) noexcept
Exchange the contents of two AutoDispose objects.
String related utilities and Regular expression matching.
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Easy-to use interface to the ZYPP dependency resolver.