24 #ifndef PXR_IMAGING_HD_CONTAINER_DATA_SOURCE_EDITOR_H
25 #define PXR_IMAGING_HD_CONTAINER_DATA_SOURCE_EDITOR_H
40 HdContainerDataSourceHandle initialContainer)
41 : _initialContainer(initialContainer) {}
48 const HdDataSourceBaseHandle &dataSource);
56 const HdContainerDataSourceHandle &containerDataSource);
60 HdContainerDataSourceHandle
Finish();
63 HdContainerDataSourceHandle _FinishWithNoInitialContainer();
66 using _NodeSharedPtr = std::shared_ptr<_Node>;
70 HdDataSourceBaseHandle dataSource;
71 _NodeSharedPtr childNode;
82 HdContainerDataSourceHandle _initialContainer;
96 _NodeContainerDataSource(_NodeSharedPtr node);
102 _NodeSharedPtr _node;
HdContainerDataSourceEditor()
HdContainerDataSourceEditor(HdContainerDataSourceHandle initialContainer)
HD_API HdContainerDataSourceEditor & Overlay(const HdDataSourceLocator &locator, const HdContainerDataSourceHandle &containerDataSource)
Functor to use for hash maps from tokens to other things.
HD_API HdContainerDataSourceEditor & Set(const HdDataSourceLocator &locator, const HdDataSourceBaseHandle &dataSource)
#define HD_DECLARE_DATASOURCE(type)
std::vector< TfToken > TfTokenVector
Convenience types.
GLuint const GLchar * name
static HD_API HdDataSourceBaseHandle Get(const Handle &container, const HdDataSourceLocator &locator)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdContainerDataSourceHandle Finish()