A class that stores resource references that need to be patched for a templated data type.
More...
#include <omResourceReferencePatcher.h>
A class that stores resource references that need to be patched for a templated data type.
om::resources::ResourceReferencePatcher::ResourceReferencePatcher |
( |
| ) |
|
|
inline |
Create a new default empty resource reference patcher.
template<typename DataType >
Patch all of the missing references for the given transcoder using the loaded resource set.
void om::resources::ResourceReferencePatcher::startObject |
( |
| ) |
|
|
inline |
Start collecting reference for a new object.
void om::resources::ResourceReferencePatcher::endObject |
( |
void * |
resource | ) |
|
|
inline |
Stop collecting reference for an object.
Size om::resources::ResourceReferencePatcher::getReferenceCount |
( |
| ) |
const |
|
inline |
Return the total number of references in this reference patcher for all objects.
Return a reference to the reference in this reference patcher for the specified reference index.
Return a reference to the reference in this reference patcher for the specified reference index.
void om::resources::ResourceReferencePatcher::addReference |
( |
const ResourceReference & |
newReference | ) |
|
|
inline |
Add a new reference for the current object that is being parsed.
The documentation for this class was generated from the following file: