libmoost
|
This class is a base class for all supported uri schemes. More...
#include <uri_scheme.hpp>
Classes | |
struct | port |
A enum of supported schemes and their associated default ports. More... | |
Public Member Functions | |
std::string const & | get () const |
Gets a string representation of a valid uri scheme. | |
int | get_port () const |
Get the port number associated with this scheme. | |
Protected Member Functions | |
uri_scheme (std::string const &scheme, int port) | |
Private Attributes | |
std::string | scheme_ |
int | port_ |
This class is a base class for all supported uri schemes.
Definition at line 47 of file uri_scheme.hpp.
moost::murcl::uri_scheme::uri_scheme | ( | std::string const & | scheme, |
int | port | ||
) | [inline, protected] |
Definition at line 84 of file uri_scheme.hpp.
std::string const& moost::murcl::uri_scheme::get | ( | ) | const [inline] |
Gets a string representation of a valid uri scheme.
Definition at line 67 of file uri_scheme.hpp.
int moost::murcl::uri_scheme::get_port | ( | ) | const [inline] |
Get the port number associated with this scheme.
Definition at line 78 of file uri_scheme.hpp.
int moost::murcl::uri_scheme::port_ [private] |
Definition at line 95 of file uri_scheme.hpp.
std::string moost::murcl::uri_scheme::scheme_ [private] |
Definition at line 94 of file uri_scheme.hpp.