24 #ifndef PXR_USD_PCP_LAYER_STACK_IDENTIFIER_H 25 #define PXR_USD_PCP_LAYER_STACK_IDENTIFIER_H 30 #include "pxr/usd/pcp/api.h" 34 #include <boost/operators.hpp> 38 PXR_NAMESPACE_OPEN_SCOPE
49 boost::totally_ordered<PcpLayerStackIdentifier> {
61 const SdfLayerHandle& sessionLayer_ = TfNullPtr,
72 typedef const size_t This::*UnspecifiedBoolType;
75 operator UnspecifiedBoolType()
const;
79 bool operator==(
const This &rhs)
const;
81 bool operator<(
const This &rhs)
const;
85 size_t operator()(
const This & x)
const 90 size_t GetHash()
const 106 size_t _ComputeHash()
const;
120 boost::totally_ordered<PcpLayerStackIdentifierStr> {
138 #if !defined(doxygen) 139 typedef const size_t This::*UnspecifiedBoolType;
142 operator UnspecifiedBoolType()
const;
146 bool operator==(
const This &rhs)
const;
148 bool operator<(
const This &rhs)
const;
152 size_t operator()(
const This & x)
const 157 size_t GetHash()
const 173 size_t _ComputeHash()
const;
218 PXR_NAMESPACE_CLOSE_SCOPE
220 #endif // PXR_USD_PCP_LAYER_STACK_IDENTIFIER_H A scene description container that can combine with other such containers to form simple component as...
PCP_API PcpLayerStackIdentifierStr(std::string const &rootLayerId=std::string(), std::string const &sessionLayerId=std::string(), ArResolverContext const &resolverContext=ArResolverContext())
Construct with given identifier strings and context.
const ArResolverContext pathResolverContext
The path resolver context used for resolving asset paths. (optional)
std::string rootLayerId
The root layer.
ArResolverContext pathResolverContext
The path resolver context used for resolving asset paths. (optional)
PCP_API std::ostream & PcpIdentifierFormatRealPath(std::ostream &)
Manipulator to cause the next PcpLayerStackIdentifier or PcpLayerStackIdentifierStr written to the os...
std::string sessionLayerId
The session layer (optional).
const SdfLayerHandle sessionLayer
The session layer (optional).
PCP_API std::ostream & PcpIdentifierFormatIdentifier(std::ostream &)
Manipulator to cause the next PcpLayerStackIdentifier or PcpLayerStackIdentifierStr written to the os...
A "string"-based version of PcpLayerStackIdentifier.
GF_API std::ostream & operator<<(std::ostream &, const GfBBox3d &)
Output a GfBBox3d using the format [(range) matrix zeroArea].
std::enable_if< std::is_same< Half, half >::value, size_t >::type hash_value(const Half &h)
Overload hash_value for half.
PCP_API PcpLayerStackIdentifier()
Construct with all empty pointers.
PCP_API std::ostream & PcpIdentifierFormatBaseName(std::ostream &)
Manipulator to cause the next PcpLayerStackIdentifier or PcpLayerStackIdentifierStr written to the os...
An asset resolver context allows clients to provide additional data to the resolver for use during re...
const SdfLayerHandle rootLayer
The root layer.
Arguments used to identify a layer stack.