zypp::target::rpm::BinHeader Class Reference

#include <BinHeader.h>

Inheritance diagram for zypp::target::rpm::BinHeader:

Inheritance graph
[legend]

List of all members.

Public Types

typedef intrusive_ptr< BinHeaderPtr
typedef intrusive_ptr< const
BinHeader
constPtr
typedef rpmTag tag

Public Member Functions

 BinHeader (Header h_r=0)
 BinHeader (BinHeader::Ptr &rhs)
 Dangerous!<> This one takes the header out of rhs and leaves rhs empty.
virtual ~BinHeader ()
bool empty () const
bool has_tag (tag tag_r) const
unsigned int_list (tag tag_r, intList &lst_r) const
unsigned string_list (tag tag_r, stringList &lst_r) const
int int_val (tag tag_r) const
std::string string_val (tag tag_r) const
std::list< std::string > stringList_val (tag tag_r) const
virtual std::ostream & dumpOn (std::ostream &str) const
 Overload to realize std::ostream & operator<<.

Private Member Functions

bool assertHeader ()

Private Attributes

Header _h

Classes

class  intList
class  stringList


Detailed Description

Definition at line 42 of file BinHeader.h.


Member Typedef Documentation

Reimplemented in zypp::target::rpm::RpmHeader.

Definition at line 47 of file BinHeader.h.

typedef intrusive_ptr<const BinHeader> zypp::target::rpm::BinHeader::constPtr

Reimplemented in zypp::target::rpm::RpmHeader.

Definition at line 49 of file BinHeader.h.

Definition at line 51 of file BinHeader.h.


Constructor & Destructor Documentation

zypp::target::rpm::BinHeader::BinHeader ( Header  h_r = 0  ) 

Definition at line 157 of file BinHeader.cc.

References _h.

zypp::target::rpm::BinHeader::BinHeader ( BinHeader::Ptr rhs  ) 

Dangerous!<> This one takes the header out of rhs and leaves rhs empty.

Definition at line 172 of file BinHeader.cc.

References _h, and INT.

zypp::target::rpm::BinHeader::~BinHeader (  )  [virtual]

Definition at line 193 of file BinHeader.cc.

References _h.


Member Function Documentation

bool zypp::target::rpm::BinHeader::assertHeader (  )  [private]

Definition at line 207 of file BinHeader.cc.

References _h, and INT.

bool zypp::target::rpm::BinHeader::empty (  )  const [inline]

Definition at line 77 of file BinHeader.h.

References _h.

Referenced by has_tag(), int_list(), int_val(), string_list(), string_val(), and stringList_val().

bool zypp::target::rpm::BinHeader::has_tag ( tag  tag_r  )  const

Definition at line 229 of file BinHeader.cc.

References _h, and empty().

Referenced by zypp::target::rpm::RpmHeader::isSrc().

unsigned zypp::target::rpm::BinHeader::int_list ( tag  tag_r,
intList lst_r 
) const

unsigned zypp::target::rpm::BinHeader::string_list ( tag  tag_r,
stringList lst_r 
) const

int zypp::target::rpm::BinHeader::int_val ( tag  tag_r  )  const

std::string zypp::target::rpm::BinHeader::string_val ( tag  tag_r  )  const

std::list< std::string > zypp::target::rpm::BinHeader::stringList_val ( tag  tag_r  )  const

Definition at line 386 of file BinHeader.cc.

References empty(), and string_list().

virtual std::ostream& zypp::target::rpm::BinHeader::dumpOn ( std::ostream &  str  )  const [virtual]

Overload to realize std::ostream & operator<<.

Reimplemented from zypp::base::ReferenceCounted.

Reimplemented in zypp::target::rpm::RpmHeader.


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Tue May 5 14:49:56 2015 for libzypp by  doxygen 1.5.6