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

#include <mapContainerDataSource.h>

+ Inheritance diagram for HdMapContainerDataSource:

Public Types

using ValueFunction = std::function< HdDataSourceBaseHandle(const HdDataSourceBaseHandle &)>
 

Public Member Functions

 HD_DECLARE_DATASOURCE (HdMapContainerDataSource)
 
HD_API ~HdMapContainerDataSource () override
 
HD_API TfTokenVector GetNames () override
 
HD_API HdDataSourceBaseHandle Get (const TfToken &name) override
 
- Public Member Functions inherited from HdContainerDataSource
 HD_DECLARE_DATASOURCE_ABSTRACT (HdContainerDataSource)
 
- Public Member Functions inherited from HdDataSourceBase
virtual HD_API ~HdDataSourceBase ()=0
 

Additional Inherited Members

- Static Public Member Functions inherited from HdContainerDataSource
static HD_API
HdDataSourceBaseHandle 
Get (const Handle &container, const HdDataSourceLocator &locator)
 

Detailed Description

Applies function to all data sources in a container data source (non-recursively).

Definition at line 35 of file mapContainerDataSource.h.

Member Typedef Documentation

using HdMapContainerDataSource::ValueFunction = std::function<HdDataSourceBaseHandle(const HdDataSourceBaseHandle &)>

Definition at line 41 of file mapContainerDataSource.h.

Constructor & Destructor Documentation

HD_API HdMapContainerDataSource::~HdMapContainerDataSource ( )
override

Member Function Documentation

HD_API HdDataSourceBaseHandle HdMapContainerDataSource::Get ( const TfToken name)
overridevirtual

Returns the child datasource of the given name. This call is expected to be threadsafe.

Implements HdContainerDataSource.

HD_API TfTokenVector HdMapContainerDataSource::GetNames ( )
overridevirtual

Returns the list of names for which Get(...) is expected to return a non-null value. This call is expected to be threadsafe.

Implements HdContainerDataSource.

HdMapContainerDataSource::HD_DECLARE_DATASOURCE ( HdMapContainerDataSource  )

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