1#line 1 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/pathComponent.h"
2#ifndef UFE_PATHCOMPONENT_H
3#define UFE_PATHCOMPONENT_H
51 static std::vector<PathComponent>
toComponents(
const std::vector<std::string>& strings);
67 operator bool()
const;
83 std::int64_t
id()
const;
95template<>
struct hash<
Ufe::PathComponent> {
101 return static_cast<std::size_t
>(c.
id());
Constant string representation with fixed space and O(1) comparison.
PathComponent()
Constructor to create a null PathComponent.
static std::size_t tableSize()
static std::vector< PathComponent > toComponents(const std::vector< std::string > &strings)
const std::string & string() const
Access the underlying shared string, and its ID. A null PathComponent has an empty string and an ID o...
bool operator!=(const PathComponent &rhs) const
Not equal operator overload.
PathComponent(const std::string &aString)
bool operator==(const PathComponent &rhs) const
Equal operator overload.
std::int64_t id() const
Access the underlying shared string, and its ID. A null PathComponent has an empty string and an ID o...
static bool exists(const std::string &aString)
PathComponent & operator=(const PathComponent &)
~PathComponent()
Destructor.
PathComponent(const PathComponent &)=default
std::shared_ptr< Data > fData
std::string string(const Path &path)
std::size_t operator()(const Ufe::PathComponent &c) const
Definition of macros for symbol visibility.