HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Sdf_TargetPathNode Class Reference

#include <pathNode.h>

+ Inheritance diagram for Sdf_TargetPathNode:

Public Types

typedef SdfPath 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
 

Public Member Functions

template<class Buffer >
void _WriteTextImpl (Buffer &out) const
 
- 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 Attributes

static const NodeType nodeType = Sdf_PathNode::TargetNode
 
- 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

- 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)
 

Detailed Description

Definition at line 433 of file pathNode.h.

Member Typedef Documentation

Definition at line 435 of file pathNode.h.

Member Function Documentation

template<class Buffer >
void Sdf_TargetPathNode::_WriteTextImpl ( Buffer &  out) const

Friends And Related Function Documentation

friend class Sdf_PathNode
friend

Definition at line 451 of file pathNode.h.

template<int nodeType, class Comp >
friend struct Sdf_PathNodeCompare
friend

Definition at line 453 of file pathNode.h.

friend struct Sdf_PathNodePrivateAccess
friend

Definition at line 452 of file pathNode.h.

Member Data Documentation

const NodeType Sdf_TargetPathNode::nodeType = Sdf_PathNode::TargetNode
static

Definition at line 436 of file pathNode.h.


The documentation for this class was generated from the following file: