siteUtils.h File Reference

Convenience API for working with SdfSite. More...

+ Include dependency graph for siteUtils.h:

Go to the source code of this file.

Functions

SdfSpecHandle SdfGetObjectAtPath (const SdfSite &site)
 
SdfPrimSpecHandle SdfGetPrimAtPath (const SdfSite &site)
 
SdfPropertySpecHandle SdfGetPropertyAtPath (const SdfSite &site)
 
bool SdfHasField (const SdfSite &site, const TfToken &field)
 
template<class T >
bool SdfHasField (const SdfSite &site, const TfToken &field, T *value)
 
const VtValue SdfGetField (const SdfSite &site, const TfToken &field)
 
template<class T >
SdfGetFieldAs (const SdfSite &site, const TfToken &field, const T &defaultValue=T())
 

Detailed Description

Convenience API for working with SdfSite.

These functions simply forward to the indicated functions on SdfLayer.

Definition in file siteUtils.h.