CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher Class Reference
Computes a hash for all referenced documents documents (ie external files pulled in via "file" attributes or ?Include? PIs) of a shader document. More...
#include <csplugincommon/shader/shadercachehelper.h>
Public Member Functions | |
csPtr< iDataBuffer > | GetHashStream () |
Get the hash data for the given node and all included documents. | |
ShaderDocHasher (iObjectRegistry *objReg, iDocumentNode *doc) | |
Set up a hasher for the given node. | |
bool | ValidateHashStream (iDataBuffer *stream) |
Check if the given hash data identifies the given node. |
Detailed Description
Computes a hash for all referenced documents documents (ie external files pulled in via "file" attributes or ?Include? PIs) of a shader document.
Definition at line 54 of file shadercachehelper.h.
Constructor & Destructor Documentation
CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher::ShaderDocHasher | ( | iObjectRegistry * | objReg, | |
iDocumentNode * | doc | |||
) |
Set up a hasher for the given node.
- Remarks:
- A hash for doc itself is not recorded!
Member Function Documentation
csPtr<iDataBuffer> CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher::GetHashStream | ( | ) |
Get the hash data for the given node and all included documents.
bool CS::PluginCommon::ShaderCacheHelper::ShaderDocHasher::ValidateHashStream | ( | iDataBuffer * | stream | ) |
Check if the given hash data identifies the given node.
The documentation for this class was generated from the following file:
- csplugincommon/shader/shadercachehelper.h
Generated for Crystal Space 2.0 by doxygen 1.6.1