Implements ILnkWtchCache; see ILnkWtchCache for documentation on the methods.
| virtual LnkWtchCache::~LnkWtchCache | ( | | ) | |
| inlinevirtual |
| void LnkWtchCache::clear | ( | | ) | |
| virtual |
| void LnkWtchCache::Delete | ( | const int32 | pos | ) | |
| virtual |
Delete the cache entry at the given index.
- Parameters
| pos | index of entry to be cleared. |
Implements ILnkWtchCache.
| void LnkWtchCache::Dump | ( | | ) | const |
| virtual |
Dump and dump entry are debug only. Dump to traceflow
Implements ILnkWtchCache.
| const Entries& LnkWtchCache::Get | ( | | ) | const |
| inlinevirtual |
Returns all entries in the cache.
- Returns
- all entries in the cache.
Implements ILnkWtchCache.
| const PMString LnkWtchCache::GetName | ( | const Entry & | entry, | | | bool16 | fullName | | ) | | const |
| virtual |
Returns the name of the link associated with the given cache entry.
- Parameters
| entry | the cache entry hose name is required |
| fullName | kTrue to include the path, kFalse for the file name only. |
- Returns
- the name of the link associated with the given cache entry
Implements ILnkWtchCache.
| int32 LnkWtchCache::Location | ( | const Entry & | entry | ) | |
| virtual |
Return index in cache of the given entry if found, -1 otherwise.
- Parameters
- Returns
- index in cache of the given entry if found, -1 otherwise.
Implements ILnkWtchCache.
| void LnkWtchCache::MarkRemoved | ( | const int32 | pos, | | | bool16 | removed | | ) | | |
| virtual |
Set the removed flag for the cache entry at the index given.
- Parameters
| pos | index in the cache whose removed flag is to be changed. |
| removed | kTrue to set flag , kFalse to clear |
Implements ILnkWtchCache.
| void LnkWtchCache::NotifyCacheChanged | ( | | ) | |
| virtual |
Broadcast notification that the cache has changed.
Implements ILnkWtchCache.
| void LnkWtchCache::push_back | ( | const Entry & | entry | ) | |
| virtual |
Push an entry to into the cache.
- Parameters
Implements ILnkWtchCache.
Allows the internal state of the implementation to be marshalled in and out of the snapshot.
- Parameters
| s | IN the stream the snapshot is being written to |
| implID | IN implementation ID |