Public Types | Public Member Functions | List of all members
zorba::Resource Class Referenceabstract

The class representing the result of URL resolution. More...

#include <zorba/uri_resolvers.h>

Inheritance diagram for zorba::Resource:
Inheritance graph
[legend]

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. More...
 
virtual ~Resource ()=0
 

Detailed Description

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.

Examples:
context.cpp, and external_functions.cpp.

Definition at line 50 of file uri_resolvers.h.

Member Typedef Documentation

Definition at line 54 of file uri_resolvers.h.

Constructor & Destructor Documentation

virtual zorba::Resource::~Resource ( )
pure virtual

Member Function Documentation

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".


The documentation for this class was generated from the following file: