|
Pol
Rev 533
|
#include <pkg.h>
Collaboration diagram for Package:Public Member Functions | |
| Package (const std::string &pkg_dir, ConfigElem &elem) | |
| void | check_conflicts () const |
| void | check_dependencies () const |
| bool | check_replacements () const |
| std::string | desc () const |
| const std::string & | dir () const |
| const std::string & | name () const |
| bool | provides_system_home_page () const |
| const std::string & | version () const |
Private Member Functions | |
| Package (const Package &) | |
| Package & | operator= (const Package &) |
Private Attributes | |
| PackageList | conflicts_ |
| unsigned short | core_required_ |
| std::string | core_versionstring_required_ |
| std::string | dir_ |
| std::string | name_ |
| bool | provides_system_home_page_ |
| PackageList | replaces_ |
| PackageList | requires_ |
| std::string | version_ |
| Package::Package | ( | const std::string & | pkg_dir, |
| ConfigElem & | elem | ||
| ) |
Definition at line 140 of file pkg.cpp.
References core_required_, core_versionstring_required_, mklower(), name_, ConfigElem::read_string(), ConfigElem::remove_string(), and ConfigElem::remove_ushort().
Here is the call graph for this function:| Package::Package | ( | const Package & | ) | [private] |
| void Package::check_conflicts | ( | ) | const |
Definition at line 236 of file pkg.cpp.
References conflicts_, desc(), PackageList::elems, find_package(), and PackageList::Elem::pkgname.
Referenced by check_deps_for_package().
Here is the call graph for this function:
Here is the caller graph for this function:| void Package::check_dependencies | ( | ) | const |
Definition at line 189 of file pkg.cpp.
References check_version2(), core_required_, core_versionstring_required_, desc(), dir_, PackageList::elems, find_package(), name_, PackageList::Elem::pkgname, polver, polverstr, requires_, PackageList::Elem::version, and version_.
Referenced by check_deps_for_package().
Here is the call graph for this function:
Here is the caller graph for this function:| bool Package::check_replacements | ( | ) | const |
Definition at line 170 of file pkg.cpp.
References desc(), PackageList::elems, find_package(), PackageList::Elem::pkgname, remove_package(), and replaces_.
Referenced by check_replaced_packages(), and replace_packages().
Here is the call graph for this function:
Here is the caller graph for this function:| string Package::desc | ( | ) | const |
Definition at line 165 of file pkg.cpp.
Referenced by check_conflicts(), check_dependencies(), check_replacements(), config_web_server(), load_attribute_entry(), load_package(), and load_vital_entry().
Here is the call graph for this function:
Here is the caller graph for this function:| const std::string & Package::dir | ( | ) | const [inline] |
Definition at line 71 of file pkg.h.
References dir_.
Referenced by AutoCompile(), BXMLfile::call_method_id(), decode_page(), desc(), full_scriptname(), PackageObjImp::get_member(), get_textcmd_help(), GetCommandsInPackage(), GetPackageCfgPath(), implicit_package_cmds_cfg(), Compiler::includeModule(), load_package(), FileAccessExecutorModule::mf_AppendToFile(), FileAccessExecutorModule::mf_CreateDirectory(), FileAccessExecutorModule::mf_FileExists(), FileAccessExecutorModule::mf_ListDirectory(), FileAccessExecutorModule::mf_LogToFile(), FileAccessExecutorModule::mf_OpenBinaryFile(), FileAccessExecutorModule::mf_OpenXMLFile(), FileAccessExecutorModule::mf_ReadFile(), FileAccessExecutorModule::mf_WriteFile(), process_package_cmds_cfg(), ScriptDef::quickconfig(), Compiler::read_function_declarations_in_included_file(), read_itemdesc_file(), register_spell(), and run_package_startscript().
Here is the caller graph for this function:| const std::string & Package::name | ( | ) | const [inline] |
Definition at line 75 of file pkg.h.
References name_.
Referenced by FileAccess::AppliesToPackage(), ArmorDesc::ArmorDesc(), DataStoreFile::DataStoreFile(), desc(), DataStoreFile::filename(), FindNpcTemplate(), DataFileExecutorModule::GetDataStoreFile(), GetPackageList(), load_npc_weapon_templates(), load_package(), DataFileExecutorModule::mf_CreateDataFile(), PolSystemExecutorModule::mf_ListTextCommands(), DataFileExecutorModule::mf_OpenDataFile(), NpcTemplate::NpcTemplate(), ItemDesc::objtype_description(), read_npc_templates(), register_spell(), ScriptDef::relativename(), and write_objtypes_txt().
Here is the caller graph for this function:| bool Package::provides_system_home_page | ( | ) | const |
Definition at line 23 of file pkg.cpp.
References provides_system_home_page_.
Referenced by config_web_server().
Here is the caller graph for this function:| const std::string & Package::version | ( | ) | const [inline] |
Definition at line 79 of file pkg.h.
References version_.
Referenced by load_package().
Here is the caller graph for this function:PackageList Package::conflicts_ [private] |
Definition at line 58 of file pkg.h.
Referenced by check_conflicts().
unsigned short Package::core_required_ [private] |
Definition at line 54 of file pkg.h.
Referenced by check_dependencies(), and Package().
std::string Package::core_versionstring_required_ [private] |
Definition at line 55 of file pkg.h.
Referenced by check_dependencies(), and Package().
std::string Package::dir_ [private] |
Definition at line 49 of file pkg.h.
Referenced by check_dependencies(), and dir().
std::string Package::name_ [private] |
Definition at line 50 of file pkg.h.
Referenced by check_dependencies(), name(), and Package().
bool Package::provides_system_home_page_ [private] |
Definition at line 61 of file pkg.h.
Referenced by provides_system_home_page().
PackageList Package::replaces_ [private] |
Definition at line 59 of file pkg.h.
Referenced by check_replacements().
PackageList Package::requires_ [private] |
Definition at line 57 of file pkg.h.
Referenced by check_dependencies().
std::string Package::version_ [private] |
Definition at line 51 of file pkg.h.
Referenced by check_dependencies(), and version().