daeStandardURIResolver.h 937 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright 2006 Sony Computer Entertainment Inc.
  3. *
  4. * Licensed under the MIT Open Source License, for details please see license.txt or the website
  5. * http://www.opensource.org/licenses/mit-license.php
  6. *
  7. */
  8. #ifndef __DAE_STANDARD_URI_RESOLVER__
  9. #define __DAE_STANDARD_URI_RESOLVER__
  10. #include <string>
  11. #include "dae/daeURI.h"
  12. class DAE;
  13. /**
  14. * The @c daeStandardURIResolver class derives from @c daeURIResolver and implements
  15. * the default XML backend resolver.
  16. */
  17. class daeStandardURIResolver : public daeURIResolver
  18. {
  19. public:
  20. /**
  21. * Constructor.
  22. * @param database The @c daeDatabase used.
  23. * @param plugin The @c daeIOPlugin used.
  24. */
  25. DLLSPEC daeStandardURIResolver(DAE& dae);
  26. /**
  27. * Destructor.
  28. */
  29. DLLSPEC ~daeStandardURIResolver();
  30. public: // Abstract Interface
  31. virtual DLLSPEC daeElement* resolveElement(const daeURI& uri);
  32. virtual DLLSPEC daeString getName();
  33. };
  34. #endif //__DAE_STANDARD_URI_RESOLVER__