|
pwfengine
|
A private class that offers the cache system for a given wrapper. More...
#include <PWrapperCache.h>
Public Member Functions | |
| PWrapperCache (PWrapper *wrapper, PWrapperCache *upperCache=0) | |
| QString | schemaName () |
| QString | elementValue (PSchemaElement elementSchema) |
| void | setElementValue (PSchemaElement elementSchema, QString value) |
A private class that offers the cache system for a given wrapper.
Each element is cached by storing its parsed value together with the hashed string representation of its schema, this last used to retrieve the value later.
| QString PWrapperCache::elementValue | ( | PSchemaElement | elementSchema | ) |
The element schema string representation is hashed and compared to the ones saved in the cache.
| QString PWrapperCache::schemaName | ( | ) |
| void PWrapperCache::setElementValue | ( | PSchemaElement | elementSchema, |
| QString | value | ||
| ) |
The element is cached by storing its value together with the hashed string representation of its schema
1.7.4