Mudbox/xref.h Source File

xref.h
Go to the documentation of this file.
1 //**************************************************************************/
2 // Copyright (c) 2009 Autodesk, Inc.
3 // All rights reserved.
4 //
5 // Use of this software is subject to the terms of the Autodesk license
6 // agreement provided at the time of installation or download, or which
7 // otherwise accompanies this software in either electronic or hard copy form.
8 //
9 //**************************************************************************/
10 // DESCRIPTION:
11 // CREATED: December 2009
12 //**************************************************************************/
13 namespace mudbox {
14 
18 class MBDLL_DECL XRef : public Node
19 {
21 public:
22 
26  void AddAbsoluteUrl(
27  QString sAbsoluteUrl
28  );
29 
35  QString ResolveUrl(
36  const QString& sRelativeUrl
37  ) const;
38 
42  QStringList ResolveUrls(
43  const QString& sRelativeUrl
44  ) const;
45 
65  QFileInfoList ResolveUrls(
66  const QString& sRelativeUrl,
67  const QString& sNameFilter,
68  QDir::Filters eTypeFilters = QDir::Files
69  ) const;
70 
71 protected:
72  virtual ~XRef();
73 
75 };
76 
77 }; // end of namespace mudbox
This is the base class for most classes in the Mudbox SDK.
Definition: node.h:740
QVector< QFileInfo > m_aAbsPaths
Definition: xref.h:74
Class: ConvolutionKernel.
Definition: array.h:15
#define DECLARE_CLASS
This macro should be used in declaration of classes which are inherited from the Node class (or any d...
Definition: node.h:91
XRef provides functionality to resolve relative paths to external files into absolute paths...
Definition: xref.h:18
#define MBDLL_DECL
Definition: dllinterface.h:35