ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::CachedSourceListingProvider Class Reference

#include <cached_source_listing_provider.h>

Inheritance diagram for Wintermute::CachedSourceListingProvider:
Collaboration diagram for Wintermute::CachedSourceListingProvider:

List of all members.

Public Member Functions

 CachedSourceListingProvider ()
 ~CachedSourceListingProvider () override
ErrorCode setPath (const Common::String &path) override
Common::String getPath () const override
ListinggetListing (const Common::String &filename, ErrorCode &err) override
 Get a listing.

Private Member Functions

void invalidateCache ()

Private Attributes

< Common::String,
SourceListing * > 

Detailed Description

Definition at line 37 of file cached_source_listing_provider.h.

Constructor & Destructor Documentation

Wintermute::CachedSourceListingProvider::CachedSourceListingProvider (  ) 

Definition at line 26 of file cached_source_listing_provider.cpp.

Wintermute::CachedSourceListingProvider::~CachedSourceListingProvider (  )  [override]

Definition at line 31 of file cached_source_listing_provider.cpp.

Member Function Documentation

Listing * Wintermute::CachedSourceListingProvider::getListing ( const Common::String filename,
ErrorCode err 
) [override, virtual]

Get a listing.

When implementing this, the result should be safe to delete for the caller.

Implements Wintermute::SourceListingProvider.

Definition at line 40 of file cached_source_listing_provider.cpp.

Common::String Wintermute::CachedSourceListingProvider::getPath (  )  const [override, virtual]
void Wintermute::CachedSourceListingProvider::invalidateCache (  )  [private]

Definition at line 59 of file cached_source_listing_provider.cpp.

ErrorCode Wintermute::CachedSourceListingProvider::setPath ( const Common::String path  )  [override, virtual]

Member Data Documentation

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

Generated on Sat Sep 26 2020 05:04:15 for ResidualVM by doxygen 1.7.1
curved edge   curved edge