Public Member Functions | List of all members
Resource Class Referenceabstract

Abstract base class of resource classes. More...

#include <Resource.hpp>

Inheritance diagram for Resource:
[legend]

Public Member Functions

virtual ~Resource ()=default
 Destroy the resource instance. More...
 
virtual void close ()=0
 Close the stream(s) in the resource. More...
 
virtual const Uriuri () const =0
 Get the URI associated with this resource. More...
 

Detailed Description

Abstract base class of resource classes.

Instances of concrete classes are typically used within a std::unique_ptr<Resource> or std::shared_ptr<Resource>.

Constructor & Destructor Documentation

◆ ~Resource()

virtual ~Resource ( )
virtualdefault

Destroy the resource instance.

Member Function Documentation

◆ close()

virtual void close ( )
pure virtual

◆ uri()

virtual const Uri& uri ( ) const
pure virtual

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