1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/pathComponent.h"
2#ifndef _ufePathComponent
3#define _ufePathComponent
49 static std::vector<PathComponent>
toComponents(
const std::vector<std::string>& strings);
65 operator bool()
const;
81 std::int64_t
id()
const;
93template<>
struct hash<
Ufe::PathComponent> {
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
Member-wise copy is fine.
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.