Classes | |
struct | TrEq |
struct | GetMKey |
struct | __SrandInit |
Typedefs | |
typedef std::pair< std::string, std::string > | nvpair |
typedef std::list< nvpair > | pairlist_t |
typedef std::map< std::string, boost::shared_ptr< void > > | attr_t |
typedef std::map< std::string, std::string > | param_t |
typedef std::multimap < std::string, std::string > | mparam_t |
Functions | |
unsigned long | getRandomLong () |
std::string | getRandomString (int len) |
template<class T > | |
std::auto_ptr< std::vector < std::string > > | getMapKeyNames (const std::map< std::string, T > &map) |
template<class T > | |
std::auto_ptr< std::vector < std::string > > | getMapKeyNames (const std::multimap< std::string, T > &map) |
template<typename K , typename V > | |
std::auto_ptr< std::vector< V > > | getMapValues (const std::multimap< K, V > &map, const K &name) |
Variables | |
static __SrandInit | __srtandInit |
typedef std::map<std::string,boost::shared_ptr<void> > container::util::attr_t |
typedef std::multimap<std::string,std::string> container::util::mparam_t |
typedef std::pair<std::string, std::string> container::util::nvpair |
typedef std::list<nvpair> container::util::pairlist_t |
typedef std::map<std::string,std::string> container::util::param_t |
std::auto_ptr< std::vector<std::string> > container::util::getMapKeyNames | ( | const std::multimap< std::string, T > & | map | ) | [inline] |
Definition at line 78 of file util.h.
Referenced by container::serverconfig::AppContext::getAttributeNames(), container::HttpSessionImpl::getAttributeNames(), container::HttpServletRequestImpl::getAttributeNames(), container::HttpServletRequestImpl::getHeaderNames(), container::ServletConfigImpl::getInitParameterNames(), container::serverconfig::AppContext::getInitParameterNames(), and container::HttpServletRequestImpl::getParameterNames().
std::auto_ptr< std::vector<std::string> > container::util::getMapKeyNames | ( | const std::map< std::string, T > & | map | ) | [inline] |
std::auto_ptr< std::vector<V> > container::util::getMapValues | ( | const std::multimap< K, V > & | map, | |
const K & | name | |||
) | [inline] |
Definition at line 87 of file util.h.
Referenced by container::HttpServletRequestImpl::getHeaders(), and container::HttpServletRequestImpl::getParameterValues().
unsigned long container::util::getRandomLong | ( | ) |
std::string container::util::getRandomString | ( | int | len | ) |
len | desired length of string. May return more |
Definition at line 54 of file util.cpp.
References getRandomLong().
Referenced by container::serverconfig::AppContext::newSession().
__SrandInit container::util::__srtandInit [static] |