#include <daeIDRef.h>
Public Member Functions | |
daeIDRefResolver (DAE &dae) | |
virtual daeString | getName ()=0 |
virtual daeElement * | resolveElement (const std::string &id, daeDocument *doc)=0 |
virtual | ~daeIDRefResolver () |
Protected Attributes | |
DAE * | dae |
The daeIDRefResolver
class is the plugin point for daeIDRef
resolution. This class is an abstract base class that defines an interface for resolving daeIDRefs
.
Definition at line 163 of file daeIDRef.h.
daeIDRefResolver::daeIDRefResolver | ( | DAE & | dae | ) |
Constructor
virtual daeIDRefResolver::~daeIDRefResolver | ( | ) | [virtual] |
Destructor
virtual daeString daeIDRefResolver::getName | ( | ) | [pure virtual] |
Gets the name of this resolver.
Implemented in daeDefaultIDRefResolver.
virtual daeElement* daeIDRefResolver::resolveElement | ( | const std::string & | id, | |
daeDocument * | doc | |||
) | [pure virtual] |
Provides an abstract interface to convert a daeIDRef
into a daeElement
.
id | The ID of the element to find. | |
doc | The document containing the element. |
Implemented in daeDefaultIDRefResolver.
DAE* daeIDRefResolver::dae [protected] |
Definition at line 192 of file daeIDRef.h.