|
WSF
|
Provides sources to the WsfParser from the TextSourceCache instead of the files directly. More...
#include <TextSourceCache.hpp>


Public Member Functions | |
| CacheSourceProvider (TextSourceCache *aCachePtr) | |
| UtTextDocument * | FindSource (const UtPath &aPath, bool aReadAccess) override |
| UtTextDocument * | CreateSource (const UtPath &aPath) override |
| Public Member Functions inherited from WsfParseSourceProvider | |
| virtual | ~WsfParseSourceProvider () |
Public Attributes | |
| bool | mAllowNewSources |
| TextSourceCache * | mCachePtr |
Provides sources to the WsfParser from the TextSourceCache instead of the files directly.
|
inlineexplicit |
References mAllowNewSources, and mCachePtr.
|
overridevirtual |
Reimplemented from WsfParseSourceProvider.
References mCachePtr.
|
overridevirtual |
Derived classes should override this method to return a source if it exists at aPath
Implements WsfParseSourceProvider.
References wizard::TextSource::GetSource(), wizard::TextSource::IsDeleted(), mAllowNewSources, mCachePtr, and wizard::TextSource::ReadSource().
| bool wizard::CacheSourceProvider::mAllowNewSources |
Referenced by CacheSourceProvider(), and FindSource().
| TextSourceCache* wizard::CacheSourceProvider::mCachePtr |
Referenced by CacheSourceProvider(), CreateSource(), and FindSource().