The class representing the result of URL resolution. More...
#include <zorba/uri_resolvers.h>
Public Types | |
typedef std::unique_ptr < Resource, internal::ztd::destroy_delete < Resource > > | ptr |
Public Member Functions | |
virtual void | destroy () const =0 |
Destroy/clean up this Resource. | |
virtual | ~Resource ()=0 |
The class representing the result of URL resolution.
This class is the final output of the URI resolution process. All URL resolvers return results using subclasses of this class.
Definition at line 50 of file uri_resolvers.h.
Reimplemented in zorba::Thesaurus.
Definition at line 53 of file uri_resolvers.h.
virtual zorba::Resource::~Resource | ( | ) | [pure virtual] |
virtual void zorba::Resource::destroy | ( | ) | const [pure virtual] |
Destroy/clean up this Resource.
Zorba will call this method when it no longer needs the Resource. It is the responsibility of subclasses to clean up appropriate when this method is called, including calling "delete this" if the Resource was allocated with "new".
Implemented in zorba::Thesaurus.