FnUsdAbstractionLib 0.6.0
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
usg::PathExpr Class Reference

A wrapper for SdfPathExpression. More...

#include <PathExpr.h>

Classes

class  Lazy
 Lazily construct a PathExpr when requested. Primarily used for the static PathExpr. More...
 

Public Member Functions

 PathExpr ()
 Abstraction handle for casting to underlying implementation type.
 
 PathExpr (const std::string &expression)
 
 PathExpr (const PathExpr::Handle &handle)
 
 PathExpr (PathExpr &&rhs) noexcept
 
PathExproperator= (PathExpr &&rhs) noexcept
 
 PathExpr (const PathExpr &rhs)
 
PathExproperator= (const PathExpr &rhs)
 
bool operator== (const PathExpr &rhs) const
 Equality.
 
bool operator!= (const PathExpr &rhs) const
 
std::string asString () const
 
PathExpr::Handle & getPathExpr (int usd_version)
 Get the underlying SdfPathExpression.
 
const PathExpr::Handle & getPathExpr (int usd_version) const
 
int handleIndex () const
 Returns the index of the underlying handle. For internal use only!
 
 PathExpr (int handleIndex)
 Assign from a pre-known handle index. For internal use only!
 

Detailed Description

A wrapper for SdfPathExpression.

Member Function Documentation

◆ asString()

std::string usg::PathExpr::asString ( ) const

Returns the text representation of the expression. Cannot return a reference since this is created on request and not returned by reference by the SdfPathExpression GetText.



©2025 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk