PcpLayerStackIdentifier Class Reference

Arguments used to identify a layer stack. More...

Inherits totally_ordered< PcpLayerStackIdentifier >.

Public Types

typedef PcpLayerStackIdentifier This
 

Public Member Functions

PCP_API PcpLayerStackIdentifier ()
 Construct with all empty pointers. More...
 
PCP_API PcpLayerStackIdentifier (const SdfLayerHandle &rootLayer_, const SdfLayerHandle &sessionLayer_=TfNullPtr, const ArResolverContext &pathResolverContext_=ArResolverContext())
 Construct with given pointers. More...
 
PCP_API PcpLayerStackIdentifieroperator= (const PcpLayerStackIdentifier &)
 
PCP_API operator UnspecifiedBoolType () const
 
PCP_API bool operator== (const This &rhs) const
 
PCP_API bool operator< (const This &rhs) const
 
size_t GetHash () const
 

Public Attributes

const SdfLayerHandle rootLayer
 The root layer. More...
 
const SdfLayerHandle sessionLayer
 The session layer (optional). More...
 
const ArResolverContext pathResolverContext
 The path resolver context used for resolving asset paths. (optional) More...
 

Detailed Description

Arguments used to identify a layer stack.

Objects of this type are immutable.

Definition at line 48 of file layerStackIdentifier.h.

Constructor & Destructor Documentation

◆ PcpLayerStackIdentifier() [1/2]

Construct with all empty pointers.

◆ PcpLayerStackIdentifier() [2/2]

PCP_API PcpLayerStackIdentifier ( const SdfLayerHandle &  rootLayer_,
const SdfLayerHandle &  sessionLayer_ = TfNullPtr,
const ArResolverContext pathResolverContext_ = ArResolverContext() 
)

Construct with given pointers.

If all arguments are TfNullPtr then the result is identical to the default constructed object.

Member Data Documentation

◆ pathResolverContext

const ArResolverContext pathResolverContext

The path resolver context used for resolving asset paths. (optional)

Definition at line 103 of file layerStackIdentifier.h.

◆ rootLayer

const SdfLayerHandle rootLayer

The root layer.

Definition at line 97 of file layerStackIdentifier.h.

◆ sessionLayer

const SdfLayerHandle sessionLayer

The session layer (optional).

Definition at line 100 of file layerStackIdentifier.h.


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