Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::IResourceIdentifierResolver Class Referenceabstract

#include <IResourceIdentifierResolver.h>

Inheritance diagram for ph::IResourceIdentifierResolver:
ph::SdlResourceLocator

Public Member Functions

 IResourceIdentifierResolver ()=default
 
 IResourceIdentifierResolver (const IResourceIdentifierResolver &other)=default
 
 IResourceIdentifierResolver (IResourceIdentifierResolver &&other) noexcept=default
 
virtual ~IResourceIdentifierResolver ()=default
 
virtual bool resolve (ResourceIdentifier &identifier)=0
 Resolve the identifier;.
 
IResourceIdentifierResolveroperator= (const IResourceIdentifierResolver &rhs)=default
 
IResourceIdentifierResolveroperator= (IResourceIdentifierResolver &&rhs) noexcept=default
 

Static Protected Member Functions

static void setResolved (ResourceIdentifier &identifier, Path resolved)
 
static void setResolved (ResourceIdentifier &identifier, std::string resolved)
 
static void clearResolved (ResourceIdentifier &identifier)
 

Constructor & Destructor Documentation

◆ IResourceIdentifierResolver() [1/3]

ph::IResourceIdentifierResolver::IResourceIdentifierResolver ( )
default

◆ IResourceIdentifierResolver() [2/3]

ph::IResourceIdentifierResolver::IResourceIdentifierResolver ( const IResourceIdentifierResolver & other)
default

◆ IResourceIdentifierResolver() [3/3]

ph::IResourceIdentifierResolver::IResourceIdentifierResolver ( IResourceIdentifierResolver && other)
defaultnoexcept

◆ ~IResourceIdentifierResolver()

virtual ph::IResourceIdentifierResolver::~IResourceIdentifierResolver ( )
virtualdefault

Member Function Documentation

◆ clearResolved()

void ph::IResourceIdentifierResolver::clearResolved ( ResourceIdentifier & identifier)
staticprotected

◆ operator=() [1/2]

IResourceIdentifierResolver & ph::IResourceIdentifierResolver::operator= ( const IResourceIdentifierResolver & rhs)
default

◆ operator=() [2/2]

IResourceIdentifierResolver & ph::IResourceIdentifierResolver::operator= ( IResourceIdentifierResolver && rhs)
defaultnoexcept

◆ resolve()

virtual bool ph::IResourceIdentifierResolver::resolve ( ResourceIdentifier & identifier)
pure virtual

Resolve the identifier;.

Returns
Whether the resolve was successful.

Implemented in ph::SdlResourceLocator.

◆ setResolved() [1/2]

void ph::IResourceIdentifierResolver::setResolved ( ResourceIdentifier & identifier,
Path resolved )
staticprotected

◆ setResolved() [2/2]

void ph::IResourceIdentifierResolver::setResolved ( ResourceIdentifier & identifier,
std::string resolved )
staticprotected

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