HDK
|
#include <pathNode.h>
Classes | |
struct | _EqualElement |
struct | LessThan |
Public Types | |
enum | NodeType : uint8_t { RootNode, PrimNode, PrimVariantSelectionNode, PrimPropertyNode, TargetNode, MapperNode, RelationalAttributeNode, MapperArgNode, ExpressionNode, NumNodeTypes } |
typedef std::pair< TfToken, TfToken > | VariantSelectionType |
Public Member Functions | |
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 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 |
Protected Member Functions | |
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 | |
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) |
Friends | |
struct | Sdf_PathNodePrivateAccess |
void | TfDelegatedCountIncrement (const Sdf_PathNode *) noexcept |
void | TfDelegatedCountDecrement (const Sdf_PathNode *) noexcept |
Definition at line 41 of file pathNode.h.
typedef std::pair<TfToken, TfToken> Sdf_PathNode::VariantSelectionType |
Definition at line 191 of file pathNode.h.
enum Sdf_PathNode::NodeType : uint8_t |
Enumerator | |
---|---|
RootNode | |
PrimNode | |
PrimVariantSelectionNode | |
PrimPropertyNode | |
TargetNode | |
MapperNode | |
RelationalAttributeNode | |
MapperArgNode | |
ExpressionNode | |
NumNodeTypes |
Internal sentinel value. |
Definition at line 56 of file pathNode.h.
|
inlineprotected |
Definition at line 229 of file pathNode.h.
|
explicitprotected |
|
inlineprotected |
Definition at line 242 of file pathNode.h.
|
staticprotected |
|
inlineprotected |
Definition at line 652 of file pathNode.h.
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
inline |
Definition at line 601 of file pathNode.h.
|
inline |
Definition at line 177 of file pathNode.h.
|
inline |
Definition at line 167 of file pathNode.h.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
Definition at line 224 of file pathNode.h.
|
static |
|
inline |
Definition at line 726 of file pathNode.h.
|
inline |
Definition at line 164 of file pathNode.h.
|
inline |
Definition at line 680 of file pathNode.h.
|
inline |
Definition at line 154 of file pathNode.h.
|
inline |
Definition at line 162 of file pathNode.h.
|
static |
|
static |
|
static |
|
inline |
Definition at line 704 of file pathNode.h.
|
inline |
Definition at line 717 of file pathNode.h.
|
inline |
Definition at line 165 of file pathNode.h.
|
inline |
Definition at line 166 of file pathNode.h.
|
inline |
Definition at line 170 of file pathNode.h.
|
static |
|
friend |
Definition at line 281 of file pathNode.h.
|
friend |
|
friend |
|
static |
Definition at line 47 of file pathNode.h.
|
static |
Definition at line 48 of file pathNode.h.
|
static |
Definition at line 50 of file pathNode.h.
|
static |
Definition at line 46 of file pathNode.h.
|
static |
Definition at line 51 of file pathNode.h.