OpFlex Framework 1.7.0
opflex::modb::URIBuilder Class Reference

Build a URI using path elements from the root of the tree. More...

#include <opflex/modb/URIBuilder.h>

Public Member Functions

 URIBuilder ()
 Construct an empty URI builder representing the root element.
 
 URIBuilder (const URI &uri)
 Construct a URI builder that will append URI elements to the specified URI.
 
 ~URIBuilder ()
 Destroy the URI Builder.
 
URIBuilderaddElement (const std::string &elementValue)
 Add a string-valued path element to the URI path, and URI-escape the value.
 
URIBuilderaddElement (uint32_t elementValue)
 Add an unsigned int-valued path element to the URI path.
 
URIBuilderaddElement (int32_t elementValue)
 Add a signed int-valued path element to the URI path.
 
URIBuilderaddElement (uint64_t elementValue)
 Add an unsigned int-valued path element to the URI path.
 
URIBuilderaddElement (int64_t elementValue)
 Add a signed int-valued path element to the URI path.
 
URIBuilderaddElement (const MAC &elementValue)
 Add a mac-address-valued path element to the URI path.
 
URIBuilderaddElement (const URI &elementValue)
 Add a URI path element to the URI path.
 
URI build ()
 Build the URI from the path elements and return it.
 

Friends

class URIBuilderImpl
 

Detailed Description

Build a URI using path elements from the root of the tree.


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