ufe 5.5
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.11-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
18
27{
28public:
29 typedef std::shared_ptr<PathMappingHandler> Ptr;
30
32
38
40 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
Identify an object or 3D path in the scene.
Definition: path.h:38
PathMappingHandler(const PathMappingHandler &)=default
Default copy constructor.
static Ptr pathMappingHandler(Rtid)
virtual ~PathMappingHandler()=default
Destructor.
virtual Path fromHost(const Path &) const =0
Maps a host alias of the path into its runtime equivalent.
PathMappingHandler()=default
Constructor.
std::shared_ptr< PathMappingHandler > Ptr
static Ptr pathMappingHandler(const SceneItem::Ptr &)
virtual Path toHost(const Path &) const =0
Maps a runtime path into its host alias equivalent.
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:44
uint32_t Rtid
Definition: rtid.h:26
#define UFE_NS_DEF
Definition: ufe.h:35
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:36