#include <MemoryX/core/entity/AbstractEntityWrapper.h>
|
| std::string | cacheAttributeFile (const std::string &attrName, bool preserveOriginalFName=false) const |
| |
| void | cleanUpAttributeFiles (EntityAttributeBasePtr oldAttr, EntityAttributeBasePtr newAttr) |
| | cleanUpAttributeFiles compares the files attached to the two given attributes and removes the files of the oldAttr, if they dont match.
|
| |
| void | removeAttributeFiles (const memoryx::EntityAttributeBasePtr &attr) |
| | removes all files of an attribute from the gridfs
|
| |
◆ AbstractFileEntityWrapper()
◆ cacheAttributeFile()
| std::string cacheAttributeFile |
( |
const std::string & | attrName, |
|
|
bool | preserveOriginalFName = false ) const |
|
protected |
◆ cleanUpAttributeFiles()
| void cleanUpAttributeFiles |
( |
EntityAttributeBasePtr | oldAttr, |
|
|
EntityAttributeBasePtr | newAttr ) |
|
protected |
cleanUpAttributeFiles compares the files attached to the two given attributes and removes the files of the oldAttr, if they dont match.
Thus, this function should only be called with attributes of the same kind (e.g. Attribute for texture files). If multiple files are attached to that attribute, they must appear in the same order.
- Parameters
-
◆ removeAttributeFiles()
| void removeAttributeFiles |
( |
const memoryx::EntityAttributeBasePtr & | attr | ) |
|
|
protected |
removes all files of an attribute from the gridfs
- Parameters
-
◆ fileManager
The documentation for this class was generated from the following files: