![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Internal helper functions for ArgsManager. More...
Public Types | |
| typedef std::map< std::string, std::vector< std::string > > | MapArgs |
Static Public Member Functions | |
| static bool | UseDefaultSection (const ArgsManager &am, const std::string &arg) |
| Determine whether to use config settings in the default section, See also comments around ArgsManager::ArgsManager() below. More... | |
| static std::string | NetworkArg (const ArgsManager &am, const std::string &arg) |
| Convert regular argument into the network-specific setting. More... | |
| static void | AddArgs (std::vector< std::string > &res, const MapArgs &map_args, const std::string &arg) |
| Find arguments in a map and add them to a vector. More... | |
| static std::pair< bool, std::string > | GetArgHelper (const MapArgs &map_args, const std::string &arg, bool getLast=false) |
| Return true/false if an argument is set in a map, and also return the first (or last) of the possibly multiple values it has. More... | |
| static std::pair< bool, std::string > | GetArg (const ArgsManager &am, const std::string &arg) |
| static bool | GetNetBoolArg (const ArgsManager &am, const std::string &net_arg) |
Internal helper functions for ArgsManager.
Definition at line 178 of file system.cpp.
| typedef std::map<std::string, std::vector<std::string> > ArgsManagerHelper::MapArgs |
Definition at line 180 of file system.cpp.
|
inlinestatic |
Find arguments in a map and add them to a vector.
Definition at line 197 of file system.cpp.
|
inlinestatic |
Definition at line 227 of file system.cpp.
|
inlinestatic |
Return true/false if an argument is set in a map, and also return the first (or last) of the possibly multiple values it has.
Definition at line 208 of file system.cpp.
|
inlinestatic |
Definition at line 263 of file system.cpp.
|
inlinestatic |
Convert regular argument into the network-specific setting.
Definition at line 190 of file system.cpp.
|
inlinestatic |
Determine whether to use config settings in the default section, See also comments around ArgsManager::ArgsManager() below.
Definition at line 184 of file system.cpp.