![]() |
XRootD
|
#include <XrdOucTUtils.hh>
Static Public Member Functions | |
template<typename T > | |
static std::map< std::string, T >::const_iterator | caseInsensitiveFind (const std::map< std::string, T > &m, const std::string &lowerCaseSearchKey) |
template<class Container > | |
static void | splitString (Container &result, const std::string &input, const std::string &delimiter) |
Split a string. More... | |
This class is created to contain template code for utility reason. Its purpose is basically the same as the XrdOucUtils, but it will only contain templated code
Definition at line 43 of file XrdOucTUtils.hh.
|
inlinestatic |
Looks for an element in a std::map<std::string, T> in a case-insensitive way
T | the type of the associated element to search |
m | the map to search |
lowerCaseSearchKey | the key to look for (must be lower-cased!) |
Definition at line 79 of file XrdOucTUtils.hh.
Referenced by XrdTpcUtils::prepareOpenURL(), TPC::TPCHandler::ProcessReq(), and Macaroons::Handler::ProcessReq().
|
inlinestatic |
Split a string.
Definition at line 51 of file XrdOucTUtils.hh.
Referenced by XrdHttpReadRangeHandler::Configure(), and XrdCl::Utils::splitString().