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

InstTargetSelDB Class Reference

#include <InstTargetSelDB.h>

Inheritance diagram for InstTargetSelDB:

CountedRep Rep List of all members.

Public Types

typedef InstTargetError Error

Public Member Functions

 InstTargetSelDB ()
 ~InstTargetSelDB ()
PMError open (const Pathname &system_root_r="/")
bool isOpen () const
const PathnamedbPath () const
const std::list< PMSelectionPtr > & getSelections () const
bool isInstalled (const Pathname &selfile_r) const
PMError install (const Pathname &selfile_r)
PMError remove (const Pathname &selfile_r)
virtual std::ostream & dumpOn (std::ostream &str) const

Private Member Functions

 REP_BODY (InstTargetSelDB)
PMError assert_open () const
PMError check_file (const Pathname &selfile_r) const
Pathname db_file (const Pathname &selfile_r) const
PMError rescan () const

Private Attributes

const Pathname _db
std::list< PMSelectionPtr > _sellist
bool _sellistDirty

Static Private Attributes

const Pathname _db_path

Member Typedef Documentation

typedef InstTargetError InstTargetSelDB::Error
 

default error class


Constructor & Destructor Documentation

InstTargetSelDB::InstTargetSelDB  ) 
 

InstTargetSelDB::~InstTargetSelDB  ) 
 


Member Function Documentation

PMError InstTargetSelDB::assert_open  )  const [private]
 

PMError InstTargetSelDB::check_file const Pathname selfile_r  )  const [private]
 

Pathname InstTargetSelDB::db_file const Pathname selfile_r  )  const [private]
 

const Pathname& InstTargetSelDB::dbPath  )  const [inline]
 

ostream & InstTargetSelDB::dumpOn std::ostream &  str  )  const [virtual]
 

Reimplemented from CountedRep.

const std::list<PMSelectionPtr>& InstTargetSelDB::getSelections void   )  const [inline]
 

PMError InstTargetSelDB::install const Pathname selfile_r  ) 
 

bool InstTargetSelDB::isInstalled const Pathname selfile_r  )  const
 

bool InstTargetSelDB::isOpen  )  const [inline]
 

PMError InstTargetSelDB::open const Pathname system_root_r = "/"  ) 
 

PMError InstTargetSelDB::remove const Pathname selfile_r  ) 
 

InstTargetSelDB::REP_BODY InstTargetSelDB   )  [private]
 

PMError InstTargetSelDB::rescan  )  const [private]
 


Member Data Documentation

const Pathname InstTargetSelDB::_db [private]
 

const Pathname InstTargetSelDB::_db_path [static, private]
 

std::list<PMSelectionPtr> InstTargetSelDB::_sellist [mutable, private]
 

bool InstTargetSelDB::_sellistDirty [mutable, private]
 


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