|
Pol
Revision:cb584c9
|
#include <cmdlevel.h>
Classes | |
| struct | SearchDir |
Public Types | |
| typedef std::vector< std::string > | Aliases |
| typedef std::vector< SearchDir > | SearchList |
Public Member Functions | |
| CmdLevel (Clib::ConfigElem &elem, int cmdlevelnum) | |
| void | add_searchdir (Plib::Package *pkg, const std::string &dir) |
| void | add_searchdir_front (Plib::Package *pkg, const std::string &dir) |
| size_t | estimateSize () const |
| bool | matches (const std::string &name) const |
Public Attributes | |
| Aliases | aliases |
| unsigned char | cmdlevel |
| std::string | name |
| SearchList | searchlist |
Definition at line 28 of file cmdlevel.h.
| typedef std::vector<std::string> Pol::Core::CmdLevel::Aliases |
Definition at line 50 of file cmdlevel.h.
| typedef std::vector<SearchDir> Pol::Core::CmdLevel::SearchList |
Definition at line 47 of file cmdlevel.h.
| Pol::Core::CmdLevel::CmdLevel | ( | Clib::ConfigElem & | elem, |
| int | cmdlevelnum | ||
| ) |
Definition at line 29 of file cmdlevel.cpp.
References add_searchdir(), aliases, Pol::Clib::mklower(), name, Pol::Clib::normalized_dir_form(), and Pol::Clib::ConfigElem::remove_prop().
| void Pol::Core::CmdLevel::add_searchdir | ( | Plib::Package * | pkg, |
| const std::string & | dir | ||
| ) |
| void Pol::Core::CmdLevel::add_searchdir_front | ( | Plib::Package * | pkg, |
| const std::string & | dir | ||
| ) |
Definition at line 61 of file cmdlevel.cpp.
References searchlist.
Referenced by Pol::Core::implicit_package_cmds_cfg(), and Pol::Core::process_package_cmds_cfg().
| size_t Pol::Core::CmdLevel::estimateSize | ( | ) | const |
Definition at line 66 of file cmdlevel.cpp.
References aliases, name, and searchlist.
| bool Pol::Core::CmdLevel::matches | ( | const std::string & | name | ) | const |
Definition at line 46 of file cmdlevel.cpp.
References aliases, name, and Pol::Clib::stringicmp().
| Aliases Pol::Core::CmdLevel::aliases |
Definition at line 51 of file cmdlevel.h.
Referenced by CmdLevel(), estimateSize(), Pol::Core::implicit_package_cmds_cfg(), and matches().
| unsigned char Pol::Core::CmdLevel::cmdlevel |
Definition at line 39 of file cmdlevel.h.
Referenced by Pol::Core::GetCommandsInPackage(), Pol::Core::implicit_package_cmds_cfg(), Pol::Core::load_cmdlevels(), Pol::Module::PolSystemExecutorModule::mf_GetCmdLevelNumber(), Pol::Core::process_package_cmds_cfg(), Pol::Mobile::Character::readCommonProperties(), Pol::Accounts::Account::readfrom(), and Pol::Mobile::Character::script_method_id().
| std::string Pol::Core::CmdLevel::name |
Definition at line 38 of file cmdlevel.h.
Referenced by CmdLevel(), estimateSize(), Pol::Core::GetCommandsInPackage(), Pol::Core::implicit_package_cmds_cfg(), matches(), and Pol::Module::PolSystemExecutorModule::mf_GetCmdLevelName().
| SearchList Pol::Core::CmdLevel::searchlist |
Definition at line 48 of file cmdlevel.h.
Referenced by add_searchdir(), add_searchdir_front(), estimateSize(), Pol::Core::get_textcmd_help(), Pol::Core::GetCommandsInPackage(), and Pol::Core::start_textcmd_script().