A class that encodes and decodes string connections to/from the resource set format.
More...
|
| virtual Bool | encode (const ResourceID &resourceID, const StringConnection &connection, const ResourceSet &resources, ResourceEncoder &encoder, ResourceManager *resourceManager=((void *) 0)) |
| | Encode an object of this resource type into a binary format. More...
|
| |
| virtual StringConnection * | decode (ResourceID &resourceID, ResourceDecoder &decoder, ResourceReferencePatcher &references, ResourceManager *resourceManager=((void *) 0)) |
| | Decode an object of the resource type, constructing and returning a pointer to the final object. More...
|
| |
| virtual void | patchReferences (const ResourceReference *references, Size numReferences, const ResourceSet &resources, StringConnection &connection) |
| | Patch the specified array of references for a previously-decoded object from the given set of resources. More...
|
| |
| virtual void | replaceInstances (StringConnection &connection, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder, ResourceSet &resources) const |
| | Replace child object instances on a new prototype resource. More...
|
| |
| virtual Bool | findInstances (const StringConnection &connection, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder) const |
| | Return whether or not any child objects were instanced by a prototype. More...
|
| |
| virtual | ~ResourceSetTypeTranscoder () |
| | Destroy the resource type transcoder, releasing internal resources. More...
|
| |
| const ResourceType & | getResourceType () const |
| | Return the resource type for the data type that this resource type handles. More...
|
| |
| virtual Bool | encode (const ResourceID &resourceID, const StringConnection &data, const ResourceSet &resources, ResourceEncoder &encoder, ResourceManager *resourceManager=((void *) 0))=0 |
| | Encode an object of this resource type into a binary format. More...
|
| |
| virtual StringConnection * | decode (ResourceID &resourceID, ResourceDecoder &decoder, ResourceReferencePatcher &references, ResourceManager *resourceManager=((void *) 0))=0 |
| | Decode an object of the resource type, constructing and returning a pointer to the final object. More...
|
| |
| virtual void | patchReferences (const ResourceReference *references, Size numReferences, const ResourceSet &resources, StringConnection &data) |
| | Patch the specified array of references for a previously-decoded object from the given set of resources. More...
|
| |
| virtual void | finalize (StringConnection &data) |
| | Finish loading an object and perform final initialization after all references have been patched. More...
|
| |
| virtual StringConnection * | instance (const StringConnection &data, const ResourceSetTranscoder &transcoder, ResourceSet &resources) const |
| | Duplicate an object from a prototype and return a pointer to the new object. More...
|
| |
| virtual void | replaceInstances (StringConnection &data, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder, ResourceSet &resources) const |
| | Replace child object instances on a new prototype component. More...
|
| |
| virtual Bool | findInstances (const StringConnection &data, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder) const |
| | Return whether or not any child objects were instanced by a prototype. More...
|
| |
|
| static InstanceType * | replaceInstance (InstanceType *data, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder, ResourceSet &resources) |
| |
| static OpaqueResource | replaceInstance (const OpaqueResource &data, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder, ResourceSet &resources) |
| |
| static void * | replaceInstance (void *data, const ResourceType &dataType, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder, ResourceSet &resources) |
| |
| static Bool | findInstance (InstanceType *data, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder) |
| |
| static Bool | findInstance (const OpaqueResource &data, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder) |
| |
| static Bool | findInstance (void *data, const ResourceType &dataType, const Prototype &prototype, const Prototype &instance, const ResourceSetTranscoder &transcoder) |
| |
A class that encodes and decodes string connections to/from the resource set format.