UPnPsdk 0.1
Universal Plug and Play +, Software Development Kit
 
Loading...
Searching...
No Matches
uri.cpp File Reference

Manage Uniform Resource Identifier (URI) as specified with RFC 3986. More...

+ Include dependency graph for uri.cpp:

Go to the source code of this file.

Namespaces

namespace  UPnPsdk
 Reengineered Object Oriented UPnP+ program code.
 

Functions

bool UPnPsdk::anonymous_namespace{uri.cpp}::is_ipv4_addr (const std::string &ip)
 Check if string is a valid IPv4 address.
 
bool UPnPsdk::anonymous_namespace{uri.cpp}::is_dns_name (const std::string &label)
 Check if a string conforms to a DNS name.
 
UPnPsdk_VIS void UPnPsdk::remove_dot_segments (std::string &a_path)
 Remove dot segments from a path.
 
UPnPsdk_VIS void UPnPsdk::decode_esc_chars (std::string &a_encoded)
 Replaces http percent encoded characters with their character representation.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_scheme (std::string_view a_uri_sv)
 Separates the scheme component from a URI.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_authority (std::string_view a_uriref_sv)
 Separates the authority component from a URI reference.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_userinfo (std::string_view a_uriref_sv)
 Separates the authority userinfo subcomponent from a URI reference.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_host (std::string_view a_uriref_sv)
 Separates the authority host subcomponent from a URI reference.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_port (std::string_view a_uriref_sv)
 Separates the authority port subcomponent from a URI reference.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_path (std::string_view a_uriref_sv)
 Separates the path component from a URI reference.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_query (std::string_view a_uriref_sv)
 Separates the query component from a URI reference.
 
std::string_view UPnPsdk::anonymous_namespace{uri.cpp}::get_fragment (std::string_view a_uriref_sv)
 Separates the fragment component from a URI reference.
 
void UPnPsdk::anonymous_namespace{uri.cpp}::merge_paths (CPath &a_path, const CUriRef &a_base, const CUriRef &a_rel)
 Merge a relative reference to a base URI.
 
int parse_uri (const char *in, size_t max, uri_type *out)
 Parses a uri as defined in RFC 3986 (Uniform Resource Identifier).
 

Detailed Description

Manage Uniform Resource Identifier (URI) as specified with RFC 3986.

Definition in file uri.cpp.