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"
100#if RPM_CHAR_TYPE != RPM_INT8_TYPE
172 INT <<
"INJECT from " << rhs;
173 if ( ! (rhs && rhs->_h) )
182 INT <<
": " << *
this <<
" (" << rhs <<
")" << endl;
212 INT <<
"OOPS: NULL HEADER created!" << endl;
252#if RPM_CHAR_TYPE != RPM_INT8_TYPE
264 INT <<
"RPM_TAG MISMATCH: RPM_INTxx_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
290 return lst_r.set( 0, 0 );
295 INT <<
"RPM_TAG MISMATCH: RPM_STRING_ARRAY_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
299 return lst_r.set( 0, 0 );
322#if RPM_CHAR_TYPE != RPM_INT8_TYPE
338 INT <<
"RPM_TAG MISMATCH: RPM_INTxx_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
360 INT <<
"RPM_TAG MISSMATCH: RPM_BIN_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
391 INT <<
"RPM_TAG MISMATCH: RPM_STRING_TYPE " <<
tag_r <<
" got type " <<
headerget.type() << endl;
402 return std::string();
404 return std::string(form);
422 std::list<std::string>
ret;
428 for (
unsigned i = 0;
i <
count; ++
i )
446 ReferenceCounted::dumpOn(
str );
447 return str <<
'{' << (
void*)
_h <<
'}';
std::list< PublicKeyData > _data
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
void swap(AutoDispose &rhs)
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.