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
pathString.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/pathString.h"
2#ifndef _ufePathString
3#define _ufePathString
4// ===========================================================================
5// Copyright 2021 Autodesk, Inc. All rights reserved.
6//
7// Use of this software is subject to the terms of the Autodesk license
8// agreement provided at the time of installation or download, or which
9// otherwise accompanies this software in either electronic or hard copy form.
10// ===========================================================================
11
12#include "path.h" // For Path::Segment
13
14#include <string>
15#include <functional>
16#include <list>
17
19
57namespace PathString {
58
59typedef std::function<Path(const Path::Segments&)> CreatePathFn;
60typedef std::function<Path(const std::string&)> CreateSingleSegmentPathFn;
61typedef std::function<std::string(const Path&)> StringFn;
62
68UFE_SDK_DECL Path path(const std::string& pathString);
69
73
76
80
83
87
93 const Rtid& rtId);
94
100 const Rtid& rtId,
101 const CreateSingleSegmentPathFn& fn);
102
105
109
116
122
125UFE_SDK_DECL std::list<Ufe::Rtid> pathComponentSeparatorRunTimeIds(char sep);
126
127}
128
129}
130
131#endif /* _ufePathString */
Identify an object or 3D path in the scene.
Definition: path.h:38
std::vector< PathSegment > Segments
Definition: path.h:41
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:59
void setCreateSingleSegmentPathFn(const Rtid &rtId, const CreateSingleSegmentPathFn &fn)
StringFn stringFn()
std::function< std::string(const Path &)> StringFn
Definition: pathString.h:61
std::function< Path(const std::string &)> CreateSingleSegmentPathFn
Definition: pathString.h:60
uint32_t Rtid
Definition: rtid.h:26
#define UFE_NS_DEF
Definition: ufe.h:35
#define UFE_SDK_DECL
Definition: ufeExport.h:36