daeStandardURIResolver.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /*
  2. * Copyright 2006 Sony Computer Entertainment Inc.
  3. *
  4. * Licensed under the SCEA Shared Source License, Version 1.0 (the "License"); you may not use this
  5. * file except in compliance with the License. You may obtain a copy of the License at:
  6. * http://research.scea.com/scea_shared_source_license.html
  7. *
  8. * Unless required by applicable law or agreed to in writing, software distributed under the License
  9. * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
  10. * implied. See the License for the specific language governing permissions and limitations under the
  11. * License.
  12. */
  13. #ifndef __DAE_STANDARD_URI_RESOLVER__
  14. #define __DAE_STANDARD_URI_RESOLVER__
  15. #include <string>
  16. #include "dae/daeURI.h"
  17. class DAE;
  18. /**
  19. * The @c daeStandardURIResolver class derives from @c daeURIResolver and implements
  20. * the default XML backend resolver.
  21. */
  22. class daeStandardURIResolver : public daeURIResolver
  23. {
  24. public:
  25. /**
  26. * Constructor.
  27. * @param database The @c daeDatabase used.
  28. * @param plugin The @c daeIOPlugin used.
  29. */
  30. DLLSPEC daeStandardURIResolver(DAE& dae);
  31. /**
  32. * Destructor.
  33. */
  34. DLLSPEC ~daeStandardURIResolver();
  35. public: // Abstract Interface
  36. virtual DLLSPEC daeElement* resolveElement(const daeURI& uri);
  37. virtual DLLSPEC daeString getName();
  38. };
  39. #endif //__DAE_STANDARD_URI_RESOLVER__