|
| DataPointPath | operator+ (DataPointPath lhs, const DataPointPath &rhs) |
| | Concatenate two DataPointPaths without adding a path seperator, and checked if path is still valid.
|
| |
| DataPointPath | operator/ (DataPointPath lhs, const DataPointPath &rhs) |
| | Concatenate two DataPointPaths with a path separator in between.
|
| |
| std::ostream & | operator<< (std::ostream &out, const DataPointPath &rhs) |
| | Output to a ostream object.
|
| |
| bool | operator== (const DataPointPath &lhs, const char *rhs) noexcept |
| |
| bool | operator!= (const DataPointPath &lhs, const char *rhs) noexcept |
| |
| bool | operator< (const DataPointPath &lhs, const char *rhs) noexcept |
| |
| bool | operator<= (const DataPointPath &lhs, const char *rhs) noexcept |
| |
| bool | operator> (const DataPointPath &lhs, const char *rhs) noexcept |
| |
| bool | operator>= (const DataPointPath &lhs, const char *rhs) noexcept |
| |
| bool | operator== (const DataPointPath &lhs, const std::string &rhs) noexcept |
| |
| bool | operator!= (const DataPointPath &lhs, const std::string &rhs) noexcept |
| |
| bool | operator< (const DataPointPath &lhs, const std::string &rhs) noexcept |
| |
| bool | operator<= (const DataPointPath &lhs, const std::string &rhs) noexcept |
| |
| bool | operator> (const DataPointPath &lhs, const std::string &rhs) noexcept |
| |
| bool | operator>= (const DataPointPath &lhs, const std::string &rhs) noexcept |
| |
| bool | operator== (const DataPointPath &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator!= (const DataPointPath &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator< (const DataPointPath &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator<= (const DataPointPath &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator> (const DataPointPath &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator>= (const DataPointPath &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator== (const char *lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator!= (const char *lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator< (const char *lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator<= (const char *lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator> (const char *lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator>= (const char *lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator== (const std::string &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator!= (const std::string &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator< (const std::string &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator<= (const std::string &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator> (const std::string &lhs, const DataPointPath &rhs) noexcept |
| |
| bool | operator>= (const std::string &lhs, const DataPointPath &rhs) noexcept |
| |
| std::istream & | operator>> (std::istream &input, DataPointPath &path) |
| | Read into DataPointPath from an istream object.
|
| |
This class provides a wrapper for a data point path.
This ensures that the paths used to refer to specific data points only contain valid characters. Trying to use paths with invalid characters with this class will raise an exception.
An acceptable data point path contains path components separated by a single slash. Each path component can only contain lower case alphabetic characters [a-z], numeric characters [0-9] or an underscore [_]. However, a trailing underscore is not allowed and a leading numerical character is also not allowed.
The following are examples of valid data point paths:
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
The following are examples of invalid data point paths that will throw and exception:
| elt::mal::Uri rtctk::componentFramework::DataPointPath::AppendSuffixToUriPath |
( |
const std::string & | suffix, |
|
|
const elt::mal::Uri & | uri ) |
|
static |
Appends a suffix string to the path of a URI.
This function concatenates a suffix string, interpreted as a path, to the given URI's path. However, this is done taking the leading and trailing slash characters into account, i.e. it makes sure that the path separator character '/' is only introduced once between the path from the input URI and the suffix string. In addition, if the original URI contains an empty path then the suffix is appended as is, allowing construction of URI's with relative paths.
- Parameters
-
| suffix | The suffix string to append to uri. |
| uri | The URI to which the suffix will be appended. |
- Returns
- A new URI object with the suffix concatenated to the input URI.