|
μHAL (v2.7.9)
Part of the IPbus software repository
|
Go to the documentation of this file.
44 aStr <<
" > protocol : " << aURI.
mProtocol <<
"\n";
45 aStr <<
" > hostname : " << aURI.
mHostname <<
"\n";
46 aStr <<
" > port : " << aURI.
mPort <<
"\n";
47 aStr <<
" > path : " << aURI.
mPath <<
"\n";
48 aStr <<
" > extension : " << aURI.
mExtension <<
"\n";
49 aStr <<
" > arguments :\n";
51 for ( uhal::NameValuePairVectorType::const_iterator lIt = aURI.
mArguments.begin() ; lIt != aURI.
mArguments.end() ; ++lIt )
53 aStr <<
" > " << lIt->first <<
" = " << lIt->second <<
"\n";
63 std::stringstream lReturn;
66 if ( !aURI.
mPort.empty() )
67 lReturn <<
":" << aURI.
mPort;
70 if ( aURI.
mPath !=
"" )
72 lReturn <<
"/" << aURI.
mPath;
85 uhal::NameValuePairVectorType::const_iterator lIt = aURI.
mArguments.begin();
89 lReturn << lIt->first <<
"=" << lIt->second;
100 return lReturn.str();
std::ostream & operator<<(std::ostream &aStr, const uhal::HttpResponseType &aHttpResponse)
std::string mHostname
The "host" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&k...
std::string mPath
The "patha/pathb/blah" part of a URI of the form "protocol://host:port/patha/pathb/blah....
NameValuePairVectorType mArguments
The "key1=val1&key2=val2&key3=val3" part of a URI of the form "protocol://host:port/patha/pathb/blah....
std::string toString(const URI &aURI)
std::string mExtension
The "ext" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&ke...
std::string mProtocol
The "protocol" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?...
Struct to store a URI when parsed by boost spirit.
std::string mPort
The "port" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&k...