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

#include <HUSD_DataHandle.h>

Public Member Functions

 HUSD_DataHandle (HUSD_MirroringType mirroring=HUSD_NOT_FOR_MIRRORING)
 
 HUSD_DataHandle (const HUSD_DataHandle &src)
 
 ~HUSD_DataHandle ()
 
void reset (int nodeid)
 
const HUSD_DataHandleoperator= (const HUSD_DataHandle &src)
 
void createNewData (const HUSD_LoadMasksPtr &load_masks=HUSD_LoadMasksPtr(), const HUSD_DataHandle *resolver_context_data=nullptr)
 
bool createSoftCopy (const HUSD_DataHandle &src, const HUSD_LoadMasksPtr &load_masks, bool make_new_implicit_layer)
 
bool createCopyWithReplacement (const HUSD_DataHandle &src, const UT_StringRef &frompath, const UT_StringRef &topath, HUSD_MakeNewPathFunc make_new_path, UT_StringSet &replaced_layers)
 
bool flattenLayers ()
 
bool flattenStage ()
 
bool mirror (const HUSD_DataHandle &src, const HUSD_LoadMasks &load_masks)
 
bool hasLayerColorIndex (int &clridx) const
 
int layerCount () const
 
int nodeId () const
 
HUSD_LoadMasksPtr loadMasks () const
 
const std::stringrootLayerIdentifier () const
 
PXR_NS::XUSD_ConstDataPtr readLock (const HUSD_ConstOverridesPtr &overrides, bool remove_layer_break) const
 
PXR_NS::XUSD_DataPtr writeOverridesLock (const HUSD_OverridesPtr &overrides) const
 
PXR_NS::XUSD_DataPtr writeLock () const
 
PXR_NS::XUSD_LayerPtr layerLock (PXR_NS::XUSD_DataPtr &data) const
 
void release () const
 

Friends

class HUSD_AutoReadLock
 

Detailed Description

Definition at line 79 of file HUSD_DataHandle.h.

Constructor & Destructor Documentation

HUSD_DataHandle::HUSD_DataHandle ( HUSD_MirroringType  mirroring = HUSD_NOT_FOR_MIRRORING)
HUSD_DataHandle::HUSD_DataHandle ( const HUSD_DataHandle src)
HUSD_DataHandle::~HUSD_DataHandle ( )

Member Function Documentation

bool HUSD_DataHandle::createCopyWithReplacement ( const HUSD_DataHandle src,
const UT_StringRef frompath,
const UT_StringRef topath,
HUSD_MakeNewPathFunc  make_new_path,
UT_StringSet replaced_layers 
)
void HUSD_DataHandle::createNewData ( const HUSD_LoadMasksPtr load_masks = HUSD_LoadMasksPtr(),
const HUSD_DataHandle resolver_context_data = nullptr 
)
bool HUSD_DataHandle::createSoftCopy ( const HUSD_DataHandle src,
const HUSD_LoadMasksPtr load_masks,
bool  make_new_implicit_layer 
)
bool HUSD_DataHandle::flattenLayers ( )
bool HUSD_DataHandle::flattenStage ( )
bool HUSD_DataHandle::hasLayerColorIndex ( int clridx) const
int HUSD_DataHandle::layerCount ( ) const
PXR_NS::XUSD_LayerPtr HUSD_DataHandle::layerLock ( PXR_NS::XUSD_DataPtr data) const
HUSD_LoadMasksPtr HUSD_DataHandle::loadMasks ( ) const
bool HUSD_DataHandle::mirror ( const HUSD_DataHandle src,
const HUSD_LoadMasks load_masks 
)
int HUSD_DataHandle::nodeId ( ) const
inline

Definition at line 110 of file HUSD_DataHandle.h.

const HUSD_DataHandle& HUSD_DataHandle::operator= ( const HUSD_DataHandle src)
PXR_NS::XUSD_ConstDataPtr HUSD_DataHandle::readLock ( const HUSD_ConstOverridesPtr overrides,
bool  remove_layer_break 
) const
void HUSD_DataHandle::release ( ) const
void HUSD_DataHandle::reset ( int  nodeid)
const std::string& HUSD_DataHandle::rootLayerIdentifier ( ) const
PXR_NS::XUSD_DataPtr HUSD_DataHandle::writeLock ( ) const
PXR_NS::XUSD_DataPtr HUSD_DataHandle::writeOverridesLock ( const HUSD_OverridesPtr overrides) const

Friends And Related Function Documentation

friend class HUSD_AutoReadLock
friend

Definition at line 127 of file HUSD_DataHandle.h.


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