Loading...
Searching...
No Matches
HdTypedContainerSchema< T > Class Template Reference

Template class for a schema backed by a container whose children have arbitrary names but an expected data source type. More...

#include <containerSchema.h>

+ Inheritance diagram for HdTypedContainerSchema< T >:

Public Member Functions

 HdTypedContainerSchema (HdContainerDataSourceHandle container)
 
T::Handle Get (const TfToken &name)
 
- Public Member Functions inherited from HdContainerSchema
 HdContainerSchema (HdContainerDataSourceHandle container)
 
HD_API TfTokenVector GetNames () const
 
- Public Member Functions inherited from HdSchema
 HdSchema (HdContainerDataSourceHandle container)
 
HD_API HdContainerDataSourceHandle GetContainer () const
 Returns the container data source that this schema is interpreting.
 
HD_API bool IsDefined () const
 
 operator bool () const
 Returns true if this schema is applied on top of a non-null container.
 

Additional Inherited Members

- Public Types inherited from HdSchema
using UnderlyingDataSource = HdContainerDataSource
 
- Static Public Member Functions inherited from HdContainerSchema
static HD_API HdContainerDataSourceHandle BuildRetained (size_t count, const TfToken *names, const HdDataSourceBaseHandle *values)
 
- Protected Member Functions inherited from HdSchema
template<typename T >
T::Handle _GetTypedDataSource (TfToken name) const
 Returns a datasource of the requested type for the given name: schema implementations can use this to ask for child containers, sampled values, vectors, etc.
 
- Protected Attributes inherited from HdSchema
HdContainerDataSourceHandle _container
 

Detailed Description

template<typename T>
class HdTypedContainerSchema< T >

Template class for a schema backed by a container whose children have arbitrary names but an expected data source type.

Definition at line 58 of file containerSchema.h.

Constructor & Destructor Documentation

◆ HdTypedContainerSchema()

HdTypedContainerSchema ( HdContainerDataSourceHandle  container)
inline

Definition at line 62 of file containerSchema.h.

Member Function Documentation

◆ Get()

T::Handle Get ( const TfToken name)
inline

Definition at line 66 of file containerSchema.h.


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