Build a URI using path elements from the root of the tree.
More...
#include <opflex/modb/URIBuilder.h>
Build a URI using path elements from the root of the tree.
opflex::modb::URIBuilder::URIBuilder |
( |
const URI & |
uri | ) |
|
Construct a URI builder that will append URI elements to the specified URI.
- Parameters
-
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
const std::string & |
elementValue | ) |
|
Add a string-valued path element to the URI path, and URI-escape the value.
- Parameters
-
elementValue | the value of the element |
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
uint32_t |
elementValue | ) |
|
Add an unsigned int-valued path element to the URI path.
- Parameters
-
elementValue | the value of the element |
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
int32_t |
elementValue | ) |
|
Add a signed int-valued path element to the URI path.
- Parameters
-
elementValue | the value of the element |
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
uint64_t |
elementValue | ) |
|
Add an unsigned int-valued path element to the URI path.
- Parameters
-
elementValue | the value of the element |
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
int64_t |
elementValue | ) |
|
Add a signed int-valued path element to the URI path.
- Parameters
-
elementValue | the value of the element |
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
const MAC & |
elementValue | ) |
|
Add a mac-address-valued path element to the URI path.
- Parameters
-
elementValue | the value of the element |
URIBuilder& opflex::modb::URIBuilder::addElement |
( |
const URI & |
elementValue | ) |
|
Add a URI path element to the URI path.
Note that this does not append the URI; this is actually a path element whose value is the URI.
- Parameters
-
elementValue | the value of the element |
The documentation for this class was generated from the following file: