Resource locator implementation using a provided function to locate file resources. More...
Public Types | |
using | ConstPtr = std::shared_ptr< const TestResourceLocator > |
using | ConstPtr = std::shared_ptr< const TestResourceLocator > |
using | Ptr = std::shared_ptr< TestResourceLocator > |
using | Ptr = std::shared_ptr< TestResourceLocator > |
![]() | |
using | ConstPtr = std::shared_ptr< const ResourceLocator > |
using | Ptr = std::shared_ptr< ResourceLocator > |
Public Member Functions | |
tesseract_common::Resource::Ptr | locateResource (const std::string &url) const override final |
Locate a resource based on a URL. More... | |
tesseract_common::Resource::Ptr | locateResource (const std::string &url) const override final |
Locate a resource based on a URL. More... | |
~TestResourceLocator () override=default | |
~TestResourceLocator () override=default | |
![]() | |
bool | operator!= (const ResourceLocator &rhs) const |
bool | operator== (const ResourceLocator &rhs) const |
virtual | ~ResourceLocator ()=default |
Resource locator implementation using a provided function to locate file resources.
Definition at line 30 of file resource_locator_unit.cpp.
using TestResourceLocator::ConstPtr = std::shared_ptr<const TestResourceLocator> |
Definition at line 33 of file tesseract_common_unit.cpp.
using TestResourceLocator::ConstPtr = std::shared_ptr<const TestResourceLocator> |
Definition at line 34 of file resource_locator_unit.cpp.
using TestResourceLocator::Ptr = std::shared_ptr<TestResourceLocator> |
Definition at line 32 of file tesseract_common_unit.cpp.
using TestResourceLocator::Ptr = std::shared_ptr<TestResourceLocator> |
Definition at line 33 of file resource_locator_unit.cpp.
|
overridedefault |
|
overridedefault |
|
inlinefinaloverridevirtual |
Locate a resource based on a URL.
url | The URL of the resource |
Implements tesseract_common::ResourceLocator.
Definition at line 37 of file tesseract_common_unit.cpp.
|
inlinefinaloverridevirtual |
Locate a resource based on a URL.
url | The URL of the resource |
Implements tesseract_common::ResourceLocator.
Definition at line 38 of file resource_locator_unit.cpp.