|
CARDS 2.4.121
Package manager for the NuTyX GNU/Linux distribution
|
#include <libcards.h>
Public Member Functions | |
| Pkginfo (const std::string &commandName) | |
| virtual void | run (int argc, char **argv) |
| virtual void | parseArguments (int argc, char **argv) |
| virtual void | run () |
| virtual void | finish () |
| virtual void | printHelp () const |
| Pkginfo (const std::string &commandName) | |
| virtual void | run (int argc, char **argv) |
| virtual void | parseArguments (int argc, char **argv) |
| virtual void | run () |
| virtual void | finish () |
| virtual void | printHelp () const |
Public Member Functions inherited from Pkgdbh | |
| Pkgdbh (const std::string &name) | |
| virtual void | progressInfo () |
| virtual void | treatErrors (const std::string &s) const |
| void | print_version () const |
| int | getNumberOfPackages () |
| std::set< std::string > | getListOfPackageName () |
| bool | checkPackageNameExist (const std::string &name) const |
| bool | checkDependency (const std::string &name) |
| void | setDependency () |
| void | resetDependency () |
| unsigned int | getFilesNumber () |
| unsigned int | getInstalledFilesNumber () |
| std::set< std::string > | getFilesList () |
| Pkgdbh (const std::string &name) | |
| virtual void | progressInfo () |
| virtual void | treatErrors (const std::string &s) const |
| void | print_version () const |
| int | getNumberOfPackages () |
| std::set< std::string > | getListOfPackageName () |
| bool | checkPackageNameExist (const std::string &name) const |
| bool | checkDependency (const std::string &name) |
| void | setDependency () |
| void | resetDependency () |
| unsigned int | getFilesNumber () |
| unsigned int | getInstalledFilesNumber () |
| std::set< std::string > | getFilesList () |
Protected Attributes | |
| std::string | m_arg |
| int | m_runtimedependencies_mode |
| int | m_footprint_mode |
| int | m_archiveinfo |
| int | m_installed_mode |
| int | m_list_mode |
| int | m_owner_mode |
| int | m_details_mode |
| int | m_libraries_mode |
| int | m_runtime_mode |
| int | m_epoc |
| bool | m_fulllist_mode |
Protected Attributes inherited from Pkgdbh | |
| std::string | m_packageArchiveName |
| std::string | m_packageName |
| std::string | m_packageArchiveVersion |
| std::string | m_packageArchiveRelease |
| std::string | m_packageArchiveCollection |
| std::string | m_packageVersion |
| std::string | m_packageRelease |
| std::string | m_packageCollection |
| std::string | m_utilName |
| std::string | m_root |
| std::string | m_build |
| std::vector< rule_t > | m_actionRules |
| std::set< std::pair< std::string, int > > | m_postInstallList |
| alias_t | m_listOfAlias |
| packages_t | m_listOfInstPackages |
| packages_t | m_listOfDepotPackages |
| std::set< std::pair< std::string, std::set< std::string > > > | m_listOfInstalledPackagesWithDeps |
| action | m_actualAction |
| error | m_actualError |
Additional Inherited Members | |
Protected Member Functions inherited from Pkgdbh | |
| std::set< std::string > | getFilesOfPackage (const std::string &packageName) |
| int | getListOfPackageNames (const std::string &path) |
| std::pair< std::string, pkginfo_t > | getInfosPackage (const std::string &packageName) |
| void | buildSimpleDatabase () |
| void | buildSimpleDependenciesDatabase () |
| void | buildCompleteDatabase (const bool &silent) |
| void | buildDatabase (const bool &progress, const bool &simple, const bool &all, const bool &files, const std::string &packageName) |
| void | addPackageFilesRefsToDB (const std::string &name, const pkginfo_t &info) |
| bool | checkPackageNameUptodate (const std::pair< std::string, pkginfo_t > &archiveName) |
| bool | checkPackageNameBuildDateSame (const std::pair< std::string, time_t > &dependencieNameBuild) |
| void | removePackageFiles (const std::string &name) |
| void | removePackageFiles (const std::string &name, const std::set< std::string > &keep_list) |
| void | removePackageFilesRefsFromDB (const std::string &name) |
| void | removePackageFilesRefsFromDB (std::set< std::string > files, const std::set< std::string > &keep_list) |
| std::set< std::string > | getConflictsFilesList (const std::string &name, const pkginfo_t &info) |
| std::pair< std::string, pkginfo_t > | openArchivePackage (const std::string &filename) |
| std::set< std::pair< std::string, time_t > > | getPackageDependencies (const std::string &filename) |
| void | extractAndRunPREfromPackage (const std::string &filename) |
| void | installArchivePackage (const std::string &filename, const std::set< std::string > &keep_list, const std::set< std::string > &non_install_files) |
| void | moveMetaFilesPackage (const std::string &name, pkginfo_t &info) |
| void | readRulesFile () |
| void | getInstallRulesList (const std::vector< rule_t > &rules, rule_event_t event, std::vector< rule_t > &found) const |
| bool | checkRuleAppliesToFile (const rule_t &rule, const std::string &file) |
| void | getFootprintPackage (std::string &filename) |
| std::set< std::string > | getFilesOfPackage (const std::string &packageName) |
| int | getListOfPackageNames (const std::string &path) |
| std::pair< std::string, pkginfo_t > | getInfosPackage (const std::string &packageName) |
| void | buildSimpleDatabase () |
| void | buildSimpleDependenciesDatabase () |
| void | buildCompleteDatabase (const bool &silent) |
| void | buildDatabase (const bool &progress, const bool &simple, const bool &all, const bool &files, const std::string &packageName) |
| void | addPackageFilesRefsToDB (const std::string &name, const pkginfo_t &info) |
| bool | checkPackageNameUptodate (const std::pair< std::string, pkginfo_t > &archiveName) |
| bool | checkPackageNameBuildDateSame (const std::pair< std::string, time_t > &dependencieNameBuild) |
| void | removePackageFiles (const std::string &name) |
| void | removePackageFiles (const std::string &name, const std::set< std::string > &keep_list) |
| void | removePackageFilesRefsFromDB (const std::string &name) |
| void | removePackageFilesRefsFromDB (std::set< std::string > files, const std::set< std::string > &keep_list) |
| std::set< std::string > | getConflictsFilesList (const std::string &name, const pkginfo_t &info) |
| std::pair< std::string, pkginfo_t > | openArchivePackage (const std::string &filename) |
| std::set< std::pair< std::string, time_t > > | getPackageDependencies (const std::string &filename) |
| void | extractAndRunPREfromPackage (const std::string &filename) |
| void | installArchivePackage (const std::string &filename, const std::set< std::string > &keep_list, const std::set< std::string > &non_install_files) |
| void | moveMetaFilesPackage (const std::string &name, pkginfo_t &info) |
| void | readRulesFile () |
| void | getInstallRulesList (const std::vector< rule_t > &rules, rule_event_t event, std::vector< rule_t > &found) const |
| bool | checkRuleAppliesToFile (const rule_t &rule, const std::string &file) |
| void | getFootprintPackage (std::string &filename) |
Pkginfo class.