|
CARDS 2.4.140
Package manager for the NuTyX GNU/Linux distribution
|
Cards info class. More...
#include <cards_info.h>
Public Member Functions | |
| Cards_info (const CardsArgumentParser &argParser, const std::string &configFileName) | |
Public Member Functions inherited from Pkginfo | |
| 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 | parseArguments (int argc, char **argv) |
| virtual void | run (int argc, char **argv) |
| virtual void | run () |
| virtual void | printHelp () const |
| 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 | parseArguments (int argc, char **argv) |
| virtual void | run (int argc, char **argv) |
| virtual void | run () |
| virtual void | printHelp () const |
| 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 () |
Public Member Functions inherited from Pkgrepo | |
| Pkgrepo (const std::string &fileName) | |
| void | throwError (const std::string &s) const |
| std::set< std::string > | getListOutOfDate () |
| std::string | getPortDir (const std::string &portName) |
| std::string | getBasePortName (const std::string &portName) |
| std::string | getBasePackageName (const std::string &packageName) |
| std::string | getBasePackageVersion (const std::string &packageName) |
| std::string | getPortVersion (const std::string &portName) |
| int | getBasePackageRelease (const std::string &packageName) |
| int | getPortRelease (const std::string &portName) |
| bool | checkPortExist (const std::string &portName) |
| std::set< std::string > | getListOfPackagesFromCollection (const std::string &collectionName) |
| std::set< std::string > | getListOfPackagesFromSet (const std::string &collectionName) |
| time_t | getBinaryBuildTime (const std::string &portName) |
| std::set< std::string > | getBinaryPackageList () |
| std::set< Pkg * > | getBinaryPackageSet () |
| std::vector< RepoInfo > | getRepoInfo () |
| unsigned int | getPortsList () |
| bool | getBinaryPackageInfo (const std::string &packageName) |
| bool | getPortInfo (const std::string &portName) |
| Pkgrepo (const std::string &fileName) | |
| void | throwError (const std::string &s) const |
| std::set< std::string > | getListOutOfDate () |
| std::string | getPortDir (const std::string &portName) |
| std::string | getBasePortName (const std::string &portName) |
| std::string | getBasePackageName (const std::string &packageName) |
| std::string | getBasePackageVersion (const std::string &packageName) |
| std::string | getPortVersion (const std::string &portName) |
| int | getBasePackageRelease (const std::string &packageName) |
| int | getPortRelease (const std::string &portName) |
| bool | checkPortExist (const std::string &portName) |
| std::set< std::string > | getListOfPackagesFromCollection (const std::string &collectionName) |
| std::set< std::string > | getListOfPackagesFromSet (const std::string &collectionName) |
| time_t | getBinaryBuildTime (const std::string &portName) |
| std::set< std::string > | getBinaryPackageList () |
| std::set< Pkg * > | getBinaryPackageSet () |
| std::vector< RepoInfo > | getRepoInfo () |
| unsigned int | getPortsList () |
| bool | getBinaryPackageInfo (const std::string &packageName) |
| bool | getPortInfo (const std::string &portName) |
Additional Inherited Members | |
Static Public Member Functions inherited from Pkgrepo | |
| static int | parseConfig (const char *fileName, Config &config) |
| static int | parseConfig (const char *fileName, Config &config) |
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) |
Protected Member Functions inherited from Pkgrepo | |
| int | parseConfig (const char *fileName) |
| void | parsePkgRepoCollectionFile () |
| void | parseCollectionDirectory () |
| void | parseCurrentPackagePkgRepoFile () |
| void | parsePackagePkgfileFile () |
| int | parseConfig (const char *fileName) |
| void | parsePkgRepoCollectionFile () |
| void | parseCollectionDirectory () |
| void | parseCurrentPackagePkgRepoFile () |
| void | parsePackagePkgfileFile () |
Protected Attributes inherited from Pkginfo | |
| 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 |
Protected Attributes inherited from Pkgrepo | |
| bool | m_parsePkgRepoCollectionFile |
| bool | m_parseCollectionDirectory |
| bool | m_parsePackagePkgfileFile |
| std::vector< PortsDirectory >::iterator | m_PortsDirectory_i |
| std::vector< BasePackageInfo >::iterator | m_BasePackageInfo_i |
| std::vector< PortFilesList >::iterator | m_PortFilesList_i |
| std::vector< PortFilesList > | m_portFilesList |
| std::string | m_configFileName |
| Config | m_config |
| std::vector< PortsDirectory > | m_portsDirectoryList |
Cards info class.
Cards_info class.
This class takes care of printing out information about installed packages, availables packages on remote server or available ports that can be compiled.
| Cards_info::Cards_info | ( | const CardsArgumentParser & | argParser, |
| const std::string & | configFileName | ||
| ) |
Default constructor
| argParser | CardsArgumentParser type |
| configFileName | Specify the configuration file name to use |