12 #ifndef ZYPP_TARGET_RPM_BINHEADER_H
13 #define ZYPP_TARGET_RPM_BINHEADER_H
47 typedef intrusive_ptr<BinHeader>
Ptr;
49 typedef intrusive_ptr<const BinHeader>
constPtr;
84 unsigned int_list(
tag tag_r, intList & lst_r )
const;
98 virtual std::ostream &
dumpOn( std::ostream & str )
const;
113 :
_type( RPM_NULL_TYPE )
117 {
return _data.empty(); }
120 {
return _data.size(); }
123 {
return idx_r <
_data.size() ?
_data[idx_r] : 0; }
127 unsigned set(
void * val_r,
unsigned cnt_r, rpmTagType type_r );
146 {
return _data.empty(); }
149 {
return _data.size(); }
152 {
return idx_r <
_data.size() ?
_data[idx_r] : std::string(); }
156 unsigned set(
char ** val_r,
unsigned cnt_r );
168 #endif // ZYPP_TARGET_RPM_BINHEADER_H
boost::noncopyable NonCopyable
Ensure derived classes cannot be copied.
Base class for reference counted objects.