daeURIResolver Class Reference
#include <daeURI.h>
Inheritance diagram for daeURIResolver:
Detailed Description
ThedaeURIResolver
class is the plugin point for URI resolution.
This class is an abstract base class that defines an interface for resolving URIs. All instances of daeURIResolvers
are tracked centrally. Every URI is passed through this list of daeURIResolvers
for resolution. Before a daeURIResolver
receives a URI, the API checks whether it supports the protocol. The list is ordered on a first come, first serve basis, and resolution terminates after any resolver instance resolves the URI.
Public Member Functions | |
daeURIResolver () | |
This base constructor appends this to KnownResolvers list. | |
virtual | ~daeURIResolver () |
Destructor. | |
virtual daeBool | resolveElement (daeURI &uri)=0 |
Provides an abstract interface for converting a daeURI into a daeElement . | |
virtual daeBool | resolveURI (daeURI &uri)=0 |
Provides an abstract interface for converting a daeElement into a daeURI . | |
virtual daeString | getName ()=0 |
Gets the name of this resolver. | |
virtual daeBool | isProtocolSupported (daeString protocol)=0 |
Determines whether this resolver supports a particular protocol for resolution. | |
virtual daeBool | isExtensionSupported (daeString extension)=0 |
Determines whether this resolver supports the given extension. | |
Static Public Member Functions | |
static void | attemptResolveElement (daeURI &uri) |
Iterates through known resolvers calling isProtocolSupported() and, if it is supported, calling resolveElement() . | |
static void | attemptResolveURI (daeURI &uri) |
Iterates through known resolvers calling isProtocolSupported() and, if it is supported, calling resolveURI() . | |
Static Protected Attributes | |
static daeURIResolverPtrArray | _KnownResolvers |
Member Function Documentation
|
Iterates through known resolvers calling
|
|
Iterates through known resolvers calling
|
|
Gets the name of this resolver.
Implemented in daebXCeResolver, and daeLIBXMLResolver. |
|
Determines whether this resolver supports the given extension. This keeps parsers from trying to process incompatible file formats.
Implemented in daebXCeResolver, and daeLIBXMLResolver. |
|
Determines whether this resolver supports a particular protocol for resolution.
Implemented in daebXCeResolver, and daeLIBXMLResolver. |
|
Provides an abstract interface for converting a
Implemented in daebXCeResolver, and daeLIBXMLResolver. |
|
Provides an abstract interface for converting a
Implemented in daebXCeResolver, and daeLIBXMLResolver. |
The documentation for this class was generated from the following files:
- C:/SVN_wf/COLLADA_DOM/include/dae/daeURI.h
- C:/SVN_wf/COLLADA_DOM/src/dae/daeURI.cpp
©2005 Sony Computer Entertainment Inc.. All Rights Reserved.
Generated on Fri Feb 10 16:47:04 2006 for COLLADA 1.4 DOM by 1.4.3