Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

PkgNameEd Struct Reference

#include <PkgName.h>

List of all members.

Public Member Functions

 PkgNameEd (const PkgName &n, const PkgEdition &e)
bool operator== (const PkgNameEd &ne2) const
bool operator!= (const PkgNameEd &ne2) const
bool operator< (const PkgNameEd &ne2) const
std::string asString () const

Static Public Member Functions

std::string toString (const PkgNameEd &t)
PkgNameEd fromString (std::string s)

Public Attributes

PkgName name
PkgEdition edition

Friends

std::ostream & operator<< (std::ostream &, const PkgNameEd &)


Detailed Description

Convenience struct containing a PkgName and PkgEdition
See also:
PkgName

PkgEdition


Constructor & Destructor Documentation

PkgNameEd::PkgNameEd const PkgName n,
const PkgEdition e
[inline]
 

Constructor


Member Function Documentation

string PkgNameEd::asString  )  const
 

PkgNameEd PkgNameEd::fromString std::string  s  )  [static]
 

Restore PkgNameEd from string (on restore from file). Keep it compatible with toString.

bool PkgNameEd::operator!= const PkgNameEd ne2  )  const [inline]
 

bool PkgNameEd::operator< const PkgNameEd ne2  )  const [inline]
 

bool PkgNameEd::operator== const PkgNameEd ne2  )  const [inline]
 

string PkgNameEd::toString const PkgNameEd t  )  [static]
 

Convert PkgNameEd to string (on save to file). Keep it compatible with fromString.


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &  os,
const PkgNameEd ne
[friend]
 


Member Data Documentation

PkgEdition PkgNameEd::edition
 

PkgName PkgNameEd::name
 


The documentation for this struct was generated from the following files:
Generated on Fri Nov 9 14:30:32 2007 for yast2-packagemanager by doxygen 1.3.6