- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- File List
- File Members

# xref.h

Go to the documentation of this file.

    00001 //**************************************************************************/
    00002 // Copyright (c) 2009 Autodesk, Inc.
    00003 // All rights reserved.
    00004 //
    00005 // Use of this software is subject to the terms of the Autodesk license
    00006 // agreement provided at the time of installation or download, or which
    00007 // otherwise accompanies this software in either electronic or hard copy form.
    00008 //
    00009 //**************************************************************************/
    00010 // DESCRIPTION:
    00011 // CREATED: December 2009
    00012 //**************************************************************************/
    00013 namespace mudbox {
    00014
    00018 class MBDLL_DECL XRef : public Node
    00019 {
    00020     DECLARE_CLASS;
    00021 public:
    00022
    00026     void AddAbsoluteUrl(
    00027         QString sAbsoluteUrl
    00028         );
    00029
    00035     QString ResolveUrl(
    00036         const QString& sRelativeUrl
    00037         ) const;
    00038
    00042     QStringList ResolveUrls(
    00043         const QString& sRelativeUrl
    00044         ) const;
    00045
    00065     QFileInfoList ResolveUrls(
    00066         const QString& sRelativeUrl,
    00067         const QString& sNameFilter,
    00068         QDir::Filters eTypeFilters = QDir::Files
    00069         ) const;
    00070
    00071 protected:
    00072     virtual ~XRef();
    00073
    00074     QVector< QFileInfo > m_aAbsPaths;
    00075 };
    00076
    00077 }; // end of namespace mudbox