18 :m_protocol(protocol),
28 const std::string& s = ip.
string();
29 std::string::size_type pos = s.find_first_of(
':');
30 if(pos != std::string::npos)
45 ossimKeywordlist::KeywordMap::const_iterator iter = map.begin();
46 while(iter!=map.end())
50 m_params = iter->first +
"=" + iter->second;
54 m_params+=(
"&"+iter->first +
"=" + iter->second);
65 const std::string& s = url.
string();
66 std::string::size_type pos = s.find_first_of(
":");
68 if(pos == std::string::npos)
return;
76 if(pos == std::string::npos)
return;
78 std::string::size_type nextPos = s.find_first_of(
'/', pos+1);
80 if(nextPos == std::string::npos)
92 if(pos == std::string::npos)
void setFieldsFromUrl(const ossimString &url)
Represents serializable keyword/value map.
void setIp(const ossimString &ip)
std::string::iterator end()
std::string::size_type find_first_of(char c, std::string::size_type pos=0) const
Equivalent to find(c, pos).
ossimString toString() const
std::map< std::string, std::string > KeywordMap
std::string::size_type find_first_not_of(char c, std::string::size_type pos=0) const
Returns the smallest character position N such that pos <= N < size(), and such that (*this)[N] does ...
std::string::iterator begin()
const ossimKeywordlist::KeywordMap & getMap() const
void setParams(const ossimString ¶ms)
const std::string & string() const