|
Molybden
|
An interface that all proxy config implementations must extend. More...
#include <proxy_config.hpp>
Public Member Functions | |
| template<class S > | |
| std::shared_ptr< S > | as () |
| Casts this proxy configuration to the target type. | |
Protected Member Functions | |
| virtual ProxyConfigType | type () const =0 |
| Returns the current proxy config type. | |
An interface that all proxy config implementations must extend.
| std::shared_ptr< S > molybden::ProxyConfig::as | ( | ) |
Casts this proxy configuration to the target type.
Returns an empty std::shared_ptr if this proxy configuration is not of the given target type. For example:
| S | the target type that must be the ProxyConfig subclass. |