ufe  4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
pathMappingHandler.h
Go to the documentation of this file.
1 #line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.10-windows/ufe/include/pathMappingHandler.h"
2 #ifndef _pathMappingHandler
3 #define _pathMappingHandler
4 
5 // ===========================================================================
6 // Copyright 2021 Autodesk, Inc. All rights reserved.
7 //
8 // Use of this software is subject to the terms of the Autodesk license
9 // agreement provided at the time of installation or download, or which
10 // otherwise accompanies this software in either electronic or hard copy form.
11 // ===========================================================================
12 
13 #include "common/ufeExport.h"
14 
15 #include "sceneItem.h"
16 
17 UFE_NS_DEF {
18 
27 {
28 public:
29  typedef std::shared_ptr<PathMappingHandler> Ptr;
30 
32  static Ptr pathMappingHandler(Rtid);
36  static Ptr pathMappingHandler(const SceneItem::Ptr&);
38 
40  PathMappingHandler() = default;
42  PathMappingHandler(const PathMappingHandler&) = default;
44  virtual ~PathMappingHandler() = default;
45 
47  virtual Path toHost(const Path&) const = 0;
48 
50  virtual Path fromHost(const Path&) const = 0;
51 };
52 
53 }
54 
55 #endif // _pathMappingHandler
Definition of macros for symbol visibility.
Identify an object or 3D path in the scene.
Definition: path.h:37
uint32_t Rtid
Definition: rtid.h:26
#define UFE_NS_DEF
Definition: ufe.h:35
std::shared_ptr< PathMappingHandler > Ptr
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:40
#define UFE_SDK_DECL
Definition: ufeExport.h:36