HDK
|
#include <pathNode.h>
Public Types | |
typedef TfToken | ComparisonType |
Public Types inherited from Sdf_PathNode | |
enum | NodeType : uint8_t { RootNode, PrimNode, PrimVariantSelectionNode, PrimPropertyNode, TargetNode, MapperNode, RelationalAttributeNode, MapperArgNode, ExpressionNode, NumNodeTypes } |
typedef std::pair< TfToken, TfToken > | VariantSelectionType |
Static Public Attributes | |
static const NodeType | nodeType = Sdf_PathNode::RelationalAttributeNode |
Static Public Attributes inherited from Sdf_PathNode | |
static constexpr uint8_t | IsAbsoluteFlag = 1 << 0 |
static constexpr uint8_t | ContainsPrimVarSelFlag = 1 << 1 |
static constexpr uint8_t | ContainsTargetPathFlag = 1 << 2 |
static constexpr uint32_t | HasTokenBit = 1u << 31 |
static constexpr uint32_t | RefCountMask = ~HasTokenBit |
Friends | |
class | Sdf_PathNode |
struct | Sdf_PathNodePrivateAccess |
template<int nodeType, class Comp > | |
struct | Sdf_PathNodeCompare |
Additional Inherited Members | |
Public Member Functions inherited from Sdf_PropPartPathNode | |
SDF_API void | operator delete (void *p) |
Public Member Functions inherited from Sdf_PathNode | |
NodeType | GetNodeType () const |
Sdf_PathNode const * | GetParentNode () const |
size_t | GetElementCount () const |
bool | IsAbsolutePath () const |
bool | IsAbsoluteRoot () const |
bool | ContainsTargetPath () const |
bool | IsNamespaced () const |
bool | ContainsPrimVariantSelection () const |
const TfToken & | GetName () const |
const SdfPath & | GetTargetPath () const |
const VariantSelectionType & | GetVariantSelection () const |
TfToken | GetElement () const |
template<class Less > | |
bool | Compare (const Sdf_PathNode &rhs) const |
uint32_t | GetCurrentRefCount () const |
Static Public Member Functions inherited from Sdf_PathNode | |
static Sdf_PathPrimNodeHandle | FindOrCreatePrim (Sdf_PathNode const *parent, const TfToken &name, TfFunctionRef< bool()> isValid) |
static Sdf_PathPropNodeHandle | FindOrCreatePrimProperty (Sdf_PathNode const *parent, const TfToken &name, TfFunctionRef< bool()> isValid) |
static Sdf_PathPrimNodeHandle | FindOrCreatePrimVariantSelection (Sdf_PathNode const *parent, const TfToken &variantSet, const TfToken &variant, TfFunctionRef< bool()> isValid) |
static Sdf_PathPropNodeHandle | FindOrCreateTarget (Sdf_PathNode const *parent, SdfPath const &targetPath, TfFunctionRef< bool()> isValid) |
static Sdf_PathPropNodeHandle | FindOrCreateRelationalAttribute (Sdf_PathNode const *parent, const TfToken &name, TfFunctionRef< bool()> isValid) |
static Sdf_PathPropNodeHandle | FindOrCreateMapper (Sdf_PathNode const *parent, SdfPath const &targetPath, TfFunctionRef< bool()> isValid) |
static Sdf_PathPropNodeHandle | FindOrCreateMapperArg (Sdf_PathNode const *parent, const TfToken &name, TfFunctionRef< bool()> isValid) |
static Sdf_PathPropNodeHandle | FindOrCreateExpression (Sdf_PathNode const *parent, TfFunctionRef< bool()> isValid) |
static Sdf_PathNode const * | GetAbsoluteRootNode () |
static Sdf_PathNode const * | GetRelativeRootNode () |
static std::pair< Sdf_PathNode const *, Sdf_PathNode const * > | RemoveCommonSuffix (Sdf_PathNode const *a, Sdf_PathNode const *b, bool stopAtRootPrim) |
static SDF_API const TfToken & | GetPathToken (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart) |
static SDF_API TfToken | GetPathAsToken (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart) |
static char const * | GetDebugText (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart) |
Protected Member Functions inherited from Sdf_PathNode | |
Sdf_PathNode (Sdf_PathNode const *parent, NodeType nodeType) | |
Sdf_PathNode (bool isAbsolute) | |
~Sdf_PathNode () | |
void | _Destroy () const |
TfToken | _GetElementImpl () const |
template<class Buffer > | |
void | _WriteText (Buffer &out) const |
SDF_API void | _RemovePathTokenFromTable () const |
Static Protected Member Functions inherited from Sdf_PathNode | |
static TfToken | _CreatePathToken (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart) |
template<class Buffer > | |
static void | _WriteTextToBuffer (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart, Buffer &out) |
template<class Buffer > | |
static void | _WriteTextToBuffer (SdfPath const &path, Buffer &out) |
Definition at line 477 of file pathNode.h.
Definition at line 479 of file pathNode.h.
|
friend |
Definition at line 492 of file pathNode.h.
|
friend |
Definition at line 494 of file pathNode.h.
|
friend |
Definition at line 493 of file pathNode.h.
|
static |
Definition at line 480 of file pathNode.h.