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

#include <pathNode.h>

+ Inheritance diagram for Sdf_RootPathNode:

Public Types

typedef bool 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 Member Functions

static SDF_API Sdf_PathNode constNew (bool isAbsolute)
 
- 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 constGetAbsoluteRootNode ()
 
static Sdf_PathNode constGetRelativeRootNode ()
 
static std::pair< Sdf_PathNode
const *, Sdf_PathNode const * > 
RemoveCommonSuffix (Sdf_PathNode const *a, Sdf_PathNode const *b, bool stopAtRootPrim)
 
static SDF_API const TfTokenGetPathToken (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart)
 
static SDF_API TfToken GetPathAsToken (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart)
 
static char constGetDebugText (Sdf_PathNode const *primPart, Sdf_PathNode const *propPart)
 

Static Public Attributes

static const NodeType nodeType = Sdf_PathNode::RootNode
 
- 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
 
template<int nodeType, class Comp >
struct Sdf_PathNodeCompare
 

Additional Inherited Members

- Public Member Functions inherited from Sdf_PrimPartPathNode
SDF_API void operator delete (void *p)
 
- Public Member Functions inherited from Sdf_PathNode
NodeType GetNodeType () const
 
Sdf_PathNode constGetParentNode () const
 
size_t GetElementCount () const
 
bool IsAbsolutePath () const
 
bool IsAbsoluteRoot () const
 
bool ContainsTargetPath () const
 
bool IsNamespaced () const
 
bool ContainsPrimVariantSelection () const
 
const TfTokenGetName () const
 
const SdfPathGetTargetPath () const
 
const VariantSelectionTypeGetVariantSelection () const
 
TfToken GetElement () const
 
template<class Less >
bool Compare (const Sdf_PathNode &rhs) const
 
uint32_t GetCurrentRefCount () const
 
- 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 354 of file pathNode.h.

Member Typedef Documentation

Definition at line 356 of file pathNode.h.

Member Function Documentation

static SDF_API Sdf_PathNode const* Sdf_RootPathNode::New ( bool  isAbsolute)
static

Friends And Related Function Documentation

friend class Sdf_PathNode
friend

Definition at line 371 of file pathNode.h.

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

Definition at line 372 of file pathNode.h.

Member Data Documentation

const NodeType Sdf_RootPathNode::nodeType = Sdf_PathNode::RootNode
static

Definition at line 357 of file pathNode.h.


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