ufe 7.0
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
pathString.h
Go to the documentation of this file.
1#line 1 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/pathString.h"
2#ifndef UFE_PATHSTRING_H
3#define UFE_PATHSTRING_H
4
5// ===========================================================================
6// Copyright 2025 Autodesk, Inc. All rights reserved.
7//
8// The use of this software is subject to the Autodesk Terms of Use or other
9// license agreement provided at the time of installation or download, or
10// which otherwise accompanies this software.
11// ===========================================================================
12
13#include "path.h" // For Path::Segment
14
15#include <string>
16#include <functional>
17#include <list>
18
20
58namespace PathString {
59
60typedef std::function<Path(const Path::Segments&)> CreatePathFn;
61typedef std::function<Path(const std::string&)> CreateSingleSegmentPathFn;
62typedef std::function<std::string(const Path&)> StringFn;
63
69UFE_SDK_DECL Path path(const std::string& pathString);
70
74
77
81
84
88
94 const Rtid& rtId);
95
101 const Rtid& rtId,
102 const CreateSingleSegmentPathFn& fn);
103
106
110
117
123
126UFE_SDK_DECL std::list<Ufe::Rtid> pathComponentSeparatorRunTimeIds(char sep);
127
128}
129
130}
131
132#endif /* UFE_PATHSTRING_H */
Identify an object or 3D path in the scene.
Definition: path.h:40
std::vector< PathSegment > Segments
Definition: path.h:43
std::string string(const Path &path)
CreateSingleSegmentPathFn createSingleSegmentPathFn(const Rtid &rtId)
std::string pathSegmentSeparator()
CreatePathFn createPathFn()
void unregisterPathComponentSeparator(const Rtid &rtId, char sep)
std::list< Ufe::Rtid > pathComponentSeparatorRunTimeIds(char sep)
void setCreatePathFn(const CreatePathFn &fn)
void registerPathComponentSeparator(const Rtid &rtId, char sep)
Path path(const std::string &pathString)
void setPathSegmentSeparator(const std::string &separator)
void setStringFn(const StringFn &fn)
std::function< Path(const Path::Segments &)> CreatePathFn
Definition: pathString.h:60
void setCreateSingleSegmentPathFn(const Rtid &rtId, const CreateSingleSegmentPathFn &fn)
StringFn stringFn()
std::function< std::string(const Path &)> StringFn
Definition: pathString.h:62
std::function< Path(const std::string &)> CreateSingleSegmentPathFn
Definition: pathString.h:61
uint32_t Rtid
Definition: rtid.h:27
#define UFE_NS_DEF
Definition: ufe.h:36
#define UFE_SDK_DECL
Definition: ufeExport.h:35