μHAL (v2.7.9)
Part of the IPbus software repository
Public Attributes | List of all members
uhal::URI Struct Reference

Struct to store a URI when parsed by boost spirit. More...

#include <uhal/grammars/URI.hpp>

Public Attributes

std::string mProtocol
 The "protocol" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3". More...
 
std::string mHostname
 The "host" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3". More...
 
std::string mPort
 The "port" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3". More...
 
std::string mPath
 The "patha/pathb/blah" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3". More...
 
std::string mExtension
 The "ext" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3". More...
 
NameValuePairVectorType mArguments
 The "key1=val1&key2=val2&key3=val3" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3" stored as a vector of key/val pairs. More...
 

Detailed Description

Struct to store a URI when parsed by boost spirit.

Definition at line 49 of file URI.hpp.

Member Data Documentation

◆ mArguments

NameValuePairVectorType uhal::URI::mArguments

The "key1=val1&key2=val2&key3=val3" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3" stored as a vector of key/val pairs.

Definition at line 62 of file URI.hpp.

Referenced by uhal::tests::BOOST_AUTO_TEST_CASE(), uhal::ExtractTargetID(), uhal::Mmap::Mmap(), uhal::operator<<(), uhal::PCIe::PCIe(), and uhal::toString().

◆ mExtension

std::string uhal::URI::mExtension

The "ext" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3".

Definition at line 60 of file URI.hpp.

Referenced by uhal::tests::BOOST_AUTO_TEST_CASE(), uhal::operator<<(), and uhal::toString().

◆ mHostname

std::string uhal::URI::mHostname

The "host" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3".

Definition at line 54 of file URI.hpp.

Referenced by uhal::tests::BOOST_AUTO_TEST_CASE(), uhal::operator<<(), uhal::PCIe::PCIe(), and uhal::toString().

◆ mPath

std::string uhal::URI::mPath

The "patha/pathb/blah" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3".

Definition at line 58 of file URI.hpp.

Referenced by uhal::tests::BOOST_AUTO_TEST_CASE(), uhal::operator<<(), and uhal::toString().

◆ mPort

std::string uhal::URI::mPort

The "port" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3".

Definition at line 56 of file URI.hpp.

Referenced by uhal::tests::BOOST_AUTO_TEST_CASE(), uhal::operator<<(), and uhal::toString().

◆ mProtocol

std::string uhal::URI::mProtocol

The "protocol" part of a URI of the form "protocol://host:port/patha/pathb/blah.ext?key1=val1&key2=val2&key3=val3".

Definition at line 52 of file URI.hpp.

Referenced by uhal::tests::BOOST_AUTO_TEST_CASE(), uhal::ClientFactory::getClient(), uhal::operator<<(), and uhal::toString().


The documentation for this struct was generated from the following file: