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

A PcpInstanceKey identifies instanceable prim indexes that share the same set of opinions. More...

Classes

struct  Hash
 Hash functor. More...
 

Public Member Functions

PCP_API PcpInstanceKey (const PcpPrimIndex &primIndex)
 Create an instance key for the given prim index. More...
 
PCP_API bool operator== (const PcpInstanceKey &rhs) const
 Comparison operators. More...
 
PCP_API bool operator!= (const PcpInstanceKey &rhs) const
 
PCP_API std::string GetString () const
 Returns string representation of this instance key for debugging purposes. More...
 

Friends

size_t hash_value (const PcpInstanceKey &key)
 Returns hash value for this instance key. More...
 

Detailed Description

A PcpInstanceKey identifies instanceable prim indexes that share the same set of opinions.

Instanceable prim indexes with equal instance keys are guaranteed to have the same opinions for name children and properties beneath those name children. They are NOT guaranteed to have the same opinions for direct properties of the prim indexes themselves.

Definition at line 54 of file instanceKey.h.

Constructor & Destructor Documentation

PCP_API PcpInstanceKey ( const PcpPrimIndex primIndex)
explicit

Create an instance key for the given prim index.

Member Function Documentation

PCP_API std::string GetString ( ) const

Returns string representation of this instance key for debugging purposes.

PCP_API bool operator== ( const PcpInstanceKey rhs) const

Comparison operators.

Friends And Related Function Documentation

size_t hash_value ( const PcpInstanceKey key)
friend

Returns hash value for this instance key.

Definition at line 71 of file instanceKey.h.


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