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

#include <layerStackIdentifier.h>

+ Inheritance diagram for PcpLayerStackIdentifierStr:

Classes

struct  Hash
 

Public Types

typedef PcpLayerStackIdentifierStr This
 
typedef const size_t This::* UnspecifiedBoolType
 

Public Member Functions

PCP_API PcpLayerStackIdentifierStr (std::string const &rootLayerId=std::string(), std::string const &sessionLayerId=std::string(), ArResolverContext const &resolverContext=ArResolverContext())
 
PCP_API PcpLayerStackIdentifierStr (PcpLayerStackIdentifier const &lsid)
 Allow implicit conversion from PcpLayerStackIdentifier. More...
 
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

std::string rootLayerId
 The root layer. More...
 
std::string sessionLayerId
 The session layer (optional). More...
 
ArResolverContext pathResolverContext
 The path resolver context used for resolving asset paths. (optional) More...
 

Detailed Description

A "string"-based version of PcpLayerStackIdentifier. These are used in places where they should be stable wrt layer lifetimes. This is done by storing layer identifiers as strings rather than SdfLayerHandles.

Definition at line 119 of file layerStackIdentifier.h.

Member Typedef Documentation

Definition at line 139 of file layerStackIdentifier.h.

Constructor & Destructor Documentation

PCP_API PcpLayerStackIdentifierStr::PcpLayerStackIdentifierStr ( std::string const rootLayerId = std::string(),
std::string const sessionLayerId = std::string(),
ArResolverContext const resolverContext = ArResolverContext() 
)
explicit

Construct with given identifier strings and context. If all arguments are empty strings and default-constructed ArResolverContext, then the result is identical to the default constructed object.

PCP_API PcpLayerStackIdentifierStr::PcpLayerStackIdentifierStr ( PcpLayerStackIdentifier const lsid)

Allow implicit conversion from PcpLayerStackIdentifier.

Member Function Documentation

size_t PcpLayerStackIdentifierStr::GetHash ( ) const
inline

Definition at line 157 of file layerStackIdentifier.h.

PCP_API PcpLayerStackIdentifierStr::operator UnspecifiedBoolType ( ) const
PCP_API bool PcpLayerStackIdentifierStr::operator< ( const This rhs) const
PCP_API bool PcpLayerStackIdentifierStr::operator== ( const This rhs) const

Member Data Documentation

ArResolverContext PcpLayerStackIdentifierStr::pathResolverContext

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

Definition at line 170 of file layerStackIdentifier.h.

std::string PcpLayerStackIdentifierStr::rootLayerId

The root layer.

Definition at line 164 of file layerStackIdentifier.h.

std::string PcpLayerStackIdentifierStr::sessionLayerId

The session layer (optional).

Definition at line 167 of file layerStackIdentifier.h.


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