#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. More...
|
|
void | removeAttributeFiles (const memoryx::EntityAttributeBasePtr &attr) |
| removes all files of an attribute from the gridfs More...
|
|
Definition at line 82 of file AbstractEntityWrapper.h.
◆ 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
-
Definition at line 64 of file AbstractEntityWrapper.cpp.
◆ removeAttributeFiles()
void removeAttributeFiles |
( |
const memoryx::EntityAttributeBasePtr & |
attr | ) |
|
|
protected |
◆ fileManager
The documentation for this class was generated from the following files: